astrXbian/README.md

54 lines
2.3 KiB
Markdown
Raw Normal View History

2020-12-09 02:15:18 +01:00
# astrXbian
2020-12-12 05:20:34 +01:00
## Installer l'Image
2020-12-12 05:20:34 +01:00
Nous vous avons préparé une image système pré-installée
Télécharger https://oasis.astroport.com/astrxbian-2020/
2020-12-12 05:20:34 +01:00
- Copier l'image sur une carte micro-SD. Utiliser un RaspberryPi4 (2 ou 4Go) est recommandé!
- Au démarrage, votre "noeud" obtient un identifiant (Rendez-vous dans l'Addon "Vstream/Sources/Astroport" pour le récupérer)
- Vous indiquez vos liens d'amitié (et de partage) sur https://gchange.fr
2020-12-12 05:20:34 +01:00
Dès lors vos machines se connectent dans le même essaim ipfs et partagent leurs films
Les films placés dans ~/astroport/films/$MOVIEID/ sont automatiquement sauvegardé sur IPFS et partagés avec vos amis.
2020-12-12 05:20:34 +01:00
-- Astroport Technology demonstration for Xbian.org --
2020-12-12 05:20:34 +01:00
## INSTALLATION MANUELLE
Une fois la distribution Xbian.org installée sur votre RaspberryPi,
2020-12-12 05:20:34 +01:00
Ajouter AstXbian avec la commande:
```
rm -f /tmp/install.sh && wget https://git.p2p.legal/axiom-team/astrXbian/raw/branch/master/install.sh -O /tmp/install.sh && chmod 755 /tmp/install.sh && bash /tmp/install.sh
```
2020-12-12 05:20:34 +01:00
---
## PRINCIPE DE FONCTIONNEMENT
Chaque film copié dans IPFS est transmis au plugin Vstream (Kodi) par le site "ASTROPORT" au travers du fichier "**FASTRXBIAN**" sité dans ~/.zen/ipfs/$IPFSNODEID/.$IPFSNODEID/
2020-12-15 13:27:32 +01:00
2020-12-13 20:29:32 +01:00
```
CAT;TMDB;YEAR;TITLE;SAISON;GENRES;GROUPES;RES;URLS
2021-01-11 18:11:37 +01:00
film;$TMDB;;Frequencies;;;$xzuid;;http://127.0.0.1:8181/ipfs/QmcXMAHbFH3gDwmxJRX7uh753oCbXAEajwQsAWFkvqbRY3/Frequencies.mp4
2020-12-13 20:29:32 +01:00
```
FORMAT DU FICHIER : https://github.com/Kodi-vStream/venom-xbmc-addons/wiki/Voir-et-partager-sa-biblioth%C3%A8que-priv%C3%A9e#d%C3%A9clarer-des-films
IMPORTANT récupérer $TMDB sur https://www.themoviedb.org
Celui-ci se trouve régulièrement publié sur 'http://127.0.0.1:8181/ipns/_IPFSNODEID_/._IPFSNODEID_/' avec la clef IPNS (self) du Noeud IPFS.
```
MIPFS=$(ipfs add -rHq ~/.zen/ipfs | tail -n 1)
echo $MIPFS > ~/.zen/ipfs/.${IPFSNODEID}/_chain ## THIS SIMPLE LINE IS BLOCKCHAIN POWERING ANY DATA PUBLISHED TO IPFS !!!
NODEIPNS=$(ipfs name publish --quieter /ipfs/$MIPFS)
```
Pour partager les fichiers avec ses amis.
Chaque noeud synchronise la publication IPNS de tous les membres de son "ipfs swarm peers" vers ~/.zen/ipfs_swarm/ pour complêter son fichier FASTRXBIAN des index de chacun.
2021-01-11 22:33:23 +01:00
```
ipfs get --output=/home/$YOU/.zen/ipfs_swarm/ /ipns/$ipfsnodeid
```