This commit is contained in:
qo-op 2020-05-05 01:22:30 +02:00
parent 82845a2f4a
commit 9d7d675881
4 changed files with 28 additions and 21 deletions

View File

@ -37,12 +37,15 @@ And I ma sure plenty other will come...
You can join our Aplha #Swarm0
## #swarm0
```
__ __ ____
__/ // /_______ ______ __________ ___ / __ \
/_ _ __/ ___/ | /| / / __ `/ ___/ __ `__ \/ / / /
/_ _ __(__ )| |/ |/ / /_/ / / / / / / / / /_/ /
/_//_/ /____/ |__/|__/\__,_/_/ /_/ /_/ /_/\____/
```
Once you have activated and mesh all the layers, your node will joins its #swarm0
A special view and access to its network and data through friends only.

View File

@ -13,8 +13,8 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
export YOU=$(ps aux --sort=+utime | grep ipfs | tail -n 1 | cut -d " " -f 1)
cd $MY_PATH
source ./init.sh
source ./functions.sh
source init.sh
source functions.sh
security

View File

@ -40,11 +40,11 @@
<div class="container">
<div class="row">
<h1><a href="https://astroport.frama.site/">Astroport</a> embarquement ...</h1>
<h1><a href="https://astroport.frama.site/">Astroport</a> embarquement...</h1>
</div>
<div class="row">
<h2>lancement officiel dans...</h2>
<h2>Décollage imminent</h2>
</div>
<div class="row">
<div class="clock" style="margin:2em;"></div>
@ -58,7 +58,7 @@
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto">
<h1>Réservez une place</h1><br><br>
<h1>Prenez place</h1><br><br>
</div>
<div class="col-md-10 col-lg-8 col-xl-7 mx-auto">
<form id="formphone">
@ -115,7 +115,7 @@
<i class="icon-credit-card m-auto text-primary"></i>
</div>
<h3>Forge Monétaire</h3>
<p class="lead mb-0">Gratuitement! Chacun forge sa part de monnaie chaque jour, <a href="https://cesium.app">Cesium</a></p>
<p class="lead mb-0">Gratuitement! Chacun forge sa part de monnaie chaque jour. RIB <a href="https://cesium.app">Cesium</a></p>
</div>
</div>
<div class="col-lg-5">
@ -123,7 +123,7 @@
<div class="features-icons-icon d-flex">
<i class="icon-pie-chart m-auto text-primary"></i>
</div>
<h3>Réseau Social</h3>
<h3>Réseau Social (P2P)</h3>
<p class="lead mb-0">Partagez vos idées, proposez vos actions pour agir en commun avec <a href="http://dinosaur.is/patchwork-downloader/">ScuttleButt</a></p>
</div>
</div>
@ -133,7 +133,7 @@
<i class="icon-basket-loaded m-auto text-primary"></i>
</div>
<h3>Marchés Artisanaux</h3>
<p class="lead mb-0">Vendez, achetez, échangez Librement entre amis sur <a href="https://gchange.fr">Gchange</a>.</p>
<p class="lead mb-0">Vendez, achetez, échangez Librement entre amis avec <a href="https://gchange.fr">Gchange</a>.</p>
</div>
</div>
<div class="col-lg-5">

View File

@ -28,23 +28,27 @@ g1pub=$(cat ~/.ssb/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2)
########################################################################
echo '
#####
#### #### ##### # # # ##### ###### ####
# # # # # # # # # #
#### #### ##### ##### # # # ##### ####
# # # # # # ##### # #
# # # # # # # # # # # #
#### #### ##### ####### # # # ####
Get ipfs addresses from SSB friends and add to bootstrap & swarm peers'
__ __ ____
__/ // /_______ ______ __________ ___ / __ \
/_ _ __/ ___/ | /| / / __ `/ ___/ __ `__ \/ / / /
/_ _ __(__ )| |/ |/ / /_/ / / / / / / / / /_/ /
/_//_/ /____/ |__/|__/\__,_/_/ /_/ /_/ /_/\____/
EXTEND IPFS SWARM and SHAPE IT FROM (ssb_INIT.sh) FRIENDS
Search "ipfstryme" message type in SSB feed
'
self=$(sbotc whoami | jq -r .id)
# GET /tmp/ssb-friends.txt
self=$(sbotc whoami | jq -r .id)
sbotc query.read '{"query":[{"$filter":{"value":{"author": "'"$self"'", "content":{"type":"contact"}}}}]}' | jq -r '.value?.content?.contact' > /tmp/ssb-friends.txt || rm -f /tmp/ssb-friends.txt
# GET /tmp/ssb-NOTfriends.txt
FEED_ID="$(sbotc whoami | jq .id -r)"
sbotc links "{\"source\": \"${FEED_ID}\", \"rel\": \"contact\", \"values\": true, \"reverse\": true}" | jq -c . | grep 'blocking":true' | jq -r .dest > /tmp/ssb-NOTfriends.txt
sbotc links "{\"source\": \"${self}\", \"rel\": \"contact\", \"values\": true, \"reverse\": true}" | jq -c . | grep 'blocking":true' | jq -r .dest > /tmp/ssb-NOTfriends.txt
# Force Strict #swarm0 !!
# ipfs bootstrap rm --all
########################################################################
# Let's look if our SSB Friends ARE "IPFS swarm connected"