fred 2023-02-24 00:00:49 +01:00
parent 1877115dcc
commit 65bfc83050
3 changed files with 9 additions and 4 deletions

View File

@ -42,17 +42,20 @@ if [[ ${QRCODE} == "station" ]]; then
exit 0
fi
## FILTRAGE NON G1 TO IPFS READY QRCODE
ASTRONAUTENS=$(~/.zen/Astroport.ONE/tools/g1_to_ipfs.py ${QRCODE})
[[ ! ${ASTRONAUTENS} ]] \
&& (echo "$HTTPCORS ERROR - ASTRONAUTENS !!" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) \
&& exit 1
## SEND MESSAGE TO CESIUM+ ACCOUNT
## SEND MESSAGE TO CESIUM+ ACCOUNT (ME or .current)
MYPLAYERKEY=$(grep ${QRCODE} ~/.zen/game/players/*/secret.dunikey | cut -d ':' -f 1)
[[ ! $MYPLAYERKEY ]] && MYPLAYERKEY="$HOME/.zen/game/players/.current/secret.dunikey"
## CCHANGE +
$MY_PATH/../tools/jaklis/jaklis.py -k $MYPLAYERKEY send -d "${QRCODE}" -t "CONTACT" -m "G1 ♥BOX : https://ipfs.copylaradio.com/ipns/$ASTRONAUTENS"
## CESIUM +
$MY_PATH/../tools/jaklis/jaklis.py -n https://g1.data.e-is.pro -k $MYPLAYERKEY send -d "${QRCODE}" -t "CONTACT" -m "G1 ♥BOX : https://ipfs.copylaradio.com/ipns/$ASTRONAUTENS"
#~ echo "ipfs --timeout 120s cat /ipns/$ASTRONAUTENS > ~/.zen/tmp/${MOATS}/index.html"
#~ ipfs --timeout 120s cat /ipns/$ASTRONAUTENS > ~/.zen/tmp/${MOATS}/index.html

View File

@ -243,13 +243,15 @@ Ils analysent les données et extraient des flux json selon les G1Voeu présent
Le niveau informationnel de confiance exploré permet de proposer des alertes issues du niveau Ŋ2.
## FLUX TW :
## EXEMPLE DE FLUX TW :
[![TW FEEDS](https://ipfs.copylaradio.com/ipfs/Qma9zvrYHGcUPisLKBcG9U9sktThX5VfVci8jfM8D9RspT)](https://pad.p2p.legal/s/G1TWFeed#)
# IPFS : UN STOCKAGE INALTERABLE ET INTELLIGENT
[![](http://ipfs.localhost:8080/ipfs/QmafsWdAeB5W9HcNPQWK2yjTgcW8eTxHoSD7bzE55mtrdP)
### "The Barefoot Architect" de Johan Van Lengen.
Lignes de commandes

View File

@ -119,7 +119,7 @@ echo " </div>
</html>" >> $html_file
htmlipfs=$(ipfs add -q $html_file)
[[ $XDG_SESSION_TYPE == 'x11' ]] && xdg-open /ipfs/$htmlipfs
[[ $XDG_SESSION_TYPE == 'x11' ]] && xdg-open http://ipfs.localhost:8080/ipfs/$htmlipfs
echo /ipfs/$htmlipfs
exit 0