From 65bfc83050f276ee21d58fca3e893cb1cb1933ef Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 24 Feb 2023 00:00:49 +0100 Subject: [PATCH] QRCODE PortalApp [![](http://ipfs.localhost:8080/ipfs/QmafsWdAeB5W9HcNPQWK2yjTgcW8eTxHoSD7bzE55mtrdP) --- API/QRCODE.sh | 7 +++++-- README.md | 4 +++- tools/make_image_ipfs_index_carousel.sh | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/API/QRCODE.sh b/API/QRCODE.sh index f57b02c5..8ead58be 100755 --- a/API/QRCODE.sh +++ b/API/QRCODE.sh @@ -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 diff --git a/README.md b/README.md index 33bbd3c9..14ef7469 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/tools/make_image_ipfs_index_carousel.sh b/tools/make_image_ipfs_index_carousel.sh index 2cc54603..6c3f05f5 100755 --- a/tools/make_image_ipfs_index_carousel.sh +++ b/tools/make_image_ipfs_index_carousel.sh @@ -119,7 +119,7 @@ echo " " >> $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