Learning how to make WWW/IPFS interface & API
parent
b8acf6f8ec
commit
9571211ba6
|
@ -109,4 +109,8 @@ fi
|
|||
# Ca ressemble au fonctionnement du ln -s ;)
|
||||
# ipfs p2p ln -s /p2p/$IPFSNODEID/tcp/10101 /ip4/127.0.0.1/tcp/20101
|
||||
|
||||
## Dédier Le canal star1 pour le flux m3u8 webcam activable.
|
||||
# Utiliser les canaux stars pour publier ses ports à ceux de ses amis du niveau choisi.
|
||||
#
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -8,4 +8,5 @@ PREFIX="$1"
|
|||
[[ $PREFIX == "" ]] && PREFIX="Y"
|
||||
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) && [[ ! $YOU ]] && echo "ipfs NOT RUNNING. EXIT" && exit 1
|
||||
|
||||
# Filter no ipns link
|
||||
cat /home/$YOU/.zen/{ipfs,ipfs_swarm}/.*/astroport/kodi/vstream/${PREFIX}ASTRXBIAN | grep -Ev "];;" | sort | uniq | tail -n +2
|
||||
|
|
|
@ -37,7 +37,7 @@ foreach ($videos as $v) {
|
|||
?><!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>AstroCrowdBuster</title>
|
||||
<title>Astroport/School: WWW/IPFS - Interfaces et API - </title>
|
||||
<link rel="stylesheet" href="crowdbunker.css" type="text/css" />
|
||||
<link rel="icon" type="image/png" href="./astrocrowdbunker.png" />
|
||||
</head>
|
||||
|
@ -45,7 +45,7 @@ foreach ($videos as $v) {
|
|||
|
||||
<header>
|
||||
<h1>
|
||||
<a href="/ipfs/QmdW4hsBnpptBY4ZqaE1uS7WNetisZCJztU4Bvtj1Ejmjw"><span>Astroport</span> × <span>Améliorez le code de la page</span></a>
|
||||
<span><a href="https://git.p2p.legal/axiom-team/astrXbian/src/branch/master/www/boris">~/.zen/AstXbian/www/boris</a></span> × <span><a href="/ipfs/QmbmjSBWVNSSjJsMmCeFuFtQiuWyGg6iUGLRyvK7TUkFN8">Voir le code de la page</a></span>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
|
|
Loading…
Reference in New Issue