forked from axiom-team/astrXbian
Affichage QR code du wallet du MEDIAKEY dans GCHANGE
This commit is contained in:
parent
9defaec2e1
commit
c239360d09
|
@ -75,11 +75,11 @@ do
|
|||
### 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://tube.copylaradio.com/ipns/$IPNSLINK/${G1PUB}/\">
|
||||
<h1><a href='https://astroport.com'>ASTROPORT</a>/KODI</h1>
|
||||
<a href=\"$IPFSTUBELINK\">LECTURE immédiate</a>! Lancement video locale dans 10 secondes ...<br>
|
||||
<a href=\"$IPFSTUBELINK\">LECTURE immédiate</a>! Lancement de la video dans 10 secondes ...<br>
|
||||
Apprenez à programmer le BLOB et ajoutez de nouveaux services au Datacenter Virtuel LIBRE...<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://tube.copylaradio.com/ipns/${IPFSNODEID}/.${IPFSNODEID}/G1SSB/_g1.gchange_avatar.png\"></a>" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/index.html
|
||||
<h2>Essayez <a href='https://copylaradio.com'>astrXbian</a> le video-club Libre entre amis</h2>
|
||||
<br><br>Portefeuille du media (${id}) : <a href=\"https://www.gchange.fr/#/app/user/${G1PUB}/\">
|
||||
<img width=40 src=\"https://tube.copylaradio.com/ipns/$IPNSLINK/QR.png\"></a>" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/index.html
|
||||
|
||||
########################################################################
|
||||
### ACTIVATE & EXECUTE HERE YOUR OWN SCENARIO
|
||||
|
|
|
@ -285,7 +285,7 @@ then
|
|||
## CREATE GCHANGE AD
|
||||
if [[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/${G1PUB}/.gchange.ad && "${CAT}" != "youtube" ]]
|
||||
then
|
||||
GOFFER=$(~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" setoffer -t "${TITLE} #astroport #${INDEXPREFIX}${REFERENCE}" -d "Envoyez un coeur à ce fichier. https://tube.copylaradio.com/ipns/$IPNS/ pour le conserver dans notre Mediacenter Virtuel entre Amis - #CopyLaRadio - https://astroport.com" -p ~/.zen/astrXbian/disk.png)
|
||||
GOFFER=$(~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" setoffer -t "${TITLE} #astroport #${INDEXPREFIX}${REFERENCE}" -d "${TITLE} https://tube.copylaradio.com/ipns/$IPNS/ Faites un don à son portefeuille pour le conserver dans le Mediacenter des Amis - #CopyLaRadio - https://astroport.com" -p $HOME/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/QR.png)
|
||||
echo $GOFFER > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/${G1PUB}/.gchange.ad
|
||||
NEWIPFS=$(ipfs add -rHq ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/ | tail -n 1 )
|
||||
IPNS=$(ipfs name publish --quieter --key="${INDEXPREFIX}${REFERENCE}" $NEWIPFS)
|
||||
|
|
Loading…
Reference in New Issue