diff --git a/RUNTIME/VISA.new.sh b/RUNTIME/VISA.new.sh index e02ac1c5..2a2392f0 100755 --- a/RUNTIME/VISA.new.sh +++ b/RUNTIME/VISA.new.sh @@ -21,9 +21,8 @@ PLAYER="$3" PSEUDO="$4" [[ $PSEUDO == "" ]] && PSEUDO="Anonymous" -## Fill UP TW with VIDEO URL or UMAP NS -URL="$5" -[[ $URL == "" ]] && URL="_URL_" +LANG="$5" +[[ $LANG == "" ]] && LANG="_LANG_" ## UPLANET UMAP LAT="$6" @@ -258,9 +257,6 @@ sed -i "s~${SRCPASS}~${HPASS}~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.ht ## RESET WISHES TO DEPLOY DERIVATED KEYS ON HOST AGAIN ( DONE IN PLAYER_REFRESH ) #~ sed -i "s~G1Voeu~voeu~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html -## Fill LNK - Tiddler - escape \& -sed -i "s~_URL_~$(echo "${URL}" | sed 's/[&/]/\\&/g')~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html - # INSERT PLAYER DATA sed -i "s~_PLAYER_~${PLAYER}~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html sed -i "s~_PSEUDO_~${PSEUDO}~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html @@ -310,7 +306,7 @@ cat ~/.zen/tmp/${MOATS}/GPS.json | jq '.[0] + {"sectortw": "_SECTORTW_"}' \ && mv ~/.zen/tmp/${MOATS}/GPStw.json ~/.zen/tmp/${MOATS}/GPS.json ########### -## GET OLD16 +## GET OLD16 FROM MadeInZion tiddlywiki \ --load ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html \ --output ~/.zen/tmp/${MOATS} \ @@ -332,7 +328,7 @@ if [[ "${MACHINEPUB}" != "" ]]; then sed -i "s~${OLD16}~${ENCODING}~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html echo "ENCODING: ${ENCODING}" - # IN CASE ORIGINAL STATION NEEDS ACCESS # COULD BE REMOVED ? + # GIVE ZEN STATION TW ACCESS # ########### #~ echo "# CRYPTO DECODING TESTING..." tiddlywiki \ @@ -532,11 +528,13 @@ echo "" ####tools##########################################getUMAP_ENV.sh $(${MY_PATH}/../tools/getUMAP_ENV.sh "${LAT}" "${LON}" | tail -n 1) ####################################################### EMAIL +[[ -s ${MY_PATH}/../templates/UPlanetZine/index.${LANG}.html ]] \\ + && ZINE="${MY_PATH}/../templates/UPlanetZine/index.${LANG}.html" \ + || ZINE="${MY_PATH}/../templates/UPlanetZine/index.html" ##UPlanetZine::QmZ8KS7a7dybt68SthW71s3joa4J1YpZvHP8J1yyX1Ldi2 - chained release - -cat ${MY_PATH}/../templates/UPlanetZine/index.html \ +cat ${ZINE} \ | sed -e "s~/ipfs/QmdmeZhD8ncBFptmD5VSJoszmu41edtT265Xq3HVh8PhZP~${ASTROQR}~g" \ -e "s~/ipfs/QmTL7VDgkYjpYC2qiiFCfah2pSqDMkTANMeMtjMndwXq9y~${IASTRO}~g" \ - -e "s~/ipfs/QmeegmN4shouhnzvnDYpbSEJtdRsyy39SpL9XqYVHgtN44~/ipfs/QmZ8KS7a7dybt68SthW71s3joa4J1YpZvHP8J1yyX1Ldi2~g" \ -e "s~_MOATS_~${MOATS}~g" \ -e "s~_G1PUB_~${G1PUB}~g" \ -e "s~_ASTRONAUTENS_~${ASTRONAUTENS}~g" \ @@ -549,49 +547,49 @@ cat ${MY_PATH}/../templates/UPlanetZine/index.html \ > ~/.zen/tmp/${MOATS}/UPlanetZine.html -$MY_PATH/../tools/mailjet.sh "${PLAYER}" ~/.zen/tmp/${MOATS}/UPlanetZine.fr.html "UPlanet Le Faire (ou pas)" +$MY_PATH/../tools/mailjet.sh "${PLAYER}" ~/.zen/tmp/${MOATS}/UPlanetZine.fr.html "UPlanet Zine" #####################################################################"_EARTHCID_ -echo " - - -
-

UPlanet

-

\"TW5\"

-did:/ipns/${ASTRONAUTENS} -
-
AstroID
-

-

SECRET1=\"$SALT\"
SECRET2=\"$PEPPER\"

-

CODE : $PASS

-
-ZenCard
-

-${G1PUB}" > ~/.zen/tmp/${MOATS}/AstroID.html +#~ echo " +#~ +#~ +#~
+#~

