From 35b3dbd8fd24499e67d1c22181ab2a44210091e1 Mon Sep 17 00:00:00 2001 From: qo-op Date: Tue, 8 Dec 2020 21:34:13 +0100 Subject: [PATCH] Using CESIUMPLUS=https://g1.data.le-sou.org --- zen/gchange_INIT.sh | 14 +++++++------- zen/jaklis/.env | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/zen/gchange_INIT.sh b/zen/gchange_INIT.sh index 3eb9509..24058aa 100755 --- a/zen/gchange_INIT.sh +++ b/zen/gchange_INIT.sh @@ -41,11 +41,11 @@ cat ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr ################################ # ADD Cesium+ informations -GCHANGE="https://data.gchange.fr" +CESIUMPLUS="https://g1.data.le-sou.org" # PREPARE title # Made from Gchange+ profile tittle and city OR user@hostname -title=$(curl -s ${GCHANGE}/user/profile/${G1PUB} | jq -r '._source.title') +title=$(curl -s ${CESIUMPLUS}/user/profile/${G1PUB} | jq -r '._source.title') [[ -f ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_uidna ]] && uidna=$(cat ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_uidna) # Put in .$IPFSNODEID INDEX: _g1.uidna & _g1.cesium_name (used by Minetest flavour and others) @@ -55,17 +55,17 @@ title=$(curl -s ${GCHANGE}/user/profile/${G1PUB} | jq -r '._source.title') [[ $uidna ]] && [[ "$title" == "null" ]] && title="Station $uidna" [[ "$title" == "null" ]] && title="Station $USER@$(cat /etc/hostname)" -city=$(curl -s ${GCHANGE}/user/profile/${G1PUB} | jq -r '._source.city') +city=$(curl -s ${CESIUMPLUS}/user/profile/${G1PUB} | jq -r '._source.city') [[ "$city" != "null" ]] && title="$title in $city" # ADD "cesium_geoPoint.lat" AND "cesium_geoPoint.lon" messages in SSB feed # This way any SSB account is connected to its Cesium+ Geolocalisation. -geopointlat=$(curl -s ${GCHANGE}/user/profile/${G1PUB} | jq '._source.geoPoint.lat') -geopointlon=$(curl -s ${GCHANGE}/user/profile/${G1PUB} | jq '._source.geoPoint.lon') +geopointlat=$(curl -s ${CESIUMPLUS}/user/profile/${G1PUB} | jq '._source.geoPoint.lat') +geopointlon=$(curl -s ${CESIUMPLUS}/user/profile/${G1PUB} | jq '._source.geoPoint.lon') # REFRESH Cesium+ Avatar image -curl -s ${GCHANGE}/user/profile/${G1PUB} | jq -r '._source.avatar._content' | base64 -d > "/tmp/_gchange.avatar.png" +curl -s ${CESIUMPLUS}/user/profile/${G1PUB} | jq -r '._source.avatar._content' | base64 -d > "/tmp/_gchange.avatar.png" # Get nodename [[ -f /home/$YOU/.zen/ipfs/.$IPFSNODEID/G1SSB/_nodename ]] && nodename=$(cat /home/$YOU/.zen/ipfs/.$IPFSNODEID/G1SSB/_nodename) @@ -100,7 +100,7 @@ IWALLETS=$(ipfs add -rHq ~/.zen/ipfs | tail -n 1) NODEIPNS=$(ipfs name publish --allow-offline --quieter /ipfs/$IWALLETS) ### -# GET ALL MY GCHANGE FRIENDS AND SEND THEM my IPFS Address +# GET ALL MY CESIUMPLUS FRIENDS AND SEND THEM my IPFS Address cd ~/.zen/astroport/zen/jaklis # GET LIST of issuer(s) who likes me diff --git a/zen/jaklis/.env b/zen/jaklis/.env index 81d66f0..93e5abf 100644 --- a/zen/jaklis/.env +++ b/zen/jaklis/.env @@ -1,4 +1,4 @@ DUNIKEY="/.zen/secret.dunikey" # Chemin du fichier de trousseau Ḡ1 de l'émetteur, au format PubSec +#POD="https://data.gchange.fr" # Noeud Gchange utilisé pour l'envoi du message #POD="https://g1.data.duniter.fr" # Noeud Cecium+ utilisé pour l'envoi du message -#POD="https://g1.data.le-sou.org" # Adresse du pod Cesium de secours -POD="https://data.gchange.fr" # Noeud Gchange utilisé pour l'envoi du message +POD="https://g1.data.le-sou.org" # Adresse du pod Cesium de secours