From a5130ba92671fb55ddd31f9e020ec880a4909309 Mon Sep 17 00:00:00 2001
From: fred
Date: Thu, 16 Mar 2023 16:17:21 +0100
Subject: [PATCH] =?UTF-8?q?QRG1avatar.png=20appears=20in=20PLAYER=20=C5=8A?=
=?UTF-8?q?1Flux?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
API/QRCODE.sh | 2 ++
ASTROBOT/VOEUX.refresh.sh | 5 +++++
templates/register.html | 4 ++--
www/PasseportTerre/index.html | 16 +++++++++++-----
4 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/API/QRCODE.sh b/API/QRCODE.sh
index 806886ea..014b99d7 100755
--- a/API/QRCODE.sh
+++ b/API/QRCODE.sh
@@ -67,6 +67,8 @@ if [[ ${QRCODE:0:2} == "G1" && ${AND} == "tw" ]]; then
APPNAME="G1Voeu"
VOEU=${QRCODE}
ASTROPATH=$(grep ${THIS} ~/.zen/game/players/*/.playerns | cut -d ':' -f 1 | rev | cut -d '/' -f 2- | rev 2>/dev/null)
+ echo $ASTROPATH
+
## REDIRECT TO G1VOEU IPNS ADDRESS
LINK=$(cat $ASTROPATH/voeux/${QRCODE:2}/*/.link)
echo "#>>> DISPLAY WISHNS >>>> # $VOEU : $LINK"
diff --git a/ASTROBOT/VOEUX.refresh.sh b/ASTROBOT/VOEUX.refresh.sh
index f927abe6..8000a2c7 100755
--- a/ASTROBOT/VOEUX.refresh.sh
+++ b/ASTROBOT/VOEUX.refresh.sh
@@ -141,6 +141,10 @@ do
echo
# echo "DEBUG : s~_LIBRA_~$(myIpfsGw)~g s~_G1VOEU_~${WISHNAME}~g s~_PLAYER_~${PLAYER}~g s~_VOEUNS_~${VOEUNS}~g s~_ASTRONAUTENS_~${ASTRONAUTENS}~g"
echo
+ [[ ! -s ~/.zen/game/players/${PLAYER}/QRG1avatar.dir.ipfs ]] \
+ && ipfs add -qrw ~/.zen/game/players/${PLAYER}/QRG1avatar.png | tail -n 1> ~/.zen/game/players/${PLAYER}/QRG1avatar.dir.ipfs
+ QRLINK=$(cat ~/.zen/game/players/${PLAYER}/QRG1avatar.dir.ipfs)
+
##################################
cat $MY_PATH/../www/PasseportTerre/index.html \
| sed -e "s~_LIBRA_~$(myIpfsGw)~g" \
@@ -148,6 +152,7 @@ do
-e "s~_PLAYER_~${PLAYER}~g" \
-e "s~_VOEUNS_~${VOEUNS}~g" \
-e "s~_ASTRONAUTENS_~${ASTRONAUTENS}~g" \
+ -e "s~QmWUpjGFuF7NhpXgkrCmx8Tbu4xjcFpKhE7Bsvt6HeKYxu/g1ticket_qrcode.png~${QRLINK}/QRG1avatar.png~g" \
> ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${WISHNAME}/index.html
### PREPARE WISHNAME index.html
##################################
diff --git a/templates/register.html b/templates/register.html
index cac25a6d..e2772dae 100644
--- a/templates/register.html
+++ b/templates/register.html
@@ -48,11 +48,11 @@ header {
Open Station
LOGIN LOGOUT
-
+
diff --git a/www/PasseportTerre/index.html b/www/PasseportTerre/index.html
index e23becfb..b2e45cc8 100644
--- a/www/PasseportTerre/index.html
+++ b/www/PasseportTerre/index.html
@@ -2,7 +2,7 @@
- _PLAYER_ : _G1VOEU_ ASTROPORT PORTAL : http://astroport.localhost:1234
+ _PLAYER_ : _G1VOEU_ : http://astroport.localhost:1234
@@ -185,10 +185,16 @@
_PLAYER_
-Prenez le contrôle de votre identité en ligne en créant un TW, registre décentralisé de vos références.
-En y diffusant vos "informations favorites", cela valide votre identité en ligne et augmente votre réputation,
-ainsi vous pouvez accéder aux personnes les plus dignes de confiance et maximisez votre capacité à bénéficier de la Monnaie Libre.
-Plus vous vérifiez votre identité, plus vous aurez d'opportunités de voter et de participer sur Astroport Ŋ1.
+Ŋ1Flux de ma clef _G1VOEU_ et portails vers le même Voeu de mes amis >★.
+Le réseau ♥BOX actualise ces données à la tombée de chaque jour.
+
+Chaque synchronisation exécute le code de même nom que le voeu et lui transfert 1 G1.
+
+TODO:
++ display video with overlay link to grab Tid into my TW.
++ planet map with poster (or gifanime)
++ locations = real friendŊ1flux
+