using tube.copylaradio.com as web gateway

This commit is contained in:
qo-op 2021-05-16 01:21:36 +02:00
parent b539cf9184
commit d39dd781ff
1 changed files with 4 additions and 4 deletions

View File

@ -67,17 +67,17 @@ do
## CRYPTO EXAMPLE, use natools to decrypt (could also verify signature)
[[ -f ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.ipfs.filelink.natools.encrypt ]] && $MY_PATH/tools/natools.py decrypt -f pubsec -k "$HOME/.zen/secret.dunikey" -i "$HOME/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.ipfs.filelink.natools.encrypt" -o "/tmp/${id}_filelink.txt"
cat /tmp/${id}_filelink.txt
ARIESLINK="https://aries.copylaradio.com$(cat /tmp/${id}_filelink.txt)"
ARIESLINK="https://tube.copylaradio.com$(cat /tmp/${id}_filelink.txt)"
MIMETYPE="video/${ARIESLINK##*.}"
### IPNS LINK CAN EVOLVE (REFRESH EVERY 12 H TO MAINTAIN ALIVE IN THE SWARM)
echo "<meta charset=\"UTF-8\"><meta http-equiv=\"Refresh\" content=\"10;URL=https://aries.copylaradio.com/ipns/$IPNSLINK/${G1PUB}/\">
echo "<meta charset=\"UTF-8\"><meta http-equiv=\"Refresh\" content=\"10;URL=https://tube.copylaradio.com/ipns/$IPNSLINK/${G1PUB}/\">
<h1><a href='https://astroport.com'>ASTROPORT</a>/KODI</h1>
<a href=\"$ARIESLINK\">LECTURE immédiate</a>! Lancement video locale dans 10 secondes ...<br>
Recrutons experts BASH pour programmer les nouveaux services du Datacenter Virtuel...<br>
<h2>Essayez <a href='https://copylaradio.com'>astrXbian</a> service de video-club entre amis</h2>
<br><br>Fichier ajouté par : <a href=\"https://www.gchange.fr/#/app/user/${G1PUB}/\">
<img width=40 src=\"https://aries.copylaradio.com/ipns/${IPFSNODEID}/.${IPFSNODEID}/G1SSB/_g1.gchange_avatar.png\"></a>" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/index.html
<img width=40 src=\"https://tube.copylaradio.com/ipns/${IPFSNODEID}/.${IPFSNODEID}/G1SSB/_g1.gchange_avatar.png\"></a>" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/index.html
########################################################################
### ACTIVATE & EXECUTE HERE YOUR OWN SCENARIO
@ -127,7 +127,7 @@ Recrutons experts BASH pour programmer les nouveaux services du Datacenter Virtu
# KEY ZenTag IPNS name publish
J=$(ipfs name publish -k ${id} --quieter /ipfs/${I})
echo "$id REFRESHED https://aries.copylaradio.com/ipns/$J"
echo "$id REFRESHED https://tube.copylaradio.com/ipns/$J"
done