ASTRONAUTENS

master
fred 2023-04-25 14:50:40 +02:00
parent 9c35624413
commit fbf9ded5ef
5 changed files with 30 additions and 32 deletions

View File

@ -215,7 +215,7 @@ if [[ ${QRCODE:0:5} == "~~~~~" ]]; then
|| ASTRONAUTENS=${ISTHERE}
( ## 1 HOUR SESSION
[[ ${ISTHERE} == "" ]] && echo "SESSION START" && sleep 3600 && echo "${PLAYER} SESSION OVER" && ipfs key rm ${PLAYER}
[[ ${ISTHERE} == "" ]] && echo "${PLAYER} SESSION START" && sleep 3600 && echo "${PLAYER} SESSION END" && ipfs key rm ${PLAYER}
) &
REPLACE=${myIPFS}/ipns/${ASTRONAUTENS}

View File

@ -35,15 +35,15 @@ PLAYER="$2"
[[ ! ${PLAYER} ]] && PLAYER="$(cat ~/.zen/game/players/.current/.player 2>/dev/null)"
[[ ! ${PLAYER} ]] && echo "ERROR - Please provide PLAYER" && exit 1
ASTONAUTENS=$(ipfs key list -l | grep -w ${PLAYER} | cut -d ' ' -f1)
[[ ! $ASTONAUTENS ]] && echo "ERROR - Clef IPNS ${PLAYER} introuvable!" && exit 1
ASTRONAUTENS=$(ipfs key list -l | grep -w ${PLAYER} | cut -d ' ' -f1)
[[ ! ${ASTRONAUTENS} ]] && echo "ERROR - Clef IPNS ${PLAYER} introuvable!" && exit 1
G1PUB=$(cat ~/.zen/game/players/${PLAYER}/.g1pub)
[[ ! $G1PUB ]] && echo "ERROR - G1PUB ${PLAYER} VIDE" && exit 1
# Extract tag=tube from TW
MOATS="$3"
[[ ! $MOATS ]] && MOATS=$(date -u +"%Y%m%d%H%M%S%4N")
[[ ! ${MOATS} ]] && MOATS=$(date -u +"%Y%m%d%H%M%S%4N")
###################################################################
## CREATE APP NODE PLAYER PUBLICATION DIRECTORY
@ -67,8 +67,8 @@ cat $HOME/.zen/game/players/${PLAYER}/G1PalPay/$PLAYER.history.json | jq -rc .[]
while read LINE; do
echo "MATCHING IN COMMENT"
echo "$LINE"
JSON=$LINE
echo "${LINE}"
JSON=${LINE}
IDATE=$(echo $JSON | jq -r .date)
IPUBKEY=$(echo $JSON | jq -r .pubkey)
IAMOUNT=$(echo $JSON | jq -r .amount)
@ -90,23 +90,21 @@ while read LINE; do
for EMAIL in "${ICOMMENT[@]}"; do
[[ $EMAIL == $PLAYER ]] && echo "My PalPay" && continue
[[ ${EMAIL} == $PLAYER ]] && echo "ME MYSELF" && continue
echo "EMAIL : ${EMAIL}"
ASTROTW="" STAMP="" ASTROG1="" ASTROIPFS="" ASTROFEED=""
$($MY_PATH/../tools/search_for_this_email_in_players.sh ${EMAIL}) ## export ASTROTW and more
echo "export ASTROTW=$ASTRONAUTENS ASTROG1=$ASTROG1 ASTROMAIL=$EMAIL ASTROFEED=$FEEDNS"
echo "export ASTROTW=${ASTRONAUTENS} ASTROG1=${ASTROG1} ASTROMAIL=${EMAIL} ASTROFEED=${FEEDNS}"
if [[ ! ${ASTROTW} ]]; then
echo "# NEW VISA $(date)"
SALT="" && PEPPER=""
echo "VISA.new : \"$SALT\" \"$PEPPER\" \"${EMAIL}\" \"$PSEUDO\" \"${URL}\""
echo "# PLAYER INCONNU $(date)"
fi
[[ ! $ASTROG1 ]] \
[[ ! ${ASTROG1} ]] \
&& echo "SORRY ${EMAIL} MISSING ASTROG1" \
&& echo " $PLAYER VEUX VOUS OFFRIR ${SHARE} G1 \n Joignez-vous au Collectif ♥BOX https://opencollective.com/monnaie-libre/" > ~/.zen/tmp/palpay.bro \
&& ${MY_PATH}/../tools/mailjet.sh "${EMAIL}" "BRO. " ~/.zen/tmp/palpay.bro \
@ -116,14 +114,14 @@ echo "export ASTROTW=$ASTRONAUTENS ASTROG1=$ASTROG1 ASTROMAIL=$EMAIL ASTROFEED=$
## MAKE FRIENDS & SEND G1
echo "NEW PalPay Friend $ASTROMAIL
TW : $ASTROTW
G1 : $ASTROG1
G1 : ${ASTROG1}
ASTROIPFS : $ASTROIPFS
RSS : $ASTROFEED"
if [[ ${ASTROG1} != ${G1PUB} ]]; then
~/.zen/Astroport.ONE/tools/timeout.sh -t 12 \
${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey pay -a ${SHARE} -p ${ASTROG1} -c "PalPay:$N:$IPUBKEY" -m > /dev/null 2>&1
${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey pay -a ${SHARE} -p ${ASTROG1} -c "G1PalPay:$N:$IPUBKEY" -m > /dev/null 2>&1
STAMP=$?
else
@ -171,12 +169,12 @@ echo "******************TIDDLERS with EMAIL in TAGS treatment"
while read LINE; do
echo "---------------------------------- PalPé mec"
echo "$LINE"
echo "${LINE}"
echo "---------------------------------- PalPAY for Tiddler"
TCREATED=$(echo $LINE | jq -r .created)
TTITLE=$(echo $LINE | jq -r .title)
TTAGS=$(echo $LINE | jq -r .tags)
TOPIN=$(echo $LINE | jq -r .ipfs)
TCREATED=$(echo ${LINE} | jq -r .created)
TTITLE=$(echo ${LINE} | jq -r .title)
TTAGS=$(echo ${LINE} | jq -r .tags)
TOPIN=$(echo ${LINE} | jq -r .ipfs)
echo "$TTITLE"
@ -193,7 +191,7 @@ while read LINE; do
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
echo "export ASTROTW=$ASTRONAUTENS ASTROG1=$ASTROG1 ASTROMAIL=$EMAIL ASTROFEED=$FEEDNS"
echo "export ASTROTW=${ASTRONAUTENS} ASTROG1=${ASTROG1} ASTROMAIL=${EMAIL} ASTROFEED=${FEEDNS}"
if [[ ${ASTROG1} && ${ASTROG1} != ${G1PUB} ]]; then

View File

@ -44,15 +44,15 @@ bash <(wget -qO- https://raw.githubusercontent.com/papiche/Astroport.ONE/master/
Si tout s'est bien déroulé, vous devriez trouver ces processus en cours d'execution...
```
fred 1113122 50.5 0.9 824512 72512 ? Ssl 18:00 0:01 /usr/local/bin/ipfs daemon --enable-pubsub-experiment --enable-namesy
fred 1113040 0.0 0.0 6688 3076 ? Ss 17:59 0:00 /bin/bash /home/fred/.zen/G1BILLET/G1BILLETS.sh daemon
fred 1113074 0.0 0.0 6688 1492 ? S 17:59 0:00 \_ /bin/bash /home/fred/.zen/G1BILLET/G1BILLETS.sh daemon
fred 1113076 0.0 0.0 2980 840 ? S 17:59 0:00 \_ nc -l -p 33101 -q 1
fred 1112771 0.0 0.0 6944 3312 ? Ss 17:57 0:00 /bin/bash /home/fred/.zen/Astroport.ONE/12345.sh
fred 1112935 0.0 0.0 6944 1668 ? S 17:57 0:00 \_ /bin/bash /home/fred/.zen/Astroport.ONE/12345.sh
fred 1112937 0.0 0.0 2980 784 ? S 17:57 0:00 \_ nc -l -p 1234 -q 1
fred 29101 0.0 0.0 6820 1880 ? S Mar26 0:00 /bin/bash /home/fred/.zen/Astroport.ONE/_12345.sh
fred 1080385 0.0 0.0 2980 896 ? S Apr22 0:00 \_ nc -l -p 12345 -q 1
/usr/local/bin/ipfs daemon --enable-pubsub-experiment --enable-namesy
/bin/bash /home/fred/.zen/G1BILLET/G1BILLETS.sh daemon
\_ /bin/bash /home/fred/.zen/G1BILLET/G1BILLETS.sh daemon
\_ nc -l -p 33101 -q 1
/bin/bash /home/fred/.zen/Astroport.ONE/12345.sh
\_ /bin/bash /home/fred/.zen/Astroport.ONE/12345.sh
\_ nc -l -p 1234 -q 1
/bin/bash /home/fred/.zen/Astroport.ONE/_12345.sh
\_ nc -l -p 12345 -q 1
```

View File

@ -162,8 +162,8 @@ Take possession of your TW. Make freedom of expression uncensurable, unstoppable
<script>
const el = document.getElementById('yellow');
const log = document.getElementById('login');
log.style.visibility = 'visible';
//~ const log = document.getElementById('login');
//~ log.style.visibility = 'visible';
setTimeout(() => {
el.style.visibility = 'visible';

View File

@ -114,7 +114,7 @@ a {
</header>
<h3>Oubliez la crise !</h3>
<h2>Utilisez la Monnaie Libre.</h2>
<h3>Explorez le Monde Autrement...</h3>
<h3>Explorez le Monde en confiance...</h3>
</div>
</div>
<div id="showoff">