From 9d7d6758819f9b0c689b1b9bd7ca69707b9df1d9 Mon Sep 17 00:00:00 2001 From: qo-op Date: Tue, 5 May 2020 01:22:30 +0200 Subject: [PATCH] s --- README.md | 5 ++++- g1sms/sms_received.sh | 4 ++-- www/LOVEBank/index.html | 12 ++++++------ zen/ssb_IPFS_swarm.sh | 28 ++++++++++++++++------------ 4 files changed, 28 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 77ba169..b3d6de2 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/g1sms/sms_received.sh b/g1sms/sms_received.sh index cde6862..100a5fb 100644 --- a/g1sms/sms_received.sh +++ b/g1sms/sms_received.sh @@ -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 diff --git a/www/LOVEBank/index.html b/www/LOVEBank/index.html index 159f354..5452a7d 100644 --- a/www/LOVEBank/index.html +++ b/www/LOVEBank/index.html @@ -40,11 +40,11 @@
-

Astroport embarquement ...

+

Astroport embarquement...

-

lancement officiel dans...

+

Décollage imminent

@@ -58,7 +58,7 @@
-

Réservez une place



+

Prenez place



@@ -115,7 +115,7 @@

Forge Monétaire

-

Gratuitement! Chacun forge sa part de monnaie chaque jour, Cesium

+

Gratuitement! Chacun forge sa part de monnaie chaque jour. RIB Cesium

@@ -123,7 +123,7 @@
-

Réseau Social

+

Réseau Social (P2P)

Partagez vos idées, proposez vos actions pour agir en commun avec ScuttleButt

@@ -133,7 +133,7 @@

Marchés Artisanaux

-

Vendez, achetez, échangez Librement entre amis sur Gchange.

+

Vendez, achetez, échangez Librement entre amis avec Gchange.

diff --git a/zen/ssb_IPFS_swarm.sh b/zen/ssb_IPFS_swarm.sh index 90aaf8b..791f161 100755 --- a/zen/ssb_IPFS_swarm.sh +++ b/zen/ssb_IPFS_swarm.sh @@ -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"