COPY LOCALHOST IPFS URL TO CLIPBOARD

This commit is contained in:
qo-op 2021-06-16 22:23:06 +02:00
parent 8b2a570cb7
commit 69466de916
1 changed files with 9 additions and 4 deletions

View File

@ -267,12 +267,17 @@ echo "<meta http-equiv=\"Refresh\" content=\"0;URL=http://127.0.0.1:8181/ipfs/$I
IPNSLINK=$(ipfs key list -l | grep ${INDEXPREFIX}${REFERENCE} | cut -d ' ' -f 1)
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>
Ce film ${TITLE} est disponible dans le Video Club des amis...<br>
Lancement de la lecture dans 10 secondes...<br><br>
Ce média ${TITLE} vient d'être ajouté au Video Club P2P... Libre et légal<br>
<h2>Découvrez <a href='https://copylaradio.com'>astrXbian</a></h2>
<br><br>Voici le portefeuille du media (${id}) : <a href=\"https://www.gchange.fr/#/app/user/${G1PUB}/\">
Lancement de la lecture localhost dans 10 secondes...<br><br>
<br><a href=\"https://www.gchange.fr/#/app/user/${G1PUB}/\">
<img width=40 src=\"https://tube.copylaradio.com/ipns/$IPNSLINK/QR.png\"></a>
faites lui un virement pour le conserver en ligne dans le Data Center" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/index.html
<br><br><b>QR Code du portefeuille du media (${id}) et lien vers son garant.</b>
<br>envoyez un virement pour le conserver en ligne... Et offrir de la monnaie libre à son créateur." > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/index.html
## COPY LOCALHOST IPFS URL TO CLIPBOARD
[[ $(which xclip) ]] && echo "http://127.0.0.1:8181/ipfs/$IPFSREPFILEID/$URLENCODE_FILE_NAME" | xclip -selection c
########################################################################
## PUBLISH new IPNS