forked from STI/Astroport.ONE
Please take time to read why Ŋ1 Network (are/is) the best solution
This commit is contained in:
parent
cf1da7a9d5
commit
0756e6c5eb
|
@ -171,8 +171,11 @@ tiddlywiki --load $INDEX \
|
||||||
|
|
||||||
## FILTER MY OWN EMAIL
|
## FILTER MY OWN EMAIL
|
||||||
cat ~/.zen/game/players/${PLAYER}/G1CopierYoutube/${G1PUB}/today.${PLAYER}.tiddlers.json | jq -rc # LOG
|
cat ~/.zen/game/players/${PLAYER}/G1CopierYoutube/${G1PUB}/today.${PLAYER}.tiddlers.json | jq -rc # LOG
|
||||||
cat ~/.zen/game/players/${PLAYER}/G1CopierYoutube/${G1PUB}/today.${PLAYER}.tiddlers.json | sed "s~${PLAYER}~ ~g" | jq -rc '.[] | select(.tags | contains("@"))' > ~/.zen/tmp/${MOATS}/@tags.json 2>/dev/null
|
|
||||||
[[ $? != 0 ]] && echo "NO EXTRA TIDDLERS TODAY" && exit 0
|
cat ~/.zen/game/players/${PLAYER}/G1CopierYoutube/${G1PUB}/today.${PLAYER}.tiddlers.json \
|
||||||
|
| sed "s~${PLAYER}~ ~g" | jq -rc '.[] | select(.tags | contains("@"))' > ~/.zen/tmp/${MOATS}/@tags.json 2>/dev/null ## INLINE JSON
|
||||||
|
|
||||||
|
[[ $? != 0 ]] && echo "NO EXTRA @tags.json TIDDLERS TODAY" && exit 0
|
||||||
|
|
||||||
echo "******************TIDDLERS with EMAIL in TAGS treatment"
|
echo "******************TIDDLERS with EMAIL in TAGS treatment"
|
||||||
#~ cat ~/.zen/game/players/${PLAYER}/G1CopierYoutube/${G1PUB}/${PLAYER}.tiddlers.json | sed "s~${PLAYER}~ ~g" | jq -rc '.[] | select(.tags | contains("@"))' > ~/.zen/tmp/${MOATS}/@tags.json
|
#~ cat ~/.zen/game/players/${PLAYER}/G1CopierYoutube/${G1PUB}/${PLAYER}.tiddlers.json | sed "s~${PLAYER}~ ~g" | jq -rc '.[] | select(.tags | contains("@"))' > ~/.zen/tmp/${MOATS}/@tags.json
|
||||||
|
@ -180,6 +183,8 @@ echo "******************TIDDLERS with EMAIL in TAGS treatment"
|
||||||
## EXTRACT NOT MY EMAIL
|
## EXTRACT NOT MY EMAIL
|
||||||
while read LINE; do
|
while read LINE; do
|
||||||
|
|
||||||
|
echo "---------------------------------- PalPé mec"
|
||||||
|
echo "$LINE"
|
||||||
echo "---------------------------------- PalPAY for Tiddler"
|
echo "---------------------------------- PalPAY for Tiddler"
|
||||||
TCREATED=$(echo $LINE | jq -r .created)
|
TCREATED=$(echo $LINE | jq -r .created)
|
||||||
TTITLE=$(echo $LINE | jq -r .title)
|
TTITLE=$(echo $LINE | jq -r .title)
|
||||||
|
@ -197,6 +202,7 @@ while read LINE; do
|
||||||
echo $MSG
|
echo $MSG
|
||||||
|
|
||||||
ASTROTW="" STAMP="" ASTROG1="" ASTROIPFS="" ASTROFEED=""
|
ASTROTW="" STAMP="" ASTROG1="" ASTROIPFS="" ASTROFEED=""
|
||||||
|
#### SEARCH FOR PALPAY ACOUNTS : TODO BETTER §§§
|
||||||
$($MY_PATH/../tools/search_for_this_email_in_players.sh ${ZMAIL}) ## export ASTROTW and more
|
$($MY_PATH/../tools/search_for_this_email_in_players.sh ${ZMAIL}) ## export ASTROTW and more
|
||||||
|
|
||||||
if [[ ${ASTROG1} && ${ASTROG1} != ${G1PUB} ]]; then
|
if [[ ${ASTROG1} && ${ASTROG1} != ${G1PUB} ]]; then
|
||||||
|
|
|
@ -70,4 +70,4 @@ From this association has just been born "THE ♥BOX", a software and network se
|
||||||
|
|
||||||
To try online with an email and a link to keep...
|
To try online with an email and a link to keep...
|
||||||
|
|
||||||
https://astroprot.copylaradio.com
|
https://astroport.copylaradio.com
|
||||||
|
|
|
@ -39,6 +39,8 @@ mkdir -p ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/
|
||||||
# $MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey get > ~/.zen/game/players/${PLAYER}/ipfs/gchange.json
|
# $MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey get > ~/.zen/game/players/${PLAYER}/ipfs/gchange.json
|
||||||
## GET AVATAR PICTURE
|
## GET AVATAR PICTURE
|
||||||
cat ~/.zen/game/players/${PLAYER}/ipfs/gchange.json | jq -r '._source.avatar._content' | base64 -d > "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.gchange_avatar.png" 2>/dev/null
|
cat ~/.zen/game/players/${PLAYER}/ipfs/gchange.json | jq -r '._source.avatar._content' | base64 -d > "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.gchange_avatar.png" 2>/dev/null
|
||||||
|
# CLEANING BAD FILE TYPE
|
||||||
|
[[ ! $(file -b "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.gchange_avatar.png" | grep PNG) ]] && rm "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.gchange_avatar.png"
|
||||||
|
|
||||||
## GET CESIUM PUBKEY & C+ PROFILE
|
## GET CESIUM PUBKEY & C+ PROFILE
|
||||||
CPUB=$(cat ~/.zen/game/players/${PLAYER}/ipfs/gchange.json | jq -r '._source.pubkey' 2>/dev/null)
|
CPUB=$(cat ~/.zen/game/players/${PLAYER}/ipfs/gchange.json | jq -r '._source.pubkey' 2>/dev/null)
|
||||||
|
@ -51,6 +53,10 @@ mkdir -p ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/
|
||||||
[[ ! $? == 0 ]] && echo "xxxxx ERROR PROBLEM WITH CESIUM+ NODE ${myCESIUM} xxxxx"
|
[[ ! $? == 0 ]] && echo "xxxxx ERROR PROBLEM WITH CESIUM+ NODE ${myCESIUM} xxxxx"
|
||||||
|
|
||||||
cat ~/.zen/game/players/${PLAYER}/ipfs/cesium.json | jq -r '._source.avatar._content' | base64 -d > "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.cesium_avatar.png" 2>/dev/null
|
cat ~/.zen/game/players/${PLAYER}/ipfs/cesium.json | jq -r '._source.avatar._content' | base64 -d > "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.cesium_avatar.png" 2>/dev/null
|
||||||
|
# CLEANING NOT PNG FILE
|
||||||
|
[[ ! $(file -b "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.cesium_avatar.png" | grep PNG) ]] && rm "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.cesium_avatar.png"
|
||||||
|
|
||||||
|
|
||||||
CPSEUDO=$(cat ~/.zen/game/players/${PLAYER}/ipfs/cesium.json | jq -r '.title' 2>/dev/null)
|
CPSEUDO=$(cat ~/.zen/game/players/${PLAYER}/ipfs/cesium.json | jq -r '.title' 2>/dev/null)
|
||||||
|
|
||||||
[[ $CPSEUDO ]] \
|
[[ $CPSEUDO ]] \
|
||||||
|
@ -71,6 +77,8 @@ mkdir -p ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/
|
||||||
[[ ! $? == 0 ]] && echo "xxxxx ERROR PROBLEM WITH CESIUM+ NODE ${myCESIUM} xxxxx"
|
[[ ! $? == 0 ]] && echo "xxxxx ERROR PROBLEM WITH CESIUM+ NODE ${myCESIUM} xxxxx"
|
||||||
|
|
||||||
cat ~/.zen/game/players/${PLAYER}/ipfs/cesium.json | jq -r '._source.avatar._content' | base64 -d > "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.cesium_avatar.png" 2>/dev/null
|
cat ~/.zen/game/players/${PLAYER}/ipfs/cesium.json | jq -r '._source.avatar._content' | base64 -d > "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.cesium_avatar.png" 2>/dev/null
|
||||||
|
[[ ! $(file -b "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.cesium_avatar.png" | grep PNG) ]] && rm "$HOME/.zen/game/players/${PLAYER}/ipfs/G1SSB/_g1.cesium_avatar.png"
|
||||||
|
|
||||||
CPSEUDO=$(cat ~/.zen/game/players/${PLAYER}/ipfs/cesium.json | jq -r '.title' 2>/dev/null)
|
CPSEUDO=$(cat ~/.zen/game/players/${PLAYER}/ipfs/cesium.json | jq -r '.title' 2>/dev/null)
|
||||||
|
|
||||||
[[ $CPSEUDO ]] \
|
[[ $CPSEUDO ]] \
|
||||||
|
|
Loading…
Reference in New Issue