UPlanet

+#~

\"TW5\"

+#~ did:/ipns/${ASTRONAUTENS} +#~
+#~
AstroID
+#~

+#~

SECRET1=\"$SALT\"
SECRET2=\"$PEPPER\"

+#~

CODE : $PASS

+#~
+#~ ZenCard
+#~

+#~ ${G1PUB}" > ~/.zen/tmp/${MOATS}/AstroID.html -echo " -

/-> ASTROPORT : /ipns/${IPFSNODEID}

-

/--> SECTOR : ${SECTOR}

-" >> ~/.zen/tmp/${MOATS}/AstroID.html +#~ echo " +#~

/-> ASTROPORT : /ipns/${IPFSNODEID}

+#~

/--> SECTOR : ${SECTOR}

+#~ " >> ~/.zen/tmp/${MOATS}/AstroID.html -asciiart="${MY_PATH}/../images/logoastro.art" -while IFS= read -r line -do - echo "$line" | sed "s~ ~\ ~g" >> ~/.zen/tmp/${MOATS}/AstroID.html - echo "
" >> ~/.zen/tmp/${MOATS}/AstroID.html -done <"$asciiart" +#~ asciiart="${MY_PATH}/../images/logoastro.art" +#~ while IFS= read -r line +#~ do + #~ echo "$line" | sed "s~ ~\ ~g" >> ~/.zen/tmp/${MOATS}/AstroID.html + #~ echo "
" >> ~/.zen/tmp/${MOATS}/AstroID.html +#~ done <"$asciiart" -echo "
${MOATS}
- print a copy -
" >> ~/.zen/tmp/${MOATS}/AstroID.html +#~ echo "
${MOATS}
- print a copy -
" >> ~/.zen/tmp/${MOATS}/AstroID.html -$MY_PATH/../tools/mailjet.sh "${PLAYER}" ~/.zen/tmp/${MOATS}/AstroID.html "TW5 & AstroID" +#~ $MY_PATH/../tools/mailjet.sh "${PLAYER}" ~/.zen/tmp/${MOATS}/AstroID.html "TW5 & AstroID" #~ mpack -a -s "✅ UPlanet : AstroID ($PASS)" -d ~/.zen/tmp/${MOATS}/intro.txt \ #~ $HOME/.zen/game/players/${PLAYER}/AstroID.png ${PLAYER} diff --git a/templates/UPlanetZine/index.fr.html b/templates/UPlanetZine/index.fr.html index 805dc1ea..8aad588a 100644 --- a/templates/UPlanetZine/index.fr.html +++ b/templates/UPlanetZine/index.fr.html @@ -60,6 +60,7 @@ href='_EARTHCID_/map_render.html?southWestLat=_SLAT_&southWestLon=_SLON_°=0.1
+ Nous sommes ravis de vous présenter votre ZenCard, un symbole tangible d'autonomisation et de souveraineté financière dans notre cosmos décentralisé.
ZenCard +
-Nous sommes ravis de vous présenter votre ZenCard, un symbole tangible d'autonomisation et de souveraineté financière dans notre cosmos décentralisé. - Votre ZenCard est plus qu'un simple morceau de papier - c'est votre passerelle pour envoyer et recevoir du Zen, la monnaie universelle d'UPlanet. Avec votre ZenCard en main, vous avez le pouvoir d'effectuer des transactions, de soutenir les économies locales et de participer à l'écosystème dynamique de notre royaume décentralisé. En tant que portefeuille papier, votre ZenCard incarne les principes de sécurité et d'accessibilité. Elle vous permet de stocker vos Zen hors ligne, protégeant ainsi vos actifs des menaces numériques tout en garantissant un accès facile à chaque fois que vous en avez besoin. diff --git a/templates/UPlanetZine/index.html b/templates/UPlanetZine/index.html index 6aeb0f2a..92601241 100644 --- a/templates/UPlanetZine/index.html +++ b/templates/UPlanetZine/index.html @@ -61,6 +61,7 @@ href='_EARTHCID_/map_render.html?southWestLat=_SLAT_&southWestLon=_SLON_°=0.1
+ We are thrilled to unveil your ZenCard—a tangible symbol of empowerment and financial sovereignty in our decentralized cosmos.
ZenCard +
-We are thrilled to unveil your ZenCard—a tangible symbol of empowerment and financial sovereignty in our decentralized cosmos. - Your ZenCard is more than just a piece of paper—it is your gateway to send and receive Zen, the universal currency of UPlanet. With your ZenCard in hand, you have the power to engage in transactions, support local economies, and participate in the vibrant ecosystem of our decentralized realm. As a paper wallet, your ZenCard embodies the principles of security and accessibility. It allows you to store your Zen offline, protecting your assets from digital threats while ensuring easy access whenever you need them.