Compare commits

...

1192 Commits

Author SHA1 Message Date
qo-op 866271a453 ASTROPORT/ScuttleButt is unmaintained PLEASE INSTALL AstrXbian 2021-05-09 19:41:45 +02:00
qo-op ec067d5690 [Astroport/KODI - astrXbian](https://git.p2p.legal/axiom-team/astrXbian) 2021-03-11 13:11:41 +01:00
qo-op e78474f952 ${RANDOM:0:2} 2020-12-15 01:32:58 +01:00
qo-op 8ceef7e5a8 .old 2020-12-14 21:49:23 +01:00
qo-op 204e851c1b timestamp=$(date -u +%s%N | cut -b1-13) 2020-12-14 21:48:07 +01:00
qo-op 0a8ec2f6e7 better 2020-12-12 21:41:15 +01:00
qo-op b11b7dc207 new jaklis 2020-12-12 21:00:01 +01:00
qo-op 6748274034 correct 2020-12-12 16:53:28 +01:00
qo-op 2401d61911 missing " 2020-12-12 16:22:54 +01:00
qo-op 9ee494795d corrections 2020-12-12 16:18:34 +01:00
qo-op 3ef7320051 g1_profil 2020-12-12 03:25:16 +01:00
qo-op b1b9d2b2e8 initV correction 2020-12-12 02:21:08 +01:00
qo-op 938e2a3b67 multiply install modulation 2020-12-12 01:17:47 +01:00
qo-op 48970b176b using cesium+/gchange+ instead of scuttlebutt 2020-12-12 00:56:07 +01:00
qo-op 7d91c5ce31 GCHANGE+ or CESIUM+ 2020-12-09 02:24:02 +01:00
qo-op d63c56632d Add jaklis/.env in ~/.bashrc? no, yes? 2020-12-08 21:36:54 +01:00
qo-op 0cf78d0700 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-12-08 21:34:35 +01:00
qo-op 35b3dbd8fd Using CESIUMPLUS=https://g1.data.le-sou.org 2020-12-08 21:34:13 +01:00
qo-op 3ab51f570d comment 2020-12-08 21:30:05 +01:00
qo-op 0617c426f0 xbian/FASTRXBIAN.uniq 2020-12-08 21:29:50 +01:00
qo-op 34675fa5c3 XZUID 2020-12-08 19:58:24 +01:00
qo-op 196dab744f SITE_NAME = 'ASTROPORT _PROFIL_ (_LOGIN_) (_MDP_)' 2020-12-08 19:17:56 +01:00
qo-op 6189737a16 jaklis/.env >> ~/.bashrc 2020-12-08 19:17:43 +01:00
poka 913ae5a16d remove zen/tools/__pycache__/ -> .gitignore 2020-12-08 18:36:48 +01:00
poka 5c65c8fb55 Add tool to convert ipfs ID to pubkey 2020-12-08 18:01:42 +01:00
poka 042e66a091 Use python only, no bash anymore ... 2020-12-08 17:05:04 +01:00
qo-op a1ad3390d8 Sending IPFSTRYME message to $liking_me if ISO already config BOOT 2020-12-08 14:01:35 +01:00
qo-op 8efc0075ba https://copylaradio.com 2020-12-08 13:44:45 +01:00
qo-op 714d21c304 xbian/FASTRXBIAN 2020-12-08 13:42:30 +01:00
qo-op 9675ac7dce FASTRXBIAN for films 2020-12-08 13:37:59 +01:00
qo-op 45fa171ed2 ipfs pin OR NOT 2020-12-08 04:58:43 +01:00
qo-op 2cb216c26e http://localhost:8080/ipns/_XBIANKEY_/xbian/ASTRXBIAN 2020-12-08 04:55:13 +01:00
qo-op b93baa65a4 echo "__________________________________________" 2020-12-08 04:28:45 +01:00
qo-op 47b7f2b08e Delete OLD 'ipfstryme' messages from $liking_me 2020-12-08 04:08:29 +01:00
qo-op 253db07744 Sending IPFSTRYME message to $liking_me 2020-12-08 03:48:54 +01:00
qo-op 11569b5d8a [[ ! $foundIp && ! $isLAN ]] 2020-12-08 03:36:10 +01:00
qo-op b364682ca3 CREATE Vstream/Pastebin file format 2020-12-08 03:31:00 +01:00
qo-op c02ac02e1a CREATE ~/.zen/ipfs/xbian/$XZUID FROM ~/astroport/ 2020-12-08 03:25:22 +01:00
qo-op 887696d967 ipfs cat /ipns/$NODEIPNS/xbian/$XZUID 2020-12-08 03:23:05 +01:00
qo-op f8966720ab ! -f 2020-12-08 02:39:04 +01:00
qo-op be23bccef8 ${peer} 2020-12-08 02:33:58 +01:00
qo-op 12e95c6e00 path error 2020-12-08 02:26:57 +01:00
qo-op 5846b4607b AstXbian ipfs sharing 2020-12-08 02:22:33 +01:00
qo-op 418b0a27bb go on Xbian ISOconfig / Vstream /Pastebin IPNS share 2020-12-08 01:47:34 +01:00
qo-op e8c08856a3 Astroport Vstream addon site 2020-12-07 16:32:25 +01:00
qo-op e9a15eb2e0 kodi/vstream site rename to astroport 2020-12-07 16:31:21 +01:00
qo-op 26ff016710 /var/log/ipfs.log was missing 2020-12-07 16:30:48 +01:00
qo-op 31eb15852c Special Xbian init.d config 2020-12-07 16:29:04 +01:00
qo-op c432c3d3f9 ipfs_SWARM_refresh.sh 2020-12-07 14:45:13 +01:00
qo-op 2ccbfaa344 error correction 2020-12-07 14:44:49 +01:00
qo-op 466640cb91 CREATE SYSTEMD ipfs SERVICE 2020-12-07 14:43:45 +01:00
qo-op e6dce5a44b ~/.zen/A_allow_ip.txt contains IP of my friends 2020-12-06 21:43:10 +01:00
qo-op bee7812705 remove /etc/init.d/ipfs (already in AstrXbian ISO) 2020-12-06 21:39:11 +01:00
qo-op 57f1fdf316 swarm control 2020-12-06 21:29:37 +01:00
qo-op 46ecb32eca swarm control code upgrade 2020-12-06 20:10:35 +01:00
qo-op 19b747ae7f better code 2020-12-06 02:38:19 +01:00
qo-op 1fdad03398 Astroport ID publish in bashrc 2020-12-06 02:11:31 +01:00
qo-op ba09a353f7 UPDATE ~/.bashrc OK 2020-12-06 02:09:28 +01:00
qo-op 1f1a10e7f6 Add $YOU $IPFSNODEID $G1PUB to ~/.bashrc 2020-12-06 02:08:16 +01:00
qo-op b7854c23b5 update_bashrc.sh 2020-12-06 02:04:54 +01:00
qo-op 884d04eb27 .ssb => .zen 2020-12-06 02:00:07 +01:00
qo-op 29e74e3585 .install/update_bashrc.sh 2020-12-06 01:54:01 +01:00
qo-op b89a1642db DEBIAN / XBIAN 2020-12-06 01:34:04 +01:00
qo-op a71c68e75e jaklis new 2020-12-05 02:20:11 +01:00
qo-op 319447f332 NOT WORKING 2020-12-05 02:10:53 +01:00
qo-op 1b0e27ac06 mmm 2020-12-05 02:09:46 +01:00
qo-op bdcca1e213 PeerID 2020-12-05 01:40:51 +01:00
qo-op 7f5fe12277 EXTEND ~/.bashrc 2020-12-05 01:17:58 +01:00
qo-op dc067180f4 775 2020-12-05 00:52:05 +01:00
qo-op e2267718bc first friend is oasis 2020-12-05 00:50:22 +01:00
qo-op 765741151c NODEIPFSID starts with 12D3KooW 2020-12-05 00:10:19 +01:00
qo-op 4f2a93813b 2jQUH4HfHxdTesjCjvMCx1VJgA5AnpuvrWRq1swfRdsS 2020-12-05 00:01:15 +01:00
qo-op 4b11c248eb oasis default bootstrap new ID
12D3KooWBYme2BsNUrtx4mEdNX6Yioa9AV7opWzQp6nrPs6ZKabN
2020-12-04 23:31:28 +01:00
qo-op b9749733b7 ISO first boot autoconfig 2020-12-04 19:48:27 +01:00
qo-op fc0af52605 1st ISO boot autoconfig 2020-12-04 19:42:28 +01:00
qo-op 458bc04e86 $(which zenity) == "" 2020-12-04 15:38:46 +01:00
qo-op fc470fd922 CREATE gchange+ profile 2020-12-04 15:16:16 +01:00
qo-op 3a67c6f679 jaklis 2020-12-04 14:46:53 +01:00
qo-op 6b134195ea cesium-messaging becomes jaklis 2020-12-04 14:45:56 +01:00
qo-op 990ad2ccd7 150x150 2020-12-04 14:31:20 +01:00
qo-op 31585937c1 ~/.zen/astroport/1stRUNconfig.sh 2020-12-04 13:45:47 +01:00
qo-op ae8c4c5724 Choisissez le répertoire à partager par IPFS avec vos amis 2020-12-04 13:40:38 +01:00
qo-op 39a053d136 Create secret key files 2020-12-04 04:09:01 +01:00
qo-op c43852458b run from ~/.config/autostart/Astroport_X_config.desktop 2020-12-04 04:06:24 +01:00
qo-op ac61d1784a hey going further 2020-12-04 02:55:16 +01:00
qo-op c7709f8fb3 libprotoc 3.6.1 vs 3.0.0 2020-12-04 02:26:05 +01:00
qo-op 5c1bd5f82d pkey.Type = crypto_pb2.KeyType.Ed25519 trouble between libprotoc 3.6.1 and libprotoc 3.0.0 2020-12-04 02:25:03 +01:00
qo-op 13163b25e0 FirstXRUNconfig.sh 2020-12-04 01:22:50 +01:00
qo-op 634ece1a58 Fist X run script. Config Astroport 2020-12-04 00:27:47 +01:00
qo-op 3a758185d2 astroport logo 2020-12-04 00:27:08 +01:00
qo-op df565c7297 new jaklis release 2020-12-04 00:26:41 +01:00
qo-op eb5618513d new jaklis release 2020-12-04 00:20:04 +01:00
qo-op cd95ab64ac CHECk if I am liking him either 2020-12-03 16:52:07 +01:00
qo-op 38cf19de97 My friend did not sent ipfstryme message... 2020-12-03 16:10:29 +01:00
qo-op 2f6d30ca38 messages... 2020-12-03 16:03:40 +01:00
qo-op e11269b8e1 chmod 755 2020-12-03 15:53:44 +01:00
qo-op 8e67c82ece Option Message to /tmp/A_liking_me_NO_ipfstryme.txt 2020-12-03 15:51:47 +01:00
qo-op 26f658b4fb I have $friend_of_mine_count friends amoung $liking_me_count liking me people 2020-12-03 13:37:24 +01:00
qo-op cc45584292 ./jaklis.py set -A mon_avatar.png 2020-12-03 12:10:38 +01:00
qo-op 03114014d2 latest gchange messaging 2020-12-03 02:46:55 +01:00
qo-op c98fde5028 sending IPFSTRYME message to my $friend 2020-12-03 01:30:07 +01:00
qo-op 07ef6ce428 cesium messaging jaklis 2020-12-02 22:45:10 +01:00
qo-op b9ede3d0bc CREATE init.d ipfs start/stop script 2020-12-02 15:35:20 +01:00
qo-op fca5581679 #TODO:
# 1. Get gchange in-friends list
# 2. Read gchange+ message from them and find their IPFS tryme address
# 3. Compare with out-friends list and add their address to bootstrap, connect swarm peers
# 4. Send message to not yet in-friends to install Astroport.
2020-12-02 15:18:00 +01:00
qo-op 4ac5123c58 TODO GET ALL MY GCHANGE FRIENDS AND SEND THEM my IPFS Address 2020-12-02 15:07:43 +01:00
qo-op 5b69fb0500 IPFS vstream test list 2020-11-30 21:01:40 +01:00
qo-op 54be96467f adding gchange swarm control 2020-11-30 19:21:30 +01:00
qo-op f2f3492e67 INIT with gchange 2020-11-30 18:42:36 +01:00
qo-op ed79274990 IPFS kodi vstream plugin ~/.kodi/addons/plugin.video.vstream/resources/sites/ipfs.py 2020-11-30 18:13:52 +01:00
qo-op 3326a0cf52 Add /vstream U2B pastebin lists 2020-11-30 17:15:46 +01:00
qo-op e6c017bd63 /home/pi/.zen/secret.dunikey as default cesium-messaging identity 2020-11-30 16:08:05 +01:00
qo-op 188afff413 /home/pi/.zen/secret.dunikey as default cesium-messaging identity 2020-11-30 16:07:11 +01:00
qo-op 8f6fb7e161 Add cesium-messaging code 2020-11-30 16:03:47 +01:00
qo-op 724b85dbeb update bootstrap & correct systemctl 2020-11-24 23:51:55 +01:00
qo-op 4435aa559f JuneLAND 2020-11-18 22:20:41 +01:00
qo-op 1752f68a76 cp -f /tmp/init_IPFS_with_cesium_loginKEY.sh ~/.zen/astroport/zen/tools/ 2020-11-17 22:57:59 +01:00
qo-op 3179a6be2d Please rm -f ~/.zen/secret* before running $ME 2020-11-17 11:49:20 +01:00
qo-op 1e70f7296f manual jq command to change ipfs node id 2020-11-17 11:44:43 +01:00
qo-op b732185603 bip 2020-11-17 11:43:05 +01:00
qo-op 57e120418f -arg PrivKey 2020-11-17 11:42:07 +01:00
qo-op 423f989471 jq ARG passing 2020-11-17 02:01:40 +01:00
qo-op 23e30e1832 ~/.zen/secret(s) are 440 ! 2020-11-17 01:14:39 +01:00
qo-op f44487d086 ~/.zen/secret.june 2020-11-17 01:12:03 +01:00
qo-op b3ea878591 miz simplest salt & pepper 2020-11-17 01:07:32 +01:00
qo-op 68dfb47542 cd /tmp; rm -f /tmp/init_IPFS_with_cesium_loginKEY.sh; wget https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/init_IPFS_with_cesium_loginKEY.sh; bash ./init_IPFS_with_cesium_loginKEY.sh 2020-11-16 23:34:09 +01:00
qo-op 4160685c32 -> Read your Cesium messages to find how to Bootstrap your node 2020-11-16 23:29:47 +01:00
qo-op c33f1e3e0a Hit ENTER again to continue 2020-11-16 23:22:18 +01:00
qo-op 21dbdaf9cf ask for credentials, or run diceware to make a Cesium secret.dunikey, SSB secret and IPFS node ID 2020-11-16 23:09:57 +01:00
qo-op a8859ce293 Cesium key can become IPFSNODEID 2020-11-16 23:01:37 +01:00
qo-op 2ea0185d6b Cesium key can become IPFSNODEID 2020-11-16 22:53:22 +01:00
qo-op f6f4ea2bbf No parking logo 2020-11-12 12:52:49 +01:00
qo-op 4718d142ca JuneLAND 2020-11-12 04:54:31 +01:00
qo-op bf4d088033 PrivKey 2020-11-12 03:31:48 +01:00
qo-op 15438ffc05 create ipfs id from /tmp/secret.dunikey 2020-11-12 01:57:54 +01:00
qo-op a719820ccb create_ipfsnodeid_from_tmp_secret.dunikey.py 2020-11-11 18:54:49 +01:00
qo-op dc904751e8 create pubsec secret.dunikey and convert into IPFS Identity 2020-11-07 00:38:03 +01:00
qo-op e78ed00209 Experimental.P2pHttpProxy true 2020-11-06 00:49:18 +01:00
qo-op b2a4010d00 ipfs-update_v1.6.0 & ipfs 0.7.0 2020-11-06 00:27:52 +01:00
qo-op 44c681c31a gchange+ lon lat source 2020-09-16 01:44:19 +02:00
qo-op c1e2b25a6e not authorizing wallet self choosen name 2020-09-15 22:52:18 +02:00
qo-op 896ff9032b now, g1sms wallet name can be choosen with "N pseudo" (if pseudo is not G1member) 2020-09-15 22:42:13 +02:00
qo-op 75ec620ad3 fi 2020-09-15 21:36:25 +02:00
qo-op 31206e2f84 remove ssb-server automatic restart, could be a nightmare for lowpower machine 2020-09-15 21:33:52 +02:00
qo-op 849162d8ba sms antispam message 2020-09-14 16:32:30 +02:00
qo-op 3e0f689dd3 MIZ 2020-09-14 00:03:04 +02:00
qo-op 56e973b9e7 small change 2020-09-10 12:46:50 +02:00
qo-op c57879a90b OK 2020-09-05 00:05:03 +02:00
qo-op 713e782db6 UPGRADE to Cesium 1.6.7 2020-09-05 00:03:16 +02:00
qo-op 61805ef6c9 $AMOUNTZEN ZEN 2020-09-04 23:20:40 +02:00
qo-op 0c769eaa0b ouah tout ça 2020-08-07 04:18:20 +02:00
qo-op b1c2dee9a0 correct REC _CopyLaRadio url 2020-06-25 04:33:07 +02:00
qo-op cba243cf5f less log 2020-06-24 17:13:18 +02:00
qo-op 717212b8c8 + joli 2020-06-23 14:53:57 +02:00
qo-op dcce6d7501 arrangements 2020-06-23 14:49:52 +02:00
qo-op 8b35369380 bottom page hidden on mobile 2020-06-23 14:25:03 +02:00
qo-op d0d82e0597 [Pure bash Bible](https://github.com/dylanaraps/pure-bash-bible) 2020-06-21 22:25:54 +02:00
qo-op 275161b890 # $MY_PATH/zen/gchange_MONITOR.sh & 2020-06-21 22:05:32 +02:00
qo-op 9f196e1ceb restart ssb-server is a pain 2020-06-18 02:55:32 +02:00
qo-op 18a7955264 Avec des logiciels libres, vous avez enfin le choix ! 2020-06-17 23:53:37 +02:00
qo-op d5fd981eb4 ~/.zen/ssb-server.start 2020-06-17 21:29:28 +02:00
qo-op a401b4ae65 sudo adduser $YOU www-data 2020-06-16 23:00:52 +02:00
qo-op b15698f30d header("Access-Control-Allow-Origin: *"); 2020-06-16 18:35:56 +02:00
qo-op d9481491ce JuneLand 2020-06-16 07:39:21 +02:00
qo-op b681bbe1e1 buttons 2020-06-16 07:34:22 +02:00
qo-op c2c9c47109 FAQ https://pad.p2p.legal/s/astroport_FAQ 2020-06-16 07:26:43 +02:00
qo-op cbc2ef2417 $CHECKSWARM 2020-06-16 06:36:18 +02:00
qo-op afe4113ee0 debug and correct 2020-06-16 06:29:58 +02:00
qo-op 9c863fe4bd beauty 2020-06-16 04:01:23 +02:00
qo-op 9868988938 Vous avez besoin d'aide? <a href="mailto:support@qo-op.com">Envoyez un email.</a> 2020-06-16 03:58:23 +02:00
qo-op eab989b3f1 Get Wallet geoloc + avatar (60 mn cache) 2020-06-15 22:06:24 +02:00
qo-op 2059565e62 aris poetry + scuttlebutt & minetest gif 2020-06-15 20:56:13 +02:00
qo-op 50d7761608 just phone 2020-06-15 20:55:09 +02:00
qo-op 51d5995393 rewriting play minetest 2020-06-15 19:59:42 +02:00
qo-op 758b97c9f0 Vous avez $AMOUNTLOVE LOVE sur votre compte. Installez https://cesium.app 2020-06-15 04:13:01 +02:00
qo-op a6c8922545 CLEAN ipfs_swarm 2020-06-15 04:06:27 +02:00
qo-op e610cd2051 visualise passport play juneland 2020-06-15 03:25:56 +02:00
qo-op 17586b81ef play 2020-06-15 02:37:36 +02:00
qo-op d5f7f254f2 source $HOME/.profile 2020-06-14 23:35:06 +02:00
qo-op a5980aec1c g1sms 2020-06-14 23:26:21 +02:00
qo-op 2c33befcf9 push it 2020-06-14 23:23:34 +02:00
qo-op df2968fc4b home 2020-06-14 23:07:42 +02:00
qo-op 15aac892f4 allez commit 2020-06-14 22:26:31 +02:00
qo-op bb640c322b missing ; 2020-06-13 13:38:03 +02:00
qo-op 231caf7395 double auth have to be checked now 2020-06-13 13:37:10 +02:00
qo-op dfe7d2df69 git merge trouble 2020-06-13 13:33:13 +02:00
qo-op 09ca7a8b77 check sbotc is working every 5 mn instead of 1 2020-06-13 13:30:51 +02:00
qo-op 1dbee81e86 ssb-server control & restart 2020-06-13 13:11:20 +02:00
qo-op 16d6594825 time adjustments 2020-06-13 13:02:13 +02:00
qo-op dab8abde99 arrange it 2020-06-12 17:11:28 +02:00
qo-op 8b7b086a3c Utilisez https://cesium.app et https://gchange.fr ! 2020-06-12 17:03:48 +02:00
qo-op f507f175a9 tools path corrected
duniter_server=$(/home/$YOU/.zen/astroport/zen/tools/duniter_getnode.sh)
2020-06-12 16:54:03 +02:00
qo-op 4f16a5dec0 N Pseudo correction (Pb with silkaj timeout !!!) 2020-06-12 16:49:43 +02:00
qo-op f73ab4a140 duniter_server=$(/home/$YOU/.zen/astroport/zen/tools/tools/duniter_getnode.sh) 2020-06-12 16:28:59 +02:00
qo-op 4f80642d90 -mmin +5 2020-06-12 13:03:18 +02:00
qo-op 70784d68d6 hardening silkaj connexion 2020-06-12 12:54:58 +02:00
qo-op fc63a21702 images & juneland video 2020-06-12 12:16:24 +02:00
qo-op b531ce2f4d Add duniter curl testing 2020-06-12 12:15:43 +02:00
qo-op 3711893827 Connectez 2020-06-12 01:57:14 +02:00
qo-op 52546b641f ssb-server
while true; do   ssb-server start;   sleep 3; done
2020-06-12 00:49:57 +02:00
qo-op cb9f38b801 réseaux cesium/gchange/scuttlebutt 2020-06-12 00:43:34 +02:00
qo-op c3c78201e3 loveland 1,2,3 2020-06-12 00:39:15 +02:00
qo-op 072549fa70 pubkey to emoji 2020-06-11 23:29:04 +02:00
qo-op 30b482249f 50km radius 2020-06-11 13:04:43 +02:00
qo-op 985cedf4ef title 2020-06-11 00:49:03 +02:00
qo-op 75933498b2 p2p port forward G1sms 2020-06-09 21:52:29 +02:00
qo-op 3360d5865d Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-09 21:50:12 +02:00
qo-op b5dd23ac71 double auth g1billet API 2020-06-09 21:45:18 +02:00
qo-op d69b9f4e8e Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-09 21:40:15 +02:00
qo-op b895261c94 web API phone + val => sms_ASTROPORT sms_AUTH 2020-06-09 16:48:50 +02:00
poka 83f25350b1 Enable oasis for ARM 2020-06-09 15:01:10 +02:00
qo-op 2722a14d72 | cut -d '.' -f 1 2020-06-08 14:52:31 +02:00
poka d68f9277d8 Check if ARM, don't install patchwork 2020-06-08 13:53:32 +02:00
qo-op fdece33952 & 2020-06-08 04:04:25 +02:00
qo-op 21b9a1f702 Ajouter sa géolocalisation dans Cesium+ permet de voir les annonces à 10km autour de chez soi... 2020-06-08 03:54:51 +02:00
qo-op 839e2c3bb6 no podcast 2020-06-08 02:23:08 +02:00
qo-op f529525469 podcast 2020-06-08 00:02:41 +02:00
qo-op d7ed05fae2 astrologo 2020-06-08 00:01:56 +02:00
qo-op d6179e0bc5 support@qo-op.com 2020-06-07 20:19:23 +02:00
qo-op 53328d2df9 best top 2020-06-07 01:53:31 +02:00
qo-op c47183f6a3 try to control ssb-server
#!/bin/bash
while true; do
  ssb-server start
  sleep 3
done
2020-06-06 16:09:53 +02:00
qo-op 98866e605f oasis --allow-host oasis.astroport.com --host oasis.astroport.com & 2020-06-06 14:50:38 +02:00
qo-op 78333587ef correct ssb-server freezing/ restart 2020-06-06 14:43:18 +02:00
qo-op b8025902d6 pas de parrain ADMIN LOG g1sms "$parrain ABSENT" (search) 2020-06-06 14:27:22 +02:00
qo-op 67b0e9c63c JEU 0 2020-06-06 14:08:49 +02:00
poka 4590d6e279 Update README.md 2020-06-06 13:46:21 +02:00
qo-op 6eab2d213f time 2020-06-06 12:47:12 +02:00
qo-op 0e25807292 [[ $timestamp -lt $last_ts ]] 2020-06-06 05:28:58 +02:00
qo-op 49d2aa56ff echo "$TODAY 12:12 - OFFICIAL BETA TESTING" 2020-06-06 05:22:18 +02:00
qo-op 6756d1ba43 TODO -> send sbotc message (private or zip attached?) with ssb/ipfs swarm reports 2020-06-06 05:03:55 +02:00
qo-op f028ce98fa uniq /tmp/ssb-friends.txt 2020-06-06 04:55:23 +02:00
qo-op 304176bf40 classify friends... 2020-06-06 04:51:00 +02:00
qo-op 9e35153c17 SSBFRIEND 2020-06-06 04:45:00 +02:00
qo-op 2b8505d6f9 $MY_PATH/zen/ssb_INIT.sh 12:12 2020-06-06 04:06:24 +02:00
qo-op de515799c4 source /home/$YOU/.profile 2020-06-06 03:54:36 +02:00
qo-op 1e2d73327a sbotc problem!! stop oasis, restart ssb-server... 2020-06-06 03:49:24 +02:00
qo-op 8c5867f67d arrange it 2020-06-06 03:26:58 +02:00
qo-op 22ab82c9fc OUI 2020-06-06 02:47:37 +02:00
poka fcede9de86 fix init ssb 2020-06-06 00:39:39 +02:00
poka 99261d36c0 add lib to init scripts 2020-06-06 00:36:44 +02:00
poka b4bdd426a1 Refactor reset_keys scripts 2020-06-06 00:21:07 +02:00
poka 61dfffbcab fix ipfs init alone script 2020-06-06 00:14:13 +02:00
poka a5c9ac52ee Add ipfs init script to pkg 2020-06-06 00:04:06 +02:00
poka 3663dffd58 Add ipfs init script to debug 2020-06-05 23:47:11 +02:00
qo-op 5e4d4f2a3f 80 8021 2020-06-05 19:58:27 +02:00
qo-op 3307529922 vvvv 2020-06-05 19:33:00 +02:00
qo-op cfdc9242d9 https://opencollective.com/monnaie-libre 2020-06-05 19:22:39 +02:00
qo-op 8c5c13142b https://astroport.com/our-developers/index.html 2020-06-05 19:13:45 +02:00
qo-op 98b294968f lines are changing 2020-06-05 19:12:22 +02:00
qo-op 6c10b182c9 il ne reste presque rien à finir... pour terminer Astroport ensemble 2020-06-05 18:58:58 +02:00
qo-op 06f59821e9 ^3000 2020-06-05 18:33:54 +02:00
qo-op 1ba3349fc9 wlcemnds 2020-06-05 18:24:59 +02:00
qo-op 803794199b " : 2020-06-05 18:06:05 +02:00
qo-op 7db9124c28 Jeu de société 2020-06-05 18:00:16 +02:00
qo-op 85c6bc6349 move donation G1 2020-06-05 17:56:27 +02:00
qo-op d310bbcf78 astroport logo merci @attilax 2020-06-05 17:54:10 +02:00
qo-op cbf971eacd coming slowly 2020-06-05 17:48:13 +02:00
qo-op da9434e6a7 - Exemples de services activables sur votre Station Astroport - 2020-06-05 17:23:53 +02:00
qo-op 5568d586a8 A_money 2020-06-05 17:21:52 +02:00
qo-op 9fe206e66a Station "saveur" : G1sms 2020-06-05 17:20:28 +02:00
qo-op 68851fafcd son réseau anoptique restaure la paix. 2020-06-05 17:03:01 +02:00
qo-op 8e1f51fcda Tu recevras une clef pour te libérer des services privés du vieux monde 2020-06-05 16:41:30 +02:00
poka 317b629934 Add piwik following 2020-06-05 13:17:58 +02:00
poka d71a7dcb43 Change socials network links 2020-06-05 13:12:50 +02:00
poka 68d7a19f85 Add piwik following 2020-06-05 12:37:14 +02:00
poka aebc6d2404 Add piwik following 2020-06-05 12:34:07 +02:00
qo-op 5101b4f16e commit 2020-06-04 16:32:17 +02:00
poka c4ca80e045 Fix text 2020-06-04 16:29:46 +02:00
poka ea3c90b822 correctly kill ssb-server 2020-06-04 16:23:35 +02:00
poka 3e0469f94c Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-04 16:19:29 +02:00
poka 5015ba21e4 correctly kill ssb-server 2020-06-04 16:19:22 +02:00
qo-op 49bfecdfa5 TODO use sbotc message to benefit from ./zen/ssb_GET_zenyta.sh harvesting 2020-06-04 16:14:51 +02:00
qo-op 1abbc5bc3e youtube-dl goes to your localhost mpd jukebox 2020-06-04 16:09:03 +02:00
qo-op 66d8e04f45 su $YOU -c mkdir -p /home/$YOU/.zen/music/${artist}/${song}/ 2020-06-04 16:07:23 +02:00
poka 3dbc6ee5b4 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-04 16:04:00 +02:00
poka 59a437a985 open browser tabs 2020-06-04 16:03:50 +02:00
qo-op d38037b087 [[ $er ]] && echo $er 2020-06-04 15:49:29 +02:00
qo-op 448fea3844 /home/$YOU/ 2020-06-04 15:46:32 +02:00
qo-op d3bc8293f1 http://localhost:10010/_CopyLaRadio 2020-06-04 15:37:49 +02:00
qo-op 1ff8cfc231 event.target.port=10010 change port 2020-06-04 15:34:41 +02:00
qo-op 0a792d96e9 ./_CopyLaRadio/youtube-dl.php 2020-06-04 15:24:51 +02:00
qo-op 9c3a5ee2ba www/LOVELand/_CopyLaRadio/youtube-dl.php 2020-06-04 15:21:02 +02:00
poka 77854bd1e8 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-04 15:13:00 +02:00
poka af55b644bf disable lan test for oasis 2020-06-04 15:12:55 +02:00
qo-op 47a7f511c5 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-04 15:02:38 +02:00
poka a8d98f2d84 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-04 15:00:19 +02:00
poka 24d9214db4 don't start patchwork 2020-06-04 15:00:16 +02:00
qo-op dca26d3cdf _CopyLaRadio 2020-06-04 14:57:51 +02:00
qo-op ecbf6b090c sync 2020-06-04 14:52:13 +02:00
poka 0103d39cfb Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-04 14:41:19 +02:00
poka 84be32ae06 fix patchwork 2020-06-04 14:41:15 +02:00
qo-op e6bb3d1f87 /home/pi/.zen/astroport/zen/_CopyLaRadio is now /var/www/loveland/_CopyLaRadio 2020-06-04 14:31:36 +02:00
qo-op 19b8c3914e /var/www/loveland/_CopyLaRadio 2020-06-04 14:30:04 +02:00
poka 83e93dafd9 Fix nodename ping test 2020-06-04 14:14:49 +02:00
poka c68c45a2c5 Change way to install patchwork and launch it 2020-06-04 14:08:18 +02:00
poka df051d7c19 Add final test to nodename 2020-06-04 13:07:13 +02:00
qo-op a95046ae0b get zenyta message types received from http://localhost:10011/REC/youtube-dl.php 2020-06-04 06:33:12 +02:00
qo-op 72a6a7bef6 CopyLaRadio sbotc zenyta command 2020-06-04 06:23:22 +02:00
qo-op 02cb67d2b5 /REC 2020-06-04 05:37:43 +02:00
qo-op 188ce403cc Les liens "IPFS" fonctionnent une fois astroport installé sur votre ordinateur. 2020-06-04 04:01:33 +02:00
qo-op 6922f46fb6 Les liens "IPFS" fonctionnent une fois astroport installé sur votre ordinateur. utilisateur pi pour activer les espaces DIY 2020-06-04 03:59:06 +02:00
poka d7164cf2f8 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-04 01:49:06 +02:00
poka 5c6baa8d93 Open loveland in browser 2020-06-04 01:48:59 +02:00
qo-op 82918451ce CodiMD is your PAD, Facebook is closing soon. You are the Internet. Let's do it. 2020-06-04 01:46:27 +02:00
qo-op 430b2cb846 son activation forme un réseau qui restaure la paix 2020-06-04 01:26:46 +02:00
poka d60d40e10c fix nslookup timeout 2020-06-04 00:59:26 +02:00
poka b146a2cab8 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-04 00:53:03 +02:00
poka 1bfe475ffa fix nslookup timeout 2020-06-04 00:52:58 +02:00
qo-op 5488baac1b Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-04 00:24:01 +02:00
poka 270c81d543 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-04 00:23:37 +02:00
qo-op 1d865d2c66 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-04 00:23:33 +02:00
poka 2de3ea65f0 Install patchwork and loveland 2020-06-04 00:23:31 +02:00
qo-op 1f2299476f Rompr config 2020-06-04 00:21:58 +02:00
qo-op 90613312ff Rompr config 2020-06-04 00:21:24 +02:00
qo-op 02d584022b dream catcher. living leaving digital nightmare system 2020-06-04 00:19:58 +02:00
qo-op b20ad96d70 Rompr config 2020-06-04 00:17:13 +02:00
qo-op 0b8d89b9e5 Rompr config 2020-06-04 00:16:27 +02:00
poka fef6d459d7 patch nodename for pingable adress 2020-06-04 00:06:18 +02:00
qo-op 8eb3caa92a carte des Junistes 2020-06-03 22:18:03 +02:00
qo-op 5ca4330691 le robot gentil qui aime jouer à vous aider. 2020-06-03 20:53:10 +02:00
qo-op 6be1fb794a Astroport. le robot gentil qui aime jouer à nous aider.^3000 vous dit bonjour 2020-06-03 20:51:18 +02:00
qo-op 98006d6187 une [PLANETE] Heureu(x)se(s) vers UN Futur PLUS Humain(s) est possible. 2020-06-03 20:48:38 +02:00
qo-op a1ca2449e6 Reçois 3.14 'June' mon ami(e)s 2020-06-03 20:37:55 +02:00
qo-op 91d13bae75 et patiente un peu... tu entres un monde Zen. 2020-06-03 20:35:13 +02:00
qo-op 7dabc096fd là, tu démarres le jeu <br>avec 314 Zen 2020-06-03 20:30:44 +02:00
qo-op 7545a25923 oasis shaping 2020-06-03 20:27:31 +02:00
qo-op d9c10fb529 <br><br><br><br><br><br><br> 2020-06-03 20:19:38 +02:00
qo-op e32c713a40 echo 'vous n avez pas encore de conscience numerique'
echo 'mise a jour de votre systeme... en cours'
        echo 'https://git.p2p.legal/axiom-team/astroport'
2020-06-03 19:56:33 +02:00
qo-op 34ba54d067 push it, push it real hard 2020-06-03 19:17:50 +02:00
qo-op e86e8f0047 Tu vas recevoir une clef... Puis tu vas apprendre à t'en servir. 2020-06-03 18:45:54 +02:00
qo-op e2a26c0d9c clic clac 2020-06-03 18:30:24 +02:00
qo-op 083b86c843 piwik.p2p.legal 2020-06-03 17:39:19 +02:00
qo-op 44389cd31d timeout.sh 2020-06-03 02:09:46 +02:00
qo-op 77e4ad22bd bold 2020-06-03 01:57:14 +02:00
qo-op 626dfeff0e joie 2020-06-02 18:58:37 +02:00
qo-op 2665f169d3 href white style 2020-06-02 18:51:26 +02:00
qo-op 4094fce69f ées ô 2020-06-02 18:45:42 +02:00
qo-op 5d81360cf0 LOVE land 2020-06-02 16:38:38 +02:00
qo-op c9409542f9 remove dependancy 2020-06-02 16:26:55 +02:00
qo-op 76b7a5c8a7 TweenMax.min.js 2020-06-02 16:26:26 +02:00
qo-op 0a1be0349b install alpha base station 2020-06-02 16:09:01 +02:00
qo-op 1ddf4fcd77 Un cube de presque 1 hectare de pixels de coté où vous pourrez bâtir gratuitement 2020-06-02 05:02:07 +02:00
qo-op 9cd4aa5f51 sa structure en essaims, empèche l'extraction de vos données par tout système d'information global 2020-06-02 05:00:39 +02:00
qo-op 2ac30b5551 no video here 2020-06-02 04:46:12 +02:00
qo-op 2883488152 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-06-02 04:39:32 +02:00
qo-op 8e2d6cbccb video background 2020-06-02 04:39:21 +02:00
qo-op a8add2b247 website prepare 2020-06-02 04:38:42 +02:00
poka 57914b08b2 Change footer copyright 2020-06-01 23:05:06 +02:00
qo-op 5c7d6dd9b4 more is better 2020-06-01 22:25:12 +02:00
qo-op 1dc9b1fc0f kill your internet and make it born again 2020-06-01 19:20:09 +02:00
qo-op a042f9d2bc Les possibilités sont sans limites 2020-06-01 16:14:54 +02:00
qo-op 9d7355100d push push push 2020-06-01 16:14:20 +02:00
qo-op 366849ab2d a new day is rising 2020-06-01 05:26:19 +02:00
qo-op a6664f4e40 engine warming up 2020-06-01 05:04:39 +02:00
qo-op 579efc64b5 wooooooo 2020-06-01 04:27:12 +02:00
qo-op 9c28d9c421 page building 2020-06-01 02:39:34 +02:00
qo-op cf989e21eb astroport loveland 2020-06-01 01:21:00 +02:00
qo-op e1d65e0f88 cleaning future astroport launch 2020-06-01 01:13:31 +02:00
qo-op 81ac3ced98 logo 2020-05-31 23:19:36 +02:00
qo-op 5e05ed73dc logo 2020-05-31 23:17:24 +02:00
qo-op 27c8d0f7a5 youpi 2020-05-31 23:16:28 +02:00
poka 42cde56ee4 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-31 23:14:21 +02:00
poka 06a3c64e7e Add partenairs to A site 2020-05-31 23:14:16 +02:00
qo-op 6204ac01ae Aaa 2020-05-31 22:42:34 +02:00
qo-op fc1b2ab287 translate & adapt 2020-05-31 22:32:22 +02:00
qo-op 0a279fb673 A 2020-05-31 21:38:18 +02:00
qo-op f5f7a59293 Solving the angel problem 2020-05-31 13:12:04 +02:00
qo-op 5efeb4233c jq silkaj problem solved 2020-05-29 17:43:20 +02:00
qo-op 6e3f8e1ba0 sudo ipfs-update install 0.5.1 2020-05-29 16:53:22 +02:00
qo-op ea312009b1 hyperweb is waiting for you 2020-05-29 15:32:16 +02:00
qo-op e273f9ca95 TODO AKE DOUBLE AUTH.... !!! before creating account. 2020-05-29 03:04:34 +02:00
qo-op 436e23d691 Utilisez vos identifiants dans Cesium et Gchange pour activer votre clef... 2020-05-29 02:58:43 +02:00
qo-op 9573c4382d just make it right this time 2020-05-29 02:53:46 +02:00
qo-op 3651351701 duniter-g1.p2p.legal 2020-05-28 21:07:10 +02:00
qo-op 6f8535a440 [Astroport] Clefs 2020-05-28 21:04:29 +02:00
qo-op c37b6c4c1c https://cesium.app 2020-05-28 21:00:16 +02:00
qo-op 2295a91577 / 2020-05-28 20:56:31 +02:00
qo-op 9320d5e906 Astroport 2020-05-28 20:54:06 +02:00
qo-op 1940be248f Unités monétaires Libres disponibles 2020-05-28 20:50:55 +02:00
qo-op 00a8b8ab36 DNowWi2znAKJpzxR1z5EKm7cU7rfySzihJ2Gzbdp78Sx G1PUb 2020-05-28 20:43:25 +02:00
qo-op ad5a916312 g1sms connect 2020-05-28 20:38:53 +02:00
qo-op 0330d5c087 PHONE control SMS 2020-05-28 20:34:39 +02:00
qo-op b67b3733b1 log > /dev/null 2020-05-28 20:22:16 +02:00
qo-op c7b5d2fa4e YOU and IPFSNODEID coming from init.sh 2020-05-28 20:17:15 +02:00
qo-op 1de65f9612 LOVE bank 2020-05-28 20:11:22 +02:00
qo-op 1752c23917 last row 2020-05-28 20:07:35 +02:00
qo-op 41f8ad49c8 ugly patch. 2020-05-28 20:06:02 +02:00
qo-op 3d2be75fec pubkey from dunikey 2020-05-28 20:00:30 +02:00
qo-op b270216e4d escape 2020-05-28 19:52:53 +02:00
qo-op e532f9a066 g1barre 2020-05-28 18:26:03 +02:00
qo-op 2266bf3b7e git in git is git problem 2020-05-28 18:24:46 +02:00
qo-op ea71477627 g1barre 2020-05-28 18:22:10 +02:00
qo-op 05b1971710 LOG g1SMS Station to /tmp/g1sms.log 2020-05-28 18:14:46 +02:00
qo-op 0481948db8 SMS COMMAND from LOVELAND entrance 2020-05-28 17:55:06 +02:00
qo-op 12ffbf5d97 CREATE g1sms WALLET 2020-05-28 17:49:55 +02:00
qo-op b0de34e30c add station wallet finance bar - TODO adapt php to LOVELand 2020-05-28 17:36:24 +02:00
qo-op f1dc8af4e1 Add ssb-server to OASIS 2020-05-28 17:27:27 +02:00
qo-op 681ae26d26 install ssb-server ## ADD SSB-SERVER FOR PRIVATE SSB MESSAGING (TODO: integrate Feedless modules on LOVELand Portal) 2020-05-28 17:12:15 +02:00
qo-op 9c31bf6e13 bash is creole language 2020-05-28 17:01:11 +02:00
qo-op dea9c80989 daft punk edit 2020-05-28 16:59:53 +02:00
qo-op 0f0e1d9bd5 iptubes update 2020-05-28 16:10:43 +02:00
qo-op 737415eb49 for hashfile in /tmp/loveland_entrance/* 2020-05-28 16:10:18 +02:00
qo-op c32557d35c which gammu-smsd 2020-05-28 16:07:55 +02:00
qo-op c9f9873642 simple SMS send 2020-05-27 17:44:38 +02:00
qo-op 59d6f745ca about 2020-05-27 16:00:44 +02:00
qo-op d7cfdf9fc3 count=$((count+1)) 2020-05-26 22:06:25 +02:00
qo-op 8931334d51 /tmp/ssb-friends_ALERT.txt 2020-05-26 22:05:11 +02:00
qo-op 480a8c72ff ipfs swarm peers 2020-05-26 21:49:16 +02:00
qo-op 38e4e1e82c private.publish 2020-05-26 21:47:57 +02:00
qo-op 0128b16da0 not a SSB friend trying to connect to IPFS swarm 2020-05-26 21:45:44 +02:00
qo-op 91cdaffbf4 strict SSB/IPFS connection 2020-05-26 21:37:45 +02:00
qo-op bfc5b6048f refresh full bootstrap 2020-05-26 21:33:12 +02:00
qo-op 8d155a01c2 carte personnelle et interactive 2020-05-26 20:51:40 +02:00
qo-op 5e55b1a3cd Construction de votre carte personnelle et interactive du Territoire 2020-05-26 20:26:19 +02:00
qo-op 8cafaeef67 LoveLand 2020-05-26 20:08:29 +02:00
qo-op 9b01a099eb Feedless Map 2020-05-26 20:06:23 +02:00
qo-op 6fa5976f31 Zapp LOVELand ZApp carte interactive 2020-05-26 20:05:58 +02:00
qo-op 4088309869 swarm#0 ADN modification restore 2020-05-26 17:28:09 +02:00
qo-op 052d045644 26 2020-05-26 17:20:23 +02:00
qo-op 53371ed2d9 h 2020-05-26 17:20:02 +02:00
qo-op 3c3f92fac7 bootstrap change 2020-05-26 17:18:47 +02:00
qo-op e043d7c21b TEMP bootsrap refresh 2020-05-26 17:09:13 +02:00
qo-op f90ba3f0bc change oasis "ipfs id" 2020-05-26 17:01:07 +02:00
qo-op 38d2ef5488 fd42:feed:feed:feed openvpn filtering 2020-05-26 16:47:07 +02:00
qo-op 946293a869 Oeuvre dynamique en Intelligence Collective 2020-05-26 12:30:01 +02:00
qo-op b342fddb3f REC done by REC Machine 2020-05-26 04:32:57 +02:00
qo-op 94e9b4f849 24 2020-05-26 04:20:31 +02:00
qo-op 07c76661cc 72 2020-05-26 04:20:00 +02:00
qo-op 9e4824087c 48 hours 2020-05-26 04:16:18 +02:00
qo-op 7419b2518b lltag -a "$artist" -A "$album" -t "$fulltitle" "~/.zen/audio/$fulltitle.mp3" 2020-05-26 04:14:33 +02:00
qo-op 465e9e85b2 mv "$MP3" "~/.zen/audio/$fulltitle.mp3" 2020-05-26 04:11:42 +02:00
qo-op d8c7725ec5 mesure et mp3 tagging 2020-05-26 04:03:16 +02:00
qo-op 8a13c26f91 Actual Internet is a place full of virus 2020-05-25 23:23:16 +02:00
qo-op 1c67ed9a35 Discover "LOVE Land" the 1st Libre Metaverse interface, a living digital space 2020-05-25 23:20:50 +02:00
qo-op 47a518c196 target="astroport" 2020-05-25 23:15:43 +02:00
qo-op 8bc0e5eed7 https://pad.p2p.legal/astroport-BV/slide 2020-05-25 23:04:48 +02:00
qo-op 240eb1a320 target="ipfs" 2020-05-25 23:01:40 +02:00
qo-op 99fee58488 animated gif & ascii art 2020-05-25 23:00:30 +02:00
qo-op 8582694230 Les liens IPFS fonctionnent exclusivement sur une Station faisant partie du Swarm#0 ! 2020-05-25 22:57:32 +02:00
qo-op b5bd8a92c9 Simulation organique = Bio-mimétisme digital de la VIE
Radio, TV, Web... et HyperWeb par et pour les gens
Science et Innovation : Unité de mesure, Jeu Ange/Démon, ...
2020-05-25 22:45:13 +02:00
qo-op bb06918710 LOVE Land - is LIFE - is LOVE 2020-05-25 22:38:02 +02:00
qo-op 9a7202e9e0 ipfstryme NOT isLAN FROM tail, v4, v6 2020-05-25 21:38:25 +02:00
qo-op 95c7e1d21e ipfstryme correction + ipfstrymev6 addition in SSB feed 2020-05-25 21:24:33 +02:00
qo-op 099b049825 REMOVE youtube-dl -> loveland.sh JOB 2020-05-23 18:31:15 +02:00
qo-op aafd1b2104 00:01 7th of the month => reevaluate Datastore.StorageMax $diskSize 2020-05-23 18:21:57 +02:00
qo-op aecfde52ec loveland is getting beautiful 2020-05-23 18:14:44 +02:00
qo-op 3c226be0b7 $USER = $YOU 2020-05-23 18:10:10 +02:00
qo-op ac88b5f642 ipfs p2p PROPAGATION WITH 'zen/ipfs_OPEN_ports.sh' 2020-05-23 17:31:32 +02:00
qo-op 54763906ac g1sms_proxy.conf 2020-05-23 17:15:42 +02:00
qo-op 3656b2e71a LHOST instead of LPORT 2020-05-23 14:51:11 +02:00
qo-op a122561e48 http://nodename:10099/ = double auth 2020-05-23 05:02:58 +02:00
qo-op f93275edfe host:10099 -> ipfs p2p localhost:10097 2020-05-23 05:02:11 +02:00
qo-op 98c50e06e2 LOVELAND ENTRANCE RECEIVED 2020-05-23 04:07:37 +02:00
qo-op 8da5e36b75 cron $PATH correction 2020-05-23 03:57:01 +02:00
qo-op 60e7d9ec17 mkdir("/tmp/loveland_entrance"); 2020-05-23 03:49:00 +02:00
qo-op bcbb2ed11c sms_loveland.php 2020-05-23 03:40:03 +02:00
qo-op f31891acb6 g1sms LOVELAND ENTRANCE published on http://127.0.0.1:10099/sms_loveland.php 2020-05-23 03:28:26 +02:00
qo-op 41693e8b00 ipfs p2p forward g1sms:10099 to all swarm node 2020-05-23 03:05:05 +02:00
qo-op 135f4647c9 g1sms 2020-05-23 02:24:49 +02:00
qo-op 5cb9809df2 G1SMS loveland entrance localhost:10099 ("ipfs p2p" forwarded) 2020-05-23 02:20:43 +02:00
qo-op 5c635d0a13 www/LOVELand/g1sms/ 2020-05-23 02:14:39 +02:00
qo-op a6ba0d7b65 lalala 2020-05-23 00:32:12 +02:00
qo-op 7b3f403a3d hop la 2020-05-23 00:31:17 +02:00
qo-op d5d5edda0d rewriting chapters 2020-05-23 00:06:53 +02:00
qo-op e0e44ca529 cleaning 2020-05-22 23:55:27 +02:00
qo-op 619ece36eb count=$((count+1)) 2020-05-22 23:38:57 +02:00
qo-op ae0dfdc48a ............. 2020-05-22 23:14:38 +02:00
qo-op e489a73efa astroport.frama.site 2020-05-22 23:05:34 +02:00
qo-op 9b24d19788 astroport.frama.site 2020-05-22 22:59:04 +02:00
qo-op 17d4e1faab g1.le-sou.org 2020-05-22 17:23:09 +02:00
qo-op 6bb21d6225 souveraineté 2020-05-22 17:21:45 +02:00
poka acf10ca9ef [Nestcloud] Fix php version 2020-05-22 17:06:27 +02:00
qo-op 9aa00d692b remove last dot only from reverse lookup 2020-05-22 15:15:03 +02:00
qo-op ab61a64807 better nsloopkup result parsing 2020-05-22 14:56:59 +02:00
qo-op 360097cec0 natools 755 2020-05-22 03:42:59 +02:00
qo-op f981fe62ed natools 755 2020-05-22 03:42:34 +02:00
qo-op 2b638d6995 \ 2020-05-21 21:07:07 +02:00
qo-op 8ff7ff3c50 Passerelle IPFS 2020-05-21 16:09:11 +02:00
qo-op 52bfccb31e french LOVELand 2020-05-21 15:51:30 +02:00
qo-op dfd392597b buttons 2020-05-21 15:49:24 +02:00
qo-op 945261aadb Participating @attilax @poka @josselinchevalay @ben @mlsuyt @tuxmain @qo-op @manutopik @yyy @borispaing @paulart @guenoel @jeanluc @nox @pruls @cel @andrestaltz @Dan ... I have to stop... to many people... 2020-05-21 15:42:39 +02:00
qo-op 430a520142 Grâce aux données extraites du vieux "Web 2.0" 2020-05-21 12:08:39 +02:00
qo-op 89c11dfb73 Interagissons collectivement. Entre amis, tout simplement! 2020-05-21 12:06:40 +02:00
qo-op 78dc7550d2 Une planète vivante où les humains vivent heureux 2020-05-21 12:05:47 +02:00
qo-op 006eab5b0e "Metavers" personnel 2020-05-21 12:04:53 +02:00
qo-op 6fbc55a7ae intelligence collective 2020-05-21 12:04:19 +02:00
qo-op 8475c8ecef nous formons le "LOVE Land" 2020-05-21 12:02:14 +02:00
qo-op f596fb51db Recentré, créé par les Humains qui le compose. 2020-05-21 12:00:55 +02:00
qo-op 88498adaf3 Pour une planète Heureuse 2020-05-21 11:41:28 +02:00
qo-op 1d709d2c38 ipfs task todo/done system + sbotc basic dialog 2020-05-21 11:33:30 +02:00
qo-op afd7c29b7c Pour une planète Heureuse 2020-05-21 11:32:43 +02:00
qo-op 90d54acb30 cleaning done 2020-05-21 02:35:06 +02:00
qo-op a3b2babb33 better convention respect 2020-05-21 02:34:16 +02:00
qo-op f5ddebb252 remove file being in gitignore 2020-05-21 02:11:38 +02:00
qo-op d2ef8d267d df -h ~/.ipfs/ | tail -n 1 | awk '{print $4}' 2020-05-21 01:59:19 +02:00
qo-op d8779b3b4f duniter-g1.p2p.legal 2020-05-21 01:55:54 +02:00
qo-op 2d4752a5b4 port / path correction 2020-05-21 00:53:28 +02:00
qo-op e7d26b4fe2 YOU missing... 2020-05-21 00:50:22 +02:00
qo-op 67006ce3e4 links --public 2020-05-21 00:45:35 +02:00
qo-op 2078666dfa TRY ME 2020-05-21 00:04:07 +02:00
qo-op 61d312a64c adapt 100** service port. & get nodename from IPFS 2020-05-21 00:02:19 +02:00
qo-op 981c650229 upgrade natools.py 2020-05-20 23:42:40 +02:00
poka eb5a7e40ac Fix php-fpm version reload 2020-05-20 22:49:40 +02:00
poka 0a679c753b Replace nodename function in install scripts 2020-05-20 22:32:06 +02:00
poka 5348b4f1dd [install] Try to fix permission for ipfs 2020-05-20 22:14:56 +02:00
qo-op b8d73a60dc lowercase patch 2020-05-20 21:56:04 +02:00
poka 0c1569e5ce [Install] Fix stuff 2020-05-20 21:54:31 +02:00
poka 95088fd166 [Install] Fix ipfs user permissions 2020-05-20 21:24:32 +02:00
poka 16d34f08e4 [Install] Fix ipfs user permissions 2020-05-20 21:22:22 +02:00
poka 0ae43511cf Add options to install 2020-05-20 21:09:22 +02:00
poka 4cdc9bec9a Fix NC 2020-05-20 21:00:12 +02:00
poka 33d8fdb3d0 Fix user open browser 2020-05-20 20:54:01 +02:00
poka ca55490187 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-20 20:48:57 +02:00
poka 31e55f05ae [Improve script reading, fix phpversion in template] 2020-05-20 20:48:49 +02:00
qo-op 1afcea29c1 doc images + jukebox prefs albumart in .gitignore 2020-05-20 20:04:49 +02:00
qo-op 78bc0663b8 + @benoit Version: 0.4 2020-05-20 18:37:59 +02:00
qo-op c0f074de19 add -w option for LAN situation, but WAN access through NAT + never output empty 2020-05-20 18:37:06 +02:00
qo-op f538db2835 fe80::208:a2ff:fe0c:20d8 ipv6 address for oasis.astroport.com bootstrap 2020-05-20 17:53:10 +02:00
qo-op 8f98a16418 ipfs config documentation 2020-05-20 17:51:33 +02:00
qo-op 6e8c671789 In case try nsloopkup timeout => get /etc/hostname 2020-05-20 15:02:00 +02:00
poka d0d36a6f5b Fix install 2020-05-20 03:09:08 +02:00
poka 129cd9f048 Fix install 2020-05-20 03:06:22 +02:00
poka f6eaac0202 Fix install 2020-05-20 03:04:40 +02:00
poka 97ae8a7da7 Fix install 2020-05-20 03:02:57 +02:00
poka fca6751183 Fix install 2020-05-20 02:56:59 +02:00
poka a7b91e26ba Fix install 2020-05-20 02:16:53 +02:00
poka 6738ce8ffa Fix install 2020-05-20 02:10:50 +02:00
poka 7280fe49fb Fix install 2020-05-20 02:06:08 +02:00
poka 14a38a4735 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-20 02:01:28 +02:00
poka 03434728cf Fix install 2020-05-20 02:01:24 +02:00
qo-op aa37de10ec Dans le code!!! Ajoutez vos questions, TODO, idée d'amélioration, question sur ce que fait le code... 2020-05-19 23:01:36 +02:00
qo-op a74f3a99e2 ;event.target.protocol='http:'; 2020-05-19 22:43:20 +02:00
poka f1e5bc7a8f Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-19 22:25:31 +02:00
poka 497002bf4c fix colors 2020-05-19 22:25:25 +02:00
qo-op 8aead95a7e +[[ ! $(which mpd) ]] && sudo apt-get update 2020-05-19 22:20:31 +02:00
qo-op e6a1e2b02c rebug 2020-05-19 22:15:44 +02:00
qo-op c2c82e2df7 bug \ 2020-05-19 22:14:38 +02:00
poka f548387540 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-19 22:09:33 +02:00
poka 21484c09a5 [Nextcloud] add php version detection 2020-05-19 22:09:28 +02:00
qo-op f135d0d842 BUILT FROM GNU CORE BASH TECHNOLOGY 2020-05-19 22:04:14 +02:00
qo-op c9105da738 ipns indexing Node DHT & Zen nano DHT 2020-05-19 22:01:47 +02:00
poka e8cff93034 Fix OS check 2020-05-19 21:28:09 +02:00
poka 843e30551c Fix install NC 2020-05-19 21:17:23 +02:00
poka d9db3073b8 Remove sudo variables ... 2020-05-19 21:05:27 +02:00
poka e81f55d73a Add environment variables for root 2020-05-19 20:54:50 +02:00
poka ef7c7b3355 [nextcloud] little fix 2020-05-19 20:47:35 +02:00
poka 949e5b7a18 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-19 20:43:40 +02:00
poka 412bad810b [Nextcloud] Change php install 2020-05-19 20:43:35 +02:00
qo-op f03cdd6ffb **'Give Your App a Unique Name in your #Swarm0"** 2020-05-19 19:02:05 +02:00
poka 31162f0864 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-19 18:41:06 +02:00
poka 6979edc247 Change environnement variables session 2020-05-19 18:40:50 +02:00
qo-op 0cb99322e7 full relative swarm0 Metaverse is used by Ghost & Gobelins. Blob can be anything. like a coding School... 2020-05-19 18:19:23 +02:00
qo-op 66e4c919fa ZenTAG mechanic is maintaning the Index/DATA relation (chained in time into nano ipns DHT) 2020-05-19 18:15:51 +02:00
qo-op a7cfbe2022 SSB_Stations_Swarm0 2020-05-19 18:12:07 +02:00
qo-op 89733d3899 SSB_Stations_Swarm0 2020-05-19 18:11:09 +02:00
qo-op 0171dd60f3 DOCS - similar concepts & mechanics Samza DB over IPFS 2020-05-19 18:01:05 +02:00
poka 1db58a0160 [Nextcloud] Fix templates folder location 2020-05-19 17:28:20 +02:00
poka 53e52e9b41 [Nextcloud] Fix nodename script location 2020-05-19 17:25:14 +02:00
poka e5d026cf53 Add data-dir in .zen/nextcloud for nextcloud flavor 2020-05-19 17:22:46 +02:00
qo-op 24f2ddc0e7 Industrial Global Economy (now collapsing !?) 2020-05-19 06:18:22 +02:00
qo-op 34333f8b57 The Tomato 🍅 p2p market 2020-05-19 06:16:34 +02:00
qo-op a8228fa1a6 [**DEMO #Swarm0**](https://oasis.astroport.com) 2020-05-19 06:15:13 +02:00
qo-op 21f00b76bc Activate The 100km Metaverse mini-Worlds radar mode and filter information from Transiscope/Gchange 2020-05-19 06:13:49 +02:00
qo-op 6d02feed32 🍅 2020-05-19 06:11:49 +02:00
qo-op 85d40903dc 🍅 2020-05-19 06:10:49 +02:00
qo-op 1450ec74dc better 2020-05-19 06:07:02 +02:00
qo-op 6b18744404 md problem 2020-05-19 05:54:21 +02:00
qo-op f7909e326e astroport is an open protocol telecommunication switch !!! 2020-05-19 05:51:08 +02:00
qo-op 35f8d9f3d8 The Carrot 🥕 making and "Know How" sharing economy example. 2020-05-19 05:37:51 +02:00
qo-op 7863028055 OASIS RULES. App to DApp 1.2.3 2020-05-19 05:07:06 +02:00
qo-op 1e32385e51 https://git.p2p.legal/axiom-team/astroport/src/master/g1sms/Readme.md 2020-05-19 05:05:51 +02:00
qo-op 02cf351c9b /src/master/g1sms/Readme.md 2020-05-19 05:05:02 +02:00
qo-op 8871eb14ba DEMONSTRATION 2020-05-19 04:59:55 +02:00
qo-op 2160de282c hop 2020-05-19 04:57:11 +02:00
qo-op c0c00aa369 LA PUnTA 2020-05-19 02:39:21 +02:00
qo-op b32f241265 LA PUTA 2020-05-19 02:39:03 +02:00
qo-op b39e994479 GROGol traduction 2020-05-19 02:26:21 +02:00
qo-op ef66f622dd Metaverse interface in live buidling process 2020-05-19 02:19:01 +02:00
qo-op e28ceade28 +This is a mesage with love from outer space 2020-05-19 02:14:50 +02:00
qo-op 3e6ba7fcc2 LIFE 2020-05-19 02:10:15 +02:00
qo-op a57fc710c9 it behaves like the blob creature 2020-05-19 02:07:32 +02:00
qo-op 912c1c0773 README and Ask in Issue!!!!! 2020-05-19 02:05:08 +02:00
qo-op c10e4731fc #open-collective-donations 2020-05-18 22:38:06 +02:00
qo-op 6b5e4ba537 WELCOME. Read the code step by step to undertand poor rookie, stop think and think it is. Try, Fail? Think. EVOLVE !!!!
RTFM Bastard. I love U
2020-05-18 22:36:11 +02:00
qo-op 589ac8fd3f mkdir -p /home/$YOU/.zen/ipfs/.$IPFSNODEID/TASK/loveland_entrance 2020-05-18 21:42:44 +02:00
qo-op ca060a51cf ffmpeg -ss 00:00:00.000 -i blob.mp4 -pix_fmt rgb24 -r 10 -s 320x240 -t 00:00:10.000 blob.gif 2020-05-18 07:30:01 +02:00
qo-op 6276aae951 BLOB CREATURE 2020-05-18 07:29:07 +02:00
qo-op 9d1137ff04 10010 2020-05-18 07:15:21 +02:00
qo-op fff0e34ca2 flight programmed at gate zero... 2020-05-18 07:14:02 +02:00
qo-op b4313d6b36 Feedless 2020-05-18 07:08:22 +02:00
qo-op 79cc0de1ca /tmp/oasis.conf 2020-05-18 07:01:57 +02:00
qo-op aef8d7b5a2 NODENAME=$nodename 2020-05-18 06:55:39 +02:00
qo-op 0d201be50b loveland 2020-05-18 06:49:21 +02:00
qo-op 05c339c041 __ ____ _ __________ __
/ /   / __ \ |  / / ____/ /   ____ _____  ____/ /
  / /   / / / / | / / __/ / /   / __ `/ __ \/ __  /
 / /___/ /_/ /| |/ / /___/ /___/ /_/ / / / / /_/ /
/_____/\____/ |___/_____/_____/\__,_/_/ /_/\__,_/
2020-05-18 06:45:31 +02:00
qo-op 992be40be0 ./zen/ipfs_SWARM_refresh.sh 2020-05-18 06:38:46 +02:00
qo-op 581eeba35b multiport Love LAND nodename 2020-05-18 05:49:04 +02:00
qo-op 15c9f6eb4b starwars lol www/oasis.conf 2020-05-18 04:35:36 +02:00
qo-op 28f61cd2cb /usr/games/ 2020-05-18 04:02:31 +02:00
qo-op d5466612cb rainbow 2020-05-18 03:58:04 +02:00
poka dd5748cd2c Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-18 00:55:48 +02:00
poka 320ec4907d change ipfs swarm check 2020-05-18 00:55:43 +02:00
qo-op 9b6111cec1 loveland coming... 2020-05-17 23:44:45 +02:00
qo-op 2f5c7d87ce ~/.zen/ipfs/.$ipfsnodeid/G1SSB/_g1.cesium_name 2020-05-17 22:13:55 +02:00
qo-op 8f5a291eab Is "ipfs_swarm/.$id/G1SSB/_ssb.whoami" my SSB friend 2020-05-17 21:21:42 +02:00
qo-op 2d95af9ac0 Astroport datastructure check -> BAN peer 2020-05-17 21:15:35 +02:00
poka 63f5c5ef2b fix ipfs install 2020-05-17 20:59:34 +02:00
poka 1d74d8eb53 fix ipfs install 2020-05-17 20:57:41 +02:00
poka 9698f70ad8 fix ipfs install 2020-05-17 20:54:08 +02:00
poka 2bf7772c76 fix ipfs install 2020-05-17 20:53:07 +02:00
poka 09e8cca92c fix ipfs install 2020-05-17 20:48:50 +02:00
qo-op 6502cde0a0 brut nature 2020-05-17 20:37:49 +02:00
qo-op 48cfc30e9b brut nature 2020-05-17 20:19:32 +02:00
qo-op a0ea409d88 push 2020-05-17 20:18:09 +02:00
poka e45b6da1f1 Fix errors states of ipfs_alone install 2020-05-17 20:05:07 +02:00
poka 958b7183d7 Fix permission in .ipfs folder 2020-05-17 19:58:54 +02:00
poka c0886ef06f Fix install loading 2020-05-17 19:50:29 +02:00
poka d9f5c1a1ef Add Nextcloud flavour 2020-05-17 19:46:59 +02:00
qo-op bb6f39dbf4 ipfs.service template inside EOF (no more curl for it) 2020-05-17 12:04:05 +02:00
qo-op e74a76bfc8 isLAN 2020-05-17 11:56:39 +02:00
qo-op d283e2363d bonjour 2020-05-17 10:43:44 +02:00
qo-op 8d8814c416 DEV 2020-05-17 03:37:29 +02:00
poka 4ea5e78222 install lolcat 2020-05-16 21:22:04 +02:00
qo-op 0e31bf40c1 # [Open Collective DONATIONS](https://opencollective.com/monnaie-libre) 2020-05-16 17:07:43 +02:00
qo-op f43af98271 Devil/angel Game resolver 2020-05-16 16:59:49 +02:00
qo-op 6c789e8bcd Astroport Similar Organic Life Form : Blob creature 2020-05-16 16:54:34 +02:00
qo-op 26e1fb82cf chamalow onboarding 2020-05-16 16:52:35 +02:00
qo-op 80ec25371f Then A, B, C, D, E, F, G, H, I, J, K, ... and as much as it has to be can share knwowledge and tanforms (-) into (+) 2020-05-16 15:45:23 +02:00
qo-op a2450b8a96 protocol not defined yet 2020-05-16 15:43:28 +02:00
qo-op e0fd676523 Traduction GROgol 2020-05-16 15:36:14 +02:00
qo-op 8c65f05b6e (-) + (+) + (+) = (+) 2020-05-16 15:34:10 +02:00
qo-op 958194dfc2 translations 2020-05-16 15:30:51 +02:00
qo-op b347664a15 OASIS RULES 2020-05-16 15:28:00 +02:00
qo-op a1c6c12414 [Latest version HERE](https://git.p2p.legal/axiom-team/astroport/src/master/g1sms/Readme.md) 2020-05-16 15:26:01 +02:00
qo-op b36d9be460 To replace "\+33" whith "\+_YOUR_COUNTRY_CODE_", please run
grep -rl '\+33' ./  | xargs sed -i 's/\+33/\+_YOUR_COUNTRY_CODE_/g'
2020-05-16 15:22:05 +02:00
qo-op e38f6ce438 include important tools in ```/usr/local/bin``` for easy use from all system 2020-05-16 15:18:28 +02:00
qo-op fb2afd4cb2 🥕 2020-05-16 15:01:12 +02:00
qo-op b024d779df showme 2020-05-16 14:45:52 +02:00
qo-op 8eba0bae48 explanations 2020-05-16 14:39:04 +02:00
qo-op 5914cf2731 OASIS RULES 2020-05-16 14:30:19 +02:00
qo-op aeaf0f847f biologic 2020-05-16 06:30:33 +02:00
qo-op 168c9a2b12 TODO make gif tu push to SSB 2020-05-16 06:28:12 +02:00
qo-op cb63dfabc9 Blob 2020-05-16 06:22:44 +02:00
qo-op c051222145 http://localhost:10010 2020-05-16 06:19:08 +02:00
qo-op 18b0122fa4 # Blind Test
http://bafybeih7db77yipxh2rafynjj3dj262b2giuel4f52qq2ibvzhy3l2rvgu.ipfs.localhost:8080/rb4-oOKIZQ8.mp3

Could you listen to this track? HOURA!!!
Then your Astroport Station is active and is or have been connected to #Swarm0
2020-05-16 06:03:22 +02:00
qo-op 63b3673e6b nodename Core command used to find make http://$NODENAME:10010 Portal 2020-05-16 05:29:15 +02:00
qo-op e52bccb7ef add your flavour to the Astroport. 2020-05-16 05:27:31 +02:00
qo-op 6c9052b8bf Zicmama Layer 2020-05-16 04:48:11 +02:00
qo-op ac2b9d5436 MIZ quality OK 2020-05-16 04:38:04 +02:00
qo-op 9a7cad52c5 microservice ready 2020-05-16 04:37:10 +02:00
poka 3acaaab735 Add sleep before swarm peers check 2020-05-16 00:44:50 +02:00
poka b5e04430e4 Fix .ipfs owner to good place 2020-05-15 22:06:21 +02:00
poka ec8586cc8f Update main install 2020-05-15 22:02:32 +02:00
poka 2a61947521 Add ipfs install requirement fresh Ubuntu 20 2020-05-15 21:34:41 +02:00
qo-op 05bc86cc99 iptubes and ssb-g1-tip upgrade 2020-05-15 06:47:44 +02:00
qo-op d8afaa48b8 RompR prefs 2020-05-15 06:46:27 +02:00
qo-op 4713c4cd95 echo $nodename | lolcat 2020-05-15 06:07:24 +02:00
qo-op 17d946540f my name is 2020-05-15 06:06:28 +02:00
qo-op a94c895cb0 loveland find nodename clean 2020-05-15 06:03:38 +02:00
qo-op 8d6c62fbcf 404 correction 2020-05-15 04:47:16 +02:00
qo-op 8e33140d34 lolcat - rainbow coloring for text 2020-05-15 04:36:26 +02:00
qo-op 70e5bfbfc4 Automatic nodename finding | lolcat 2020-05-15 04:23:47 +02:00
qo-op c666def88b It behaves like The "BLOB creature" 2020-05-14 17:36:05 +02:00
qo-op 4141c43313 yes you can 2020-05-14 16:40:34 +02:00
qo-op 2b9749fd25 ONLY nginx is supported. 2020-05-14 14:10:27 +02:00
qo-op 3e1316843b Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-14 14:03:58 +02:00
qo-op 2440549d81 RompR jukebox default config 2020-05-14 14:03:29 +02:00
qo-op 37b6f2e7d0 little better LAN / WAN install difference 2020-05-14 13:55:43 +02:00
qo-op 002b3bd3e8 SWARM refresh 2020-05-14 11:51:25 +02:00
qo-op 7f9c02fb71 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-14 05:28:42 +02:00
qo-op fc39a013d7 RompR jukebox default DB 2020-05-14 05:28:26 +02:00
qo-op 5bb418d5f5 Disabling default website 2020-05-14 05:20:57 +02:00
qo-op 81df841503 personal local exchange radar 2020-05-14 05:11:55 +02:00
qo-op 4085d26aa6 ### 2020-05-14 04:35:02 +02:00
qo-op c25f47f931 Portal - LOVELand - Interface 2020-05-14 04:33:31 +02:00
qo-op c416ea299b Chat with us 2020-05-14 04:25:44 +02:00
qo-op 605e6e8277 KEEP COOL, BE SAFE, BE FREE 2020-05-14 04:24:48 +02:00
qo-op 14a87054d8 *$+==-ol 2020-05-14 04:22:45 +02:00
qo-op 74ed87d1c2 +++ 2020-05-14 04:12:13 +02:00
qo-op 5900f8a8a2 readme 2020-05-14 04:06:03 +02:00
poka 24429ba1f5 Add transiscope scraping and add .gitignore file ... 2020-05-14 03:56:31 +02:00
qo-op 3a97143d5d LOVE Land 2020-05-14 03:06:54 +02:00
qo-op c76f07c929 my June 2020-05-14 03:02:46 +02:00
qo-op 1763e7a78e myJune 2020-05-14 02:59:13 +02:00
qo-op 4bee219be5 ASTROPORT
onelove
2020-05-14 02:41:09 +02:00
qo-op 196cef461e <div id="phoneresultat">
<br><h4>LIBRE<br>vers un Futur plus Humain</h4>
				</div>
2020-05-14 02:38:06 +02:00
qo-op b0d7935d70 nodename 2020-05-14 02:18:00 +02:00
qo-op c8d90cd1b1 REstarting OASIS 2020-05-14 02:10:45 +02:00
qo-op 93681011a4 TRY ME 2020-05-14 02:00:56 +02:00
qo-op 97a5277046 .install/loveland.sh 2020-05-14 01:52:35 +02:00
qo-op 2875fa5a41 echo "http://$nodename (TRY ME)" 2020-05-14 01:47:12 +02:00
qo-op a763b288e4 /home/$YOU/.zen/astroport/ 2020-05-14 01:41:37 +02:00
qo-op c173e84ea0 ADD ScuttleButt PUB Invitation 2020-05-14 01:34:16 +02:00
qo-op 4e6f79e34d oasis.astroport.com PUB invitation 2020-05-14 01:32:07 +02:00
qo-op c8262d2c5f Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-14 01:03:50 +02:00
qo-op 1f43665dae read nodename 2020-05-14 01:03:41 +02:00
poka 2ba19df078 Remove sudo from pip3 install base58 2020-05-14 00:50:24 +02:00
qo-op d554fe8912 read nodename 2020-05-14 00:47:30 +02:00
poka 9f4408e599 attifix: export correctly nvm path 2020-05-14 00:16:21 +02:00
poka 7449f56419 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-14 00:09:08 +02:00
poka 128515c958 attifix: export correctly nvm path 2020-05-14 00:09:01 +02:00
poka 4d9f398850 Mettre à jour 'README.md' 2020-05-13 23:32:58 +02:00
qo-op 3e252acd40 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-05-13 23:27:59 +02:00
poka 9b74522e21 check npm with node for nvm 2020-05-13 23:27:29 +02:00
qo-op c6fe403853 beautiful 2020-05-13 23:27:29 +02:00
qo-op 565f3024c1 bad sudo 2020-05-13 23:04:17 +02:00
qo-op 52366218b9 Love land entrance opening 2020-05-13 22:58:10 +02:00
qo-op 4d0151cce8 scan SWARM & LOCAL 2020-05-13 20:44:38 +02:00
qo-op eb85c057ac mix up 2020-05-13 20:37:04 +02:00
qo-op 70fbbd0d1b Station entrance 2020-05-13 15:09:53 +02:00
qo-op c27a25776f activation imminente 2020-05-13 13:34:32 +02:00
qo-op fcc852da4f FlipClock.js 2020-05-13 13:25:33 +02:00
qo-op 64a11defda big blue buttons 2020-05-13 13:12:33 +02:00
qo-op 8e27bddede phone 2020-05-13 13:07:45 +02:00
qo-op 37c52668a2 loveland ajax 2020-05-13 13:04:49 +02:00
qo-op 1c46253d38 good morning 2020-05-13 13:03:56 +02:00
qo-op eb1f4e922c plenty little good things 2020-05-12 23:25:52 +02:00
qo-op 0b4c9a0169 multipass 2020-05-12 23:02:53 +02:00
qo-op 9bf088794a ¯\_༼<O͡〰o>༽_/¯ 2020-05-12 22:47:43 +02:00
qo-op 3a020f68d6 "$PHONE: >>> $(date)" 2020-05-12 22:45:29 +02:00
qo-op 7f1d829bf9 PHONE & g1sms root access 2020-05-12 22:43:29 +02:00
qo-op 80f424bb2f multiple corrections 2020-05-12 22:37:53 +02:00
qo-op b97905593d MY_PATH problem 2020-05-12 22:27:45 +02:00
qo-op d0f1b8ae36 sms double auth test#0 2020-05-12 22:26:45 +02:00
qo-op 2915768d6c correct diskperf display bug with . or , 2020-05-12 18:55:17 +02:00
qo-op 9634353e45 qrcode in about 2020-05-12 18:46:41 +02:00
qo-op b21073ea51 tag_ code rewriting 2020-05-12 17:21:28 +02:00
qo-op 9ed4cee1ce chown -R $YOU ~/.zen/g1sms_wallets/$PHONE & silkaj call rewrite 2020-05-12 17:21:02 +02:00
qo-op 61dbe01702 LoveLand
Experimental Multimedia Layer.
2020-05-12 16:57:08 +02:00
qo-op 350cf8f4d2 KEEP COOL & BE FREE 2020-05-12 16:53:40 +02:00
qo-op 3811f2df59 KEEP COOL & BE FREE 2020-05-12 16:53:19 +02:00
qo-op 9336b86e11 HyperWeb 5D - Metavers Numérique Ultime! 2020-05-12 16:49:32 +02:00
qo-op 4fee646995 BACKUP YOUR KEYS! 2020-05-12 16:38:14 +02:00
qo-op dfd9cb8d71 your "Virtual Private ipfs Swarm" with scuttlebutt friends 2020-05-12 16:33:09 +02:00
qo-op b5ba9b2ecc Ici nul privilège autre que celui consciemment transmis 2020-05-12 16:30:13 +02:00
qo-op 99442301be #Swarm0 your "Virtual Private ipfs Swarm" with friends 2020-05-12 16:26:49 +02:00
qo-op 3c0745382f README PLEASE 2020-05-12 16:21:54 +02:00
qo-op 19f752b0f9 best how to 2020-05-12 16:21:01 +02:00
qo-op 50d140b5dc curl replace wget 2020-05-12 15:18:04 +02:00
qo-op 83d223a8e2 curl instead of wget 2020-05-12 15:16:04 +02:00
qo-op e3255ade04 TOP 2020-05-12 13:18:46 +02:00
qo-op 374b2b39e6 Entre amis, tout simplement! 2020-05-12 13:17:22 +02:00
qo-op 2546b16b34 web2.0 -> hyperweb 2020-05-12 13:11:30 +02:00
qo-op 1f95a525cb love 2020-05-12 13:10:28 +02:00
qo-op 5678ead2ea Terroir numérique 2020-05-12 13:10:00 +02:00
qo-op 5743200cdd unique à chacun 2020-05-12 13:08:05 +02:00
qo-op b9662216e9 Votre système d'information 2020-05-12 13:02:25 +02:00
qo-op e70db51394 LoveLand carte 2020-05-12 12:57:28 +02:00
qo-op ccd11a17fa REC 2020-05-12 12:30:30 +02:00
qo-op 12efd2572a HyperWeb 2020-05-12 12:24:27 +02:00
qo-op 944a8225fc favicon 2020-05-12 12:22:49 +02:00
qo-op 23e1d9b25b Univers Numérique et Réel 2020-05-12 11:20:24 +02:00
qo-op dfe9a69670 LIBRE 2020-05-12 11:16:08 +02:00
qo-op 2270745bdf Gratuit! 2020-05-12 11:13:42 +02:00
qo-op 4c59ee3106 Monde Collaboratif! 2020-05-12 11:12:39 +02:00
qo-op c113dab74e Un monde Libre 2020-05-12 11:10:28 +02:00
qo-op 8df1cca53f log_history 2020-05-12 11:01:52 +02:00
qo-op c0a9df43dc ONE LOVE 2020-05-12 04:06:00 +02:00
qo-op a1c4b051cd ¯\_༼<O͡〰o>༽_/¯ 2020-05-12 04:00:45 +02:00
qo-op be17c0f7df sudo pip3 install silkaj 2020-05-12 03:58:32 +02:00
qo-op aa00c22b6e natools PATH for g1sms gammu root access 2020-05-12 03:56:22 +02:00
qo-op de955d2e97 debug 2020-05-12 02:54:33 +02:00
qo-op ac5bf8a0f5 log 2020-05-12 02:48:45 +02:00
qo-op dce2486d9c path 2020-05-12 01:36:54 +01:00
qo-op af9cfab60d PUBKEY verif 2020-05-12 02:25:03 +02:00
qo-op 86b61ca40a zen/tools/key_create_dunikey.py 2020-05-12 02:21:10 +02:00
qo-op 4f32aed390 PATH extension 2020-05-12 02:16:27 +02:00
qo-op ce832d16d9 clean up 2020-05-12 02:10:26 +02:00
qo-op a976a4f3e2 export 2020-05-12 02:03:23 +02:00
qo-op 9cd70a0847 export 2020-05-12 02:01:55 +02:00
qo-op 7f1729d77f debug -x 2020-05-12 01:50:53 +02:00
qo-op 62b740b953 silkaj_balance 2020-05-12 01:48:20 +02:00
qo-op da8a0d4f23 sort -u 2020-05-12 01:33:29 +02:00
qo-op a806dfc6fb YOU 2020-05-12 01:17:16 +02:00
qo-op fe807e4f09 chmod 600 2020-05-12 01:15:39 +02:00
qo-op 7755d97292 compte à rebours 2020-05-12 01:09:52 +02:00
qo-op 0dfbc825b0 oasis menu 2020-05-12 00:50:00 +02:00
qo-op 5668fd05cd redirect 3000 oasis 2020-05-12 00:49:05 +02:00
qo-op 7e8f302cea redirect 3000 oasis 2020-05-12 00:46:20 +02:00
qo-op 16892df733 404 2020-05-12 00:34:10 +02:00
qo-op e24b9db1ed 404 2020-05-12 00:30:57 +02:00
qo-op 66bf16b88b 404 2020-05-12 00:29:39 +02:00
qo-op 3ec0a0daa9 404 2020-05-12 00:27:47 +02:00
qo-op 32c7b111f3 TEST 2020-05-12 00:19:21 +02:00
qo-op 0a3eff0de0 OASIS + JUKEBOX 2020-05-11 22:31:16 +02:00
qo-op dbb1fcf9ed REC 2020-05-11 21:17:30 +02:00
qo-op 9f5b9a7d35 jukebox/REC 2020-05-11 21:10:57 +02:00
qo-op 6029a21e71 jukebox/REC 2020-05-11 21:09:07 +02:00
qo-op f42816ee6a Love Land - HyperWeb collaboratif auto-hébergé entre amis 2020-05-11 20:51:55 +02:00
qo-op 866068634c loveland rocket 2020-05-11 20:37:55 +02:00
qo-op 2da09e4b59 _USER_ 2020-05-11 20:11:49 +02:00
qo-op e769694164 mpd _USER_ 2020-05-11 20:11:03 +02:00
qo-op 71534c7ad1 jukebox albumart and prefs 2020-05-11 20:06:19 +02:00
qo-op 576b19f689 LOVELand 2020-05-11 19:48:18 +02:00
qo-op b59524b999 gchange 2020-05-11 19:45:30 +02:00
qo-op 6dd9e800bc mkdir ~/.zen/cache 2020-05-11 19:38:37 +02:00
qo-op b56d251503 nodename 2020-05-11 18:50:23 +02:00
qo-op f83a9da761 node install 2020-05-11 18:43:33 +02:00
qo-op 5e76b07494 nvm install --lts 2020-05-11 17:26:29 +02:00
qo-op b194e197cd bootstrap 2020-05-11 17:16:00 +02:00
qo-op 262382dfca sudo 2020-05-11 16:58:21 +02:00
qo-op 8148081d7b chown -R $USER:$USER ~/.ipfs 2020-05-11 16:56:09 +02:00
qo-op 8496bd0ab5 777 2020-05-11 16:29:08 +02:00
qo-op dbf6e5616a [[ $YOU == "" ]] && echo "Please run ipfs daemon" && exit 1 2020-05-11 16:02:02 +02:00
qo-op 6d6ce4bde0 Changing /tmp/zen owner 2020-05-11 15:54:23 +02:00
qo-op 8406234bbf YOU 2020-05-11 15:33:58 +02:00
qo-op cf386da8ef echo "I am $(whoami)" 2020-05-11 15:23:40 +02:00
qo-op b46aa7e31e root OR pi 2020-05-11 15:16:32 +02:00
qo-op c38ed7e17f MY_PATH 2020-05-11 15:13:06 +02:00
qo-op e1df300d92 su $YOU 2020-05-11 15:04:53 +02:00
qo-op a77c58543d YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1); 2020-05-11 08:21:08 +02:00
qo-op d3d8c8fb9c ok ? 2020-05-11 08:17:26 +02:00
qo-op 3071befa94 && 2020-05-11 08:08:34 +02:00
qo-op 804b72965a INIT KEYS 2020-05-11 08:07:00 +02:00
qo-op 8087cb5f66 allez 2020-05-11 08:04:24 +02:00
qo-op 5129e8d741 protection 2020-05-11 08:02:28 +02:00
qo-op 6ced07a351 IPFSNODEID 2020-05-11 07:54:32 +02:00
qo-op daa89ece9a $(whoami) 2020-05-11 07:50:53 +02:00
qo-op 261ff28d48 IPFSNODEID 2020-05-11 07:43:16 +02:00
qo-op 632ca11e8c cache "$result" > /tmp/zen/current.duniter for 15mn 2020-05-11 07:33:01 +02:00
qo-op 7f905a45c9 root or $YOU 2020-05-11 07:19:41 +02:00
qo-op 0b47e88c86 bad exit 2020-05-11 07:09:23 +02:00
qo-op 4c202cafe1 grep -rl '~/.zen' ./ | xargs sed -i 's/~/.zen//home/$YOU/.zen/g' 2020-05-11 07:04:18 +02:00
qo-op a07334d544 ~/.zen /home/$YOU 2020-05-11 06:53:41 +02:00
qo-op 77d59c281e SMSMAIL 2020-05-11 06:49:28 +02:00
qo-op a6b706e0a3 silkaj_balance 2020-05-11 06:44:21 +02:00
qo-op 6c778825f0 PIN & MAIL 2020-05-11 06:26:59 +02:00
qo-op 58243fb1e7 ACTIVATE G1SMS WALLET 2020-05-11 06:07:09 +02:00
qo-op 8c1571c246 $YOU is ipfs user 2020-05-11 06:01:47 +02:00
qo-op af7fbf154f INCONNU 2020-05-11 05:49:52 +02:00
qo-op 44ed94821e security 2020-05-11 05:38:41 +02:00
qo-op b2db0c5d49 functions 2020-05-11 05:31:39 +02:00
qo-op c1dcf6a244 Solution to the Angel Problem 2020-05-11 05:22:57 +02:00
qo-op 0ae12ce1c5 [Flash QRCode] 2020-05-11 04:38:36 +02:00
qo-op 3a3b7921aa ssbpub 2020-05-11 04:33:25 +02:00
qo-op 586f1affc7 _g1.avatar.png 2020-05-11 04:30:10 +02:00
qo-op a62f185a2d coma , bug 2020-05-11 04:20:30 +02:00
qo-op 22add45e12 ~/.zen/secret.astroport.key 2020-05-11 03:43:27 +02:00
qo-op 2584c49341 _sms 2020-05-11 03:42:02 +02:00
qo-op 1bac240fae swarm ID 2020-05-11 03:40:27 +02:00
qo-op be80c21c49 sudo gammu-smsd 2020-05-11 03:28:49 +02:00
qo-op f9166a2ff1 || exit 1 2020-05-11 03:08:40 +02:00
qo-op e25956241d ~/.zen/secret.astroport.key 2020-05-11 03:05:26 +02:00
qo-op f564bdf9b0 2020.6.6 ASTROPORT METAVERSE #SWARM0 IDENTITY 2020-05-11 02:56:04 +02:00
qo-op e0f8f81c63 add UIDNA to astroport.key 2020-05-11 02:38:51 +02:00
qo-op df3a7d3199 Now it is time to connect to your friends... 2020-05-11 02:30:54 +02:00
qo-op b47f5e1000 sbotc invite.create 1 2>/dev/null 2020-05-11 02:28:23 +02:00
qo-op ecd589d9eb INVITE=$(sbotc invite.create 1 2>/dev/null) && echo $INVITE 2020-05-11 02:26:53 +02:00
qo-op 56f1d0f329 Starting OASIS 2020-05-11 02:24:02 +02:00
qo-op e832f962f0 INVITATION LINK 2020-05-11 02:22:36 +02:00
qo-op 8fd55c3ecb manifest 2020-05-11 02:17:29 +02:00
qo-op 0403d9aad1 if mode RAZ 2020-05-11 02:15:55 +02:00
qo-op 25dadaab4b RAZ mode 2020-05-11 02:15:04 +02:00
qo-op 70cbfe6ac9 manifest.json for sbotc 2020-05-11 02:12:27 +02:00
qo-op ee96e68946 VOILA 2020-05-11 02:03:10 +02:00
qo-op d355594284 OASIS 2020-05-11 01:55:43 +02:00
qo-op 56ad8b3375 INSTALL & INIT SSB layer... 2020-05-11 01:44:29 +02:00
qo-op 30dac1d768 ipfs.swarm.ipfs.io & bootstrap address: open swarm0 to global 2020-05-11 01:20:22 +02:00
qo-op da17fcf5d2 init g1sms variables & call initkeys 2020-05-11 01:19:09 +02:00
qo-op bfbd44509e G1SMS 2020-05-11 01:16:16 +02:00
qo-op 52e7ddb7bd init g1sms 2020-05-11 00:57:26 +02:00
qo-op afba88130d MODE : COOL, STRAIGHT, ARMORED 2020-05-11 00:29:11 +02:00
qo-op cf0ec6236b zen 2020-05-11 00:16:53 +02:00
qo-op 6e0f5ac836 pi 2020-05-11 00:10:20 +02:00
qo-op 57f9381c58 remove feedless 2020-05-10 23:59:39 +02:00
qo-op adae5acc90 WARNING 2020-05-10 23:58:08 +02:00
qo-op 5b3c9e8ca9 .install/loveland.sh 2020-05-10 23:55:40 +02:00
qo-op e6879b7fbb Map is the Territory 2020-05-10 23:54:57 +02:00
qo-op c2cd235e25 g1billets sms auth 2020-05-10 22:11:47 +02:00
qo-op cc5962091b loveland portal 2020-05-10 21:30:23 +02:00
qo-op 692e2654f7 loveland portal cesium + gchange 2020-05-10 21:29:50 +02:00
qo-op c790ddb804 _PHPVERSION_ 2020-05-10 21:13:36 +02:00
qo-op 2c704b27ac clean www 2020-05-10 20:51:32 +02:00
qo-op 2ec79fd831 LOVE Land 2020-05-10 20:44:20 +02:00
qo-op 2cb875cbe1 The Map is the Territory 2020-05-10 19:59:35 +02:00
qo-op b4557c0096 --pubsec 2020-05-10 19:55:15 +02:00
qo-op 34fbadc08f --pubsec 2020-05-10 19:54:26 +02:00
qo-op e14975ae48 --pubsec 2020-05-10 19:52:16 +02:00
qo-op 30a34e61c7 # TODO crash bad text format ? 2020-05-10 06:30:06 +02:00
qo-op cb0e894f1c ${INLINE} 2020-05-10 06:03:55 +02:00
qo-op e8be466143 stitch get leaflet to big image 2020-05-10 04:24:25 +02:00
qo-op 91b8b57fdc duniter-g1.p2p.legal 2020-05-10 04:02:58 +02:00
qo-op 69e947b185 default duniter 2020-05-10 04:02:03 +02:00
qo-op 29f8b2417d debug 2020-05-10 03:51:50 +02:00
qo-op f3dee8a47b thank you @lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519 2020-05-10 03:28:36 +02:00
qo-op b7e3cd3747 add 1st bootstrap 2020-05-09 21:34:28 +02:00
qo-op a53aece7eb crontab is 2020-05-09 20:32:58 +02:00
qo-op 13a376d128 crontab 2020-05-09 20:31:32 +02:00
qo-op 27d29025fe newline 2020-05-09 20:26:43 +02:00
qo-op c49c16d040 | xargs 2020-05-09 20:23:34 +02:00
qo-op 2c3debbaf2 diceware 2020-05-09 20:20:42 +02:00
qo-op 14c38cd210 diceware correct 2020-05-09 20:19:33 +02:00
qo-op e5451b8737 replace ~/.ssb/secret.dunikey 2020-05-09 20:17:15 +02:00
qo-op 6c8d4aa1be multiline 2020-05-09 20:15:30 +02:00
qo-op ef0d47f1a3 && missing 2020-05-09 20:14:26 +02:00
qo-op 329805f1c3 wrong path 2020-05-09 20:11:53 +02:00
qo-op 9a7a2c5cfe | \ 2020-05-09 19:24:31 +02:00
qo-op 0e828c95d1 multiline | 2020-05-09 19:23:24 +02:00
qo-op 3532438f4e BUG path diceware.sh 2020-05-09 19:14:38 +02:00
qo-op 5665754de4 better sbotc message 2020-05-09 17:30:45 +02:00
qo-op 458aa675d0 ~/.zen/secret.astroport.key 2020-05-09 17:04:29 +02:00
qo-op 3b4723d7b5 astroport entrance 2020-05-09 14:22:21 +02:00
qo-op e0e56d17df ERASE ALL FOR NEW INSTALL 2020-05-09 13:00:09 +02:00
qo-op ae69de2dfe test g1sms 2020-05-09 04:13:09 +02:00
qo-op 12ca523ec3 ipfs key v5 compatible timestamp_uidna 2020-05-09 03:45:14 +02:00
qo-op c427413292 chateau dans le ciel 2020-05-09 03:39:28 +02:00
qo-op dbcb36b4ec DU + Astroport pre launching page + cron_MINUTE = Saveurs logicielles 2020-05-09 03:38:51 +02:00
qo-op db98244be5 oasis g1sms love LAND Key maker 2020-05-09 02:09:19 +02:00
qo-op be2e36134b more secure 2020-05-08 06:31:35 +02:00
qo-op 1280a2d0e9 -d ' ' 2020-05-08 06:05:47 +02:00
qo-op fb1227f07f $MY_PATH/ipfs_SWARM_refresh.sh 2020-05-08 06:02:23 +02:00
qo-op 7b44785ffa $MY_PATH/ipfs_SWARM_refresh.sh 2020-05-08 06:01:45 +02:00
qo-op 51e31038e5 ~/.zen/tag/${AAH}/CONTRACT.sh 2020-05-08 05:57:50 +02:00
qo-op 959852e046 git pull 2020-05-08 04:06:46 +02:00
qo-op 05cca78182 ~/.zen/ipfs_swarm 2020-05-08 03:46:37 +02:00
qo-op 92f3a2138d keyname="${timestamp}_${AA}.key" + ipfs v5 compatible 2020-05-08 02:46:57 +02:00
qo-op dbd1968d56 DEV Otomat blob brain 2020-05-07 17:40:38 +02:00
qo-op 1f4f662c73 Astroport Brain - DEV mood 2020-05-07 17:34:16 +02:00
qo-op a3f083d5e5 tsss 2020-05-07 17:26:15 +02:00
qo-op d15991f18b Change cron_MINUTE.sh cron PATH 2020-05-07 17:02:44 +02:00
qo-op 3a57378c00 G1SMS 97% 2020-05-07 03:14:26 +02:00
qo-op a8c1ee320b G1SMS REWRITE 80% 2020-05-07 02:27:11 +02:00
poka 19a1950f96 fix install 2020-05-06 19:51:32 +02:00
qo-op 04318ec2eb sboc add 2020-05-06 19:42:21 +02:00
qo-op 95c40e4ae9 auto find ipfs id 2020-05-06 19:41:50 +02:00
poka ec48b8e9b2 Fix scuttlebutt adding in git submodule 2020-05-06 17:37:01 +02:00
poka c5caef80ff fix installations problems ... 2020-05-06 17:32:52 +02:00
poka f4d781c0d3 update g1tip 2020-05-06 17:13:38 +02:00
qo-op 5666e8dd5e update g1tip 2020-05-06 17:12:56 +02:00
poka 0093b63d49 update g1tip 2020-05-06 17:12:10 +02:00
Fred dac9d967fc remove sbotc module 2020-05-06 16:56:20 +02:00
poka 04d0082838 Add fork submodule of feedless 2020-05-06 16:19:27 +02:00
poka 60c035c0f6 remove submodule feedless 2020-05-06 16:10:49 +02:00
poka ce2a2a503a test add feedless 2020-05-06 15:55:52 +02:00
poka c52b8308f4 test feedless 2020-05-06 15:50:58 +02:00
qo-op ec67e9f098 ! -f only 2020-05-05 18:32:19 +02:00
qo-op 24173df36f chmod +x diceware.sh 2020-05-05 18:28:18 +02:00
qo-op b409b4a5cb curl -s 2020-05-05 18:19:52 +02:00
qo-op 903c665f6e # INSTALL diceware files 2020-05-05 18:19:24 +02:00
qo-op 2707cf25c9 g1sms cleanup 2020-05-05 04:41:17 +02:00
qo-op 70d345cd9e g1sms/init.sh 2020-05-05 00:34:37 +01:00
qo-op 9d7d675881 s 2020-05-05 01:22:30 +02:00
qo-op 82845a2f4a G1pub 2020-05-04 21:58:04 +01:00
qo-op 0271d2a563 last_ts=$((last_ts + 10)) 2020-05-04 22:49:08 +02:00
qo-op cc93ce86e7 cut youtube-dl service 2020-05-04 22:48:05 +02:00
qo-op b45b26fe94 timestamp 2020-05-04 22:27:13 +02:00
qo-op 1fa2d18211 timestamp ALREADY on NODE ~/.zen/ipfs_swarm/~$CHECKSWARM 2020-05-04 22:22:30 +02:00
qo-op 311a1868a4 6 2020-05-04 22:11:13 +02:00
qo-op 54464e4a27 [[ $messages == "" ]] && exit 1 2020-05-04 22:08:58 +02:00
qo-op 7a058485f8 # #SWARM0 DEV MODE 2020-05-04 21:57:50 +02:00
qo-op 0536d04ccd echo "Hi, i am [$self_name]($self)
last timestamp: $last_ts"
2020-05-04 21:21:57 +02:00
qo-op c94162ce6c tstamp 2020-05-04 21:18:10 +02:00
qo-op 54897dcd84 exit 1 2020-05-04 21:16:24 +02:00
qo-op 0033240294 $MY_PATH/miam_miam.sh "$timestamp" 2020-05-04 20:57:53 +02:00
qo-op d146dfff38 Trustfull QUICKER Solution 2020-05-04 20:39:16 +02:00
qo-op 8a6de5a2c2 grep you forces *you* in URL 2020-05-04 20:22:16 +02:00
qo-op 3d4bca6904 c koi 2020-05-04 19:37:47 +02:00
qo-op e1edcb9abc https://astroport.frama.site/ 2020-05-04 19:36:33 +02:00
qo-op c400e98190 ACTIVATE METAVERSE #SWARM0 INIT SEQUENCE ? 2020-05-04 19:32:36 +02:00
qo-op 94373aee42 #Swamr0 ScuttleButt IPFS Metaverse 2020-05-04 19:31:41 +02:00
qo-op 32c0e38310 activation #Swarm0 Astroport Station 2020-05-04 19:30:17 +02:00
qo-op 8393b79170 When CODE will be ready for release, this links will come from "ipfs get / cat" commands !! 2020-05-04 18:57:40 +02:00
qo-op 10961d1d9f Trustfull QUICKER Solution !! 2020-05-04 18:54:12 +02:00
qo-op e3e4360a85 ipfs files ls /nextcloud 2020-05-04 18:50:15 +02:00
qo-op e5c15be7c2 TRUST @qo-op 2020-05-04 17:05:23 +02:00
qo-op a527d53521 # INSIDE ZEN REACTOR 2020-05-04 16:53:31 +02:00
qo-op d8ebcf65de Swarm#0 2020-05-04 16:30:43 +02:00
qo-op 3925655d98 cd ~/ instead of $HOME 2020-05-04 03:19:27 +02:00
qo-op f5f5a2b06b which node 2020-05-04 03:11:17 +02:00
qo-op 9b75bedc8d error 2020-05-04 03:07:47 +02:00
qo-op 9ad625e4b5 failed to find any peer in table 2020-05-04 02:48:07 +02:00
qo-op f8226124e5 embarquer 2020-05-04 02:10:46 +02:00
qo-op c1134cf127 g1sms 2020-05-04 00:25:21 +02:00
qo-op c1fb80f68b g1sms ipfs swarm & path adaptation 2020-05-03 23:37:47 +02:00
qo-op 4398f5587a Install nvm 2020-05-03 22:51:50 +02:00
qo-op 5b0762af25 price=$(bc -l <<< "scale=2; $price / 100") 2020-05-03 20:38:00 +02:00
qo-op 3bab961076 iptubes 2020-05-03 20:09:55 +02:00
qo-op 78e5c3dc4b Feedless Cabin 2020-05-03 20:05:30 +02:00
qo-op bf351836ce ipfs bootstrap list 2020-05-03 19:58:28 +02:00
qo-op 5867449b76 hoo 2020-05-03 19:13:59 +02:00
qo-op c495aa258c UNIVERSE details 2020-05-03 19:11:31 +02:00
qo-op 5ecdf88e05 nice 2020-05-03 19:08:25 +02:00
qo-op 1a01f9ad40 readme 2020-05-03 18:52:14 +02:00
qo-op adf942369c zen_MAKE 2020-05-03 18:26:49 +02:00
qo-op 5984513194 extra features 🛸 2020-05-03 18:20:25 +02:00
qo-op 99e04fd67b \n 2020-05-03 18:19:22 +02:00
qo-op c675a5a50e EVERYTHING OK 2020-05-03 18:17:30 +02:00
qo-op b48e43cf94 ipfs daemon already running. EVERYTHING OK! 2020-05-03 18:14:41 +02:00
qo-op bb9ee1254d Now RUN it 2020-05-03 18:11:04 +02:00
qo-op 0d2079ad46 ipfs-update.tar.gz 2020-05-03 18:05:52 +02:00
qo-op 4324c740dd MACHINE_TYPE is not supported yet 2020-05-03 18:03:39 +02:00
qo-op 2706472e79 LOVEBank/index.html 2020-05-03 16:41:04 +02:00
qo-op 9b38e6057b ASTROPORT 2020-05-03 13:28:25 +02:00
qo-op 65b9b31a11 cabin 2020-05-03 13:20:07 +02:00
qo-op bacb235f0b METAVERSE 2020-05-03 04:37:40 +02:00
qo-op b66866ba9b keep updated 2020-05-03 04:26:23 +02:00
qo-op 4832aaad84 DEV 2020-05-03 04:22:27 +02:00
qo-op fcbbf0515d ## TODO AUTOMATIC PUBLISHING \n problem ?? 2020-05-03 04:11:38 +02:00
qo-op cfc810d8bf [[ $(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) ]] || echo "ipfs failure" && exit 1 2020-05-03 02:47:03 +02:00
qo-op 8e80803b27 gchange 2020-05-03 02:17:09 +02:00
qo-op 93c59997bc imagemagick 2020-05-03 01:09:32 +02:00
qo-op 15c6fd2c15 intro 2020-05-03 01:06:49 +02:00
qo-op eb551c467e ssb sleep 2020-05-03 01:02:05 +02:00
qo-op ed02c53f64 youtube-dl 2020-05-03 01:00:38 +02:00
qo-op 29fd90ea88 options INI 2020-05-03 00:39:33 +02:00
qo-op f4f5843721 read letsgo 2020-05-03 00:33:07 +02:00
qo-op 22e898775d old print method 2020-05-03 00:13:21 +02:00
qo-op 584169ed8d .ssb 2020-05-03 00:00:16 +02:00
qo-op 4c20015af8 ./installA.sh 2020-05-02 04:16:56 +02:00
qo-op 6e746ab578 rm -f ~/.ssb/secret 2020-05-02 04:09:35 +02:00
qo-op 7fbdc0e34d # and Try again..." && exit 1 2020-05-02 04:08:22 +02:00
qo-op d76d06cf20 ACTIVATE INIT SEQUENCE ? 2020-05-02 04:07:28 +02:00
qo-op 7039557ede Send ideas 2020-05-02 04:04:49 +02:00
qo-op ed1312487e astroport basic commands 2020-05-02 03:57:49 +02:00
qo-op 567ce7d19f UNINSTALL 2020-05-02 03:51:14 +02:00
qo-op 45d5a13a9c fi 2020-05-02 03:46:32 +02:00
qo-op 0662744723 ~/.zen/astroport/zen/tools/key_create_dunikey.py 2020-05-02 03:42:19 +02:00
qo-op 790e3a1acc ./zen/tools/key_create_dunikey.py 2020-05-02 03:39:52 +02:00
qo-op 880101bc1f ~/.ssb/gossip.json 2020-05-02 03:38:13 +02:00
qo-op 873929bb8a export PATH=$PATH:~/.local/bin 2020-05-02 03:36:12 +02:00
qo-op 1af12fc515 zen astroport 2020-05-02 03:33:11 +02:00
qo-op ca91c1dcb6 cd ~/.zen/astroport 2020-05-02 03:27:00 +02:00
qo-op 1c1bfd7dff last 2020-05-02 03:20:59 +02:00
qo-op 35d134bad0 cd ~/.zen 2020-05-02 03:17:36 +02:00
qo-op adff18c067 e 2020-05-02 03:16:01 +02:00
qo-op 31e6bfbbc8 ipfs init.d compatible 2020-05-02 03:02:04 +02:00
qo-op f5d88fa554 eh 2020-05-02 01:27:09 +02:00
qo-op 207bc61ca4 better 2020-05-02 01:13:00 +02:00
qo-op a378f16fa9 explain 2020-05-02 00:54:40 +02:00
qo-op d0efd176eb cesium update 2020-05-02 00:24:39 +02:00
qo-op a6518e72f2 add sbotc code to git 2020-05-01 21:53:40 +02:00
qo-op 79aecef532 explane 2020-05-01 21:37:39 +02:00
qo-op 79e474addb dunikey love bank 2020-05-01 18:31:32 +02:00
qo-op ab5ef9f755 g1sms channel coming 2020-05-01 14:19:51 +01:00
qo-op 35a9a673b3 countdown-to-new-years 2020-04-30 16:34:21 +02:00
qo-op 765d78666d ssbpub 2020-04-30 05:34:21 +02:00
qo-op 3b1fb0d662 simple 2020-04-30 05:30:55 +02:00
qo-op d4334574ce cut ssbsec 2020-04-30 05:18:43 +02:00
qo-op b652a4cc95 ~/.zen/secret.ZEN.txt 2020-04-30 05:10:51 +02:00
qo-op a5579d9555 ~/.ssb_astroport 2020-04-30 04:59:08 +02:00
qo-op 4fad598050 simple 2020-04-30 04:54:29 +02:00
qo-op 07e992474d mieux 2020-04-30 04:50:03 +02:00
qo-op ddfb39274b better 2020-04-30 04:47:09 +02:00
qo-op 4dd82bbb75 ssb credentials 2020-04-30 04:09:58 +02:00
qo-op dfc62d2a24 nvm problem 2020-04-30 03:01:48 +02:00
qo-op c2766585d4 sbotc 2020-04-30 02:51:50 +02:00
qo-op f7acc359c7 libzzz 2020-04-30 02:40:26 +02:00
qo-op 4c5bf4c018 libsodium 2020-04-30 02:36:45 +02:00
qo-op da9ab4538f oh 2020-04-30 02:11:43 +02:00
qo-op e9d0ef3ff1 install poka reread 2020-04-30 02:07:43 +02:00
qo-op 70caf0b017 templates 2020-04-30 02:04:13 +02:00
qo-op 60824276fb hop 2020-04-30 01:57:12 +02:00
qo-op 22bf21a6d7 install 2020-04-30 01:39:27 +02:00
qo-op 99b7fd38de 0.1r01 2020-04-30 01:21:38 +02:00
qo-op 63a99cbf80 DUNIKEYFILE 2020-04-30 00:40:50 +02:00
qo-op d9cb8eb5a2 DUNIKEYFILE 2020-04-30 00:40:29 +02:00
qo-op b2de15e0d5 INITIALISE manifest 2020-04-30 00:34:57 +02:00
qo-op 52040dae78 desynch 00:01 upgrade with sleep $((1 + RANDOM % 10)) 2020-04-30 00:17:58 +02:00
qo-op 9a287869b9 availableDiskSize=$(df -P ~/ ... 2020-04-29 23:25:03 +02:00
qo-op e2967096ab availableDiskSize get half of ~/.ipfs partition size. 2020-04-29 23:05:34 +02:00
qo-op 52ed7a1840 what is astroport? 2020-04-29 20:40:09 +02:00
qo-op de0f4ebfd4 BUG in ipfs management. UPGRADE!! 2020-04-29 20:37:53 +02:00
qo-op 9ec495a09b manual install 2020-04-29 20:04:00 +02:00
qo-op 3979cd6b0a removes NOT friends from IPFS swarm 2020-04-29 19:55:45 +02:00
qo-op dd70bc62ef install & invite 2020-04-29 17:05:25 +02:00
qo-op 8745f21fad alpha 2020-04-28 20:06:10 +02:00
qo-op e7afc34f5a install init scripts 2020-04-28 18:48:10 +02:00
qo-op a27f5eb253 qo-op 2020-04-28 18:35:15 +02:00
qo-op 07343aa212 install from git 2020-04-28 18:34:19 +02:00
qo-op df29ed1f5a install modifications 2020-04-28 18:18:24 +02:00
qo-op dd3c23f0fd README 2020-04-28 17:11:31 +02:00
qo-op aae63893e8 ZenCONTRACT in ipns link 2020-04-28 17:07:49 +02:00
qo-op d2774b3a77 && $MY_PATH/miam_miam.sh 2020-04-28 14:50:15 +02:00
qo-op 6185031112 $MY_PATH/ipfs_SWARM_refresh.sh 2020-04-28 14:42:00 +02:00
qo-op eb99f7646f git pull 2020-04-28 14:29:01 +02:00
qo-op 6eb1eb1d40 bootstrap ipfs / ssb friends sync 2020-04-28 14:27:25 +02:00
qo-op 11359ee329 no zentag case 2020-04-28 05:48:37 +02:00
qo-op 27445ee278 ipns_TAG_refresh 2020-04-28 05:46:25 +02:00
qo-op 598d508535 better like that 2020-04-28 04:30:29 +02:00
qo-op 5b39b12ddb avatar 2020-04-28 04:00:17 +02:00
qo-op 1e9cc0840b cesium avatar geopoint ssb message type INIT 2020-04-28 03:50:48 +02:00
qo-op 43e3fd5b75 introduce ssb_IPFS_swarm.sh in blob pulse 2020-04-28 02:51:40 +02:00
qo-op 8a5b2233ae remove useless code 2020-04-28 02:44:20 +02:00
qo-op 3fb70f9fbc SSB ipfstryme message type 2020-04-28 02:38:20 +02:00
qo-op ff6282ba51 ipfs swarm connect 2020-04-28 02:14:54 +02:00
qo-op d253119c8b WHICH IS THE BEST 2020-04-28 02:12:48 +02:00
qo-op 4adea89736 tryme 2020-04-28 01:55:48 +02:00
qo-op 2a209949df grep cut adjust 2020-04-28 00:40:55 +02:00
qo-op 811a5a29a6 lower log 755 2020-04-28 00:39:00 +02:00
qo-op 5021dbde87 I am $ipfsnodeid 2020-04-28 00:23:54 +02:00
qo-op 08165c6409 it was a bug 2020-04-28 00:12:24 +02:00
qo-op 37aa7f9ad1 REFRESH SELF NODE PUBLISHING 2020-04-28 00:09:16 +02:00
qo-op b7d46c5a23 TODO modify ipfs swarm peers 2020-04-27 23:32:49 +02:00
qo-op 9212e27a48 ssb_IPFS_swarm 2020-04-27 23:26:51 +02:00
qo-op a5f4de87bc G1SSB id ipfs ID swarm matching 2020-04-27 22:57:41 +02:00
qo-op 1fd7fa2b3c remove hack 2020-04-21 00:55:42 +02:00
qo-op c62ef29236 what 2020-04-21 00:40:41 +02:00
qo-op e23830a17b which 2020-04-21 00:39:30 +02:00
qo-op 3125ca5b1c export alias sbotc='ssb' 2020-04-21 00:38:03 +02:00
qo-op e8cd4bfa55 Error: failed to find any peer in table 2020-04-20 03:38:25 +02:00
qo-op 5eb0450685 ipfs name publish problem 2020-04-20 03:21:36 +02:00
qo-op ee039b29f0 J bug 2020-04-20 03:06:13 +02:00
qo-op c904a9eeb0 g1_TX_inputs 2020-04-20 02:13:34 +02:00
qo-op f7b28658a3 $ problem 2020-04-20 02:11:27 +02:00
qo-op a144716afb PASSENGER or NOT 2020-04-20 02:10:02 +02:00
qo-op f5f20b9a25 log fix 2020-04-20 02:07:00 +02:00
qo-op 335dcece46 g1 MONITOR 2020-04-20 02:04:49 +02:00
qo-op 29a8ee44f6 COMMENT in TX 2020-04-19 23:46:12 +02:00
qo-op fcb6ce7b44 Empty Zen contract 2020-04-19 23:40:02 +02:00
qo-op f141b30515 delete 2020-04-19 23:39:31 +02:00
qo-op 61a4cffa4f better G1 timestamp precision 2020-04-19 19:09:29 +02:00
qo-op 586e37b6e2 ~/.local/bin missing in PATH 2020-04-19 17:53:44 +02:00
qo-op 676d4be808 empty url protection 2020-04-19 17:21:43 +02:00
qo-op 8823cd08ba check file exist and not empty 2020-04-19 16:39:32 +02:00
qo-op 4dd767877f audio / video 2020-04-19 16:15:58 +02:00
qo-op c1545b76b5 fixing 2020-04-19 13:14:47 +02:00
qo-op bf209a69a6 zero fixing 2020-04-19 13:02:16 +02:00
qo-op d5fd198ae3 cron MINUTE. Bot Brain TicTac 2020-04-19 11:30:03 +02:00
qo-op 3a75618234 debug zenyta zenytv 2020-04-18 19:22:56 +02:00
qo-op 26351cd809 proto zen contracts in zenMake 2020-04-18 16:45:01 +02:00
qo-op 7c9e0182d3 proto zen contracts in zenMake 2020-04-18 16:43:57 +02:00
qo-op f9fc6148aa ssb youtube-dl #zen command miam_miam.sh 2020-04-18 03:52:08 +02:00
qo-op 4c9cfea2e7 zenytv zenyta 2020-04-15 04:37:01 +02:00
qo-op 868dacb0b4 recup LOVE Bank interface 2020-04-14 02:26:37 +02:00
qo-op 3ce5fe580f $HOME 2020-04-13 19:18:21 +02:00
qo-op 9e9f46fb7a ipfs_swarm_wallets 2020-04-13 19:12:20 +02:00
qo-op de9c623fc7 switch ssb identity tool 2020-04-04 17:33:28 +02:00
qo-op de9fe7cf0f tools enhancement 2020-04-04 17:07:38 +02:00
qo-op bb9a1da3ce Create you ssb account from credentials ./zen/tools/make_G1SSB_secret.sh 2020-03-30 17:20:26 +02:00
qo-op 5e9468201f ssb ws 0.0.0.0 host 2020-03-29 16:38:08 +02:00
qo-op a4c6fc79a4 ssb invit RW 2020-03-29 16:15:39 +02:00
qo-op 57dd0c3673 ssb init ipfs detail 2020-03-29 15:44:01 +02:00
qo-op 6a2b5d31ef cesium gchange ssb 2020-03-29 14:59:00 +02:00
qo-op 2d61f1a89a changre 2020-03-29 04:58:10 +01:00
qo-op d1bb564492 changre 2020-03-29 04:57:04 +01:00
qo-op 3e80eb9c5b merge 2020-03-29 04:15:27 +02:00
qo-op 021a7dc273 quoi? 2020-03-29 04:14:18 +02:00
qo-op 0cb87b87c9 chocolat 2020-03-28 14:51:14 +01:00
qo-op f70d6b7c5c chocolat 2020-03-28 14:50:28 +01:00
qo-op 6f9debdc4b chocolat 2020-03-28 14:48:24 +01:00
qo-op a19f3a398c images are nice 2020-03-28 14:13:16 +01:00
qo-op 032fd1ef5e pad.p2p.legal 2020-03-28 14:07:36 +01:00
qo-op 01ebbff316 image git path 2020-03-28 14:03:51 +01:00
qo-op b121374df4 astroport main entrance 2020-03-28 14:01:53 +01:00
qo-op e9d094ba62 mylink= 2020-03-27 04:48:16 +01:00
qo-op 1572d3a458 SURVEY_swarmkey 2020-03-27 04:15:32 +01:00
qo-op 8463f23d73 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-03-27 04:04:25 +01:00
qo-op a67892e5e1 SURVEY_swarmkey & doc/Fat Protocols 2020-03-27 04:04:10 +01:00
poka ea13bacfc6 Big merge with fred and ipfs install improvements 2020-03-27 02:01:26 +01:00
poka b8228a4a54 Improve ipfs install 2020-03-27 01:50:40 +01:00
qo-op 7ffd053c65 fraise 2020-03-26 05:20:49 +01:00
qo-op 7d0f45a4d8 sbotc correction 2020-03-26 04:52:57 +01:00
qo-op 0f56b2b643 silkaj install & contact & getnode 2020-03-26 04:43:41 +01:00
qo-op e0398bb2f0 getting better 2020-03-26 04:04:00 +01:00
qo-op 3a66115982 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-03-26 03:25:24 +01:00
qo-op 418b9350c9 typo 2020-03-26 03:25:12 +01:00
qo-op 0ca38756b6 Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-03-26 02:23:01 +00:00
qo-op d110b0e58a commit 2020-03-26 02:21:45 +00:00
qo-op ae5a241be7 fix 2020-03-26 03:20:04 +01:00
qo-op 415d4aa814 swarm.key & gif 2020-03-26 03:08:15 +01:00
qo-op 45a40859b5 torrengo byebye, iptubes welcome 2020-03-25 21:11:10 +01:00
qo-op bfe150930e install machinery going better... 2020-03-25 18:21:56 +01:00
qo-op e17e5748b1 ANA pages 2020-03-25 15:03:57 +01:00
qo-op f15f5976d8 ANA pages 2020-03-25 15:03:05 +01:00
qo-op 2b6550078b ssb-secret-blob ssb-private & images from Attilax 2020-03-25 14:26:40 +01:00
qo-op 0d696df6f3 @poka se réveille je l'entend causer dans la chambre... Ah quel endroit on envoi la vidéo? 2020-03-24 20:58:10 +01:00
qo-op a22f997c26 Brian Eno - Ambient 1: Music for Airports [Full Album] 2020-03-24 20:55:31 +01:00
qo-op 9906d7c203 ssb_SURVEY_contact.sh & pictures - listening Brian Eno 2020-03-24 20:53:44 +01:00
qo-op 8d8ec64bf6 node_modules 2020-03-24 14:52:34 +01:00
qo-op cc4e595765 ssb again 2020-03-24 06:14:21 +01:00
qo-op c6d84743c8 ssb install node_modules 2020-03-24 03:10:28 +01:00
qo-op 88b6e403f1 ~/.zen 2020-03-24 02:01:22 +01:00
qo-op a734b2918c ssb install ssb init 2020-03-24 01:20:10 +01:00
qo-op 5c42294052 ssb Pub/Local config 2020-03-23 22:32:30 +01:00
qo-op f6d9a28a07 ssb conflict 2020-03-23 21:42:55 +01:00
qo-op 35ae033ad9 image and ipfs service coming 2020-03-23 21:40:52 +01:00
qo-op 6ad4defdda still buggy 2020-03-23 21:38:52 +01:00
qo-op 135a05291e ssb install fix 2020-03-23 20:52:51 +01:00
qo-op 98f844c5de ssb 2020-03-23 20:38:06 +01:00
qo-op 3129425607 scuttlebutt install fix 2020-03-23 19:31:54 +01:00
qo-op 22bdaa8d6c Merge branch 'master' of https://git.p2p.legal/axiom-team/astroport 2020-03-23 19:07:46 +01:00
qo-op 9bbb0abecd .install/scuttlebutt.sh + init 2020-03-23 19:07:37 +01:00
poka 24f41d604d iptubes update 2020-03-23 02:39:37 +01:00
poka 33a343fd44 Add ssb-g1-tip submodule 2020-03-23 02:35:54 +01:00
poka 53a906e09a Removed submodule ssb-g1like 2020-03-23 02:34:11 +01:00
qo-op fefa4a6a88 ssb-server Pub vs Patchwork 2020-03-22 06:39:43 +01:00
qo-op de392e979c KILL RESET PROD options 2020-03-22 06:04:44 +01:00
qo-op 3a92641b9c zen/ssb_INIT.sh KILL RESET options 2020-03-22 05:41:24 +01:00
qo-op 2a70bbd863 fix NODE_G1PUBKEY 2020-03-22 04:59:40 +01:00
qo-op 6e59afd517 better ssb_INIT.sh 2020-03-22 04:45:20 +01:00
qo-op c47d7a1ebf INIT G1SSB + Zen MAKE decoration 2020-03-22 02:42:32 +01:00
qo-op a04bdf4ae2 zen_MAKE easy reading + www webapps 2020-03-22 01:31:06 +01:00
qo-op 88e006bcdb wallets 2 ipfs 2020-03-22 00:03:47 +01:00
qo-op 99a59a1325 IPFS ZenTag passenger file & ssb INIT 2020-03-21 05:02:16 +01:00
4523 changed files with 834576 additions and 681 deletions

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
.profile
www/LOVELand/jukebox/prefs
www/LOVELand/jukebox/albumart
www/LOVELand/g1barre/img/qrcodes
zen/tools/scraping/transiscope/transiscope.json
zen/tools/__pycache__

6
.gitmodules vendored
View File

@ -1,6 +1,6 @@
[submodule "astroport-iptubes"]
path = iptubes
url = https://git.p2p.legal/axiom-team/astroport-iptubes
[submodule "ssb-g1like"]
path = ssb-g1like
url = https://git.p2p.legal/axiom-team/ssb-g1like
[submodule "ssb-g1-tip"]
path = ssb-g1-tip
url = https://git.p2p.legal/axiom-team/ssb-g1-tip

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Exec=~/.zen/astroport/1stRUNconfig.sh
X-GNOME-Autostart-enabled=true
NoDisplay=false
Hidden=false
Name[fr_FR]=Astroport_X_config.desktop
Comment[fr_FR]=First time RUN config script
X-GNOME-Autostart-Delay=0

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
#!/bin/bash
[[ -f ~/.bash_aliases && ! -z $(cat ~/.bash_aliases | grep c_red) ]] && exit 1
[[ -f ~/.bash_aliases && ! -z $(cat ~/.bash_aliases | grep c_red) ]] && exit 0
echo 'export c_blinkfast="\033[6m"
export c_light="\033[1m"

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -0,0 +1,31 @@
#!/usr/bin/env bash
# Enable camera on Raspberry Pi
# set_config_var taken from raspi-config
set_config_var() {
lua - "$1" "$2" "$3" <<EOF > "$3.bak"
local key=assert(arg[1])
local value=assert(arg[2])
local fn=assert(arg[3])
local file=assert(io.open(fn))
local made_change=false
for line in file:lines() do
if line:match("^#?%s*"..key.."=.*$") then
line=key.."="..value
made_change=true
end
print(line)
end
if not made_change then
print(key.."="..value)
end
EOF
sudo mv "$3.bak" "$3"
}
# Command extracted from raspi-config
sed /boot/config.txt -i -e "s/^startx/#startx/"
sed /boot/config.txt -i -e "s/^fixup_file/#fixup_file/"
set_config_var start_x 1 /boot/config.txt
set_config_var gpu_mem 128 /boot/config.txt

52
.install/ipfs-pi-stream/install Executable file
View File

@ -0,0 +1,52 @@
#!/usr/bin/env bash
set -e
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Enable camera on the Raspberry Pi
sudo "$BASE_DIR/enable-camera.sh"
# Install ffmpeg and supporting tools
sudo apt-get install -y ffmpeg lsof inotify-tools nginx
# Copy placeholder for audio-only streams
cp "$BASE_DIR/audio.jpg" "$HOME/audio.jpg"
# Add user to be able to modify nginx directories
sudo usermod -a -G "$USER" www-data
sudo chmod g+rw /var/www/html
# TODO: why is this needed?
sudo chmod a+rw /var/www/html
sudo cp -f "$BASE_DIR/process-stream.sh" /usr/bin/process-stream.sh
sudo cp -f "$BASE_DIR/process-stream.service" /etc/systemd/system/process-stream.service
sudo systemctl daemon-reload
sudo systemctl enable process-stream
# Add hourly job to clear out old data
echo "41 * * * * $USER /usr/local/bin/ipfs repo gc" | sudo tee --append /etc/crontab
# Install the ipfs video player
mkdir "$BASE_DIR/tmp"
current_dir="$(pwd)"
git clone https://github.com/tomeshnet/ipfs-live-streaming.git "$BASE_DIR/tmp/ipfs-live-streaming"
cd "$BASE_DIR/tmp/ipfs-live-streaming"
git checkout b9be352582317e5336ddd7183ecf49042dafb33e
cd "$current_dir"
VIDEO_PLAYER_PATH="$BASE_DIR/tmp/ipfs-live-streaming/terraform/shared/video-player"
sed -i s#__IPFS_GATEWAY_SELF__#/ipfs/# "$VIDEO_PLAYER_PATH/js/common.js"
sed -i s#__IPFS_GATEWAY_ORIGIN__#https://ipfs.io/ipfs/# "$VIDEO_PLAYER_PATH/js/common.js"
IPFS_ID=$(ipfs id | grep ID | head -n 1 | awk -F\" '{print $4}')
sed -i "s#live.m3u8#/ipns/$IPFS_ID#" "$VIDEO_PLAYER_PATH/js/common.js"
sed -i s#__M3U8_HTTP_URLS__#\ # "$VIDEO_PLAYER_PATH/js/common.js"
cp -r "$VIDEO_PLAYER_PATH" /var/www/html/video-player
rm -rf "$BASE_DIR/tmp"
# Add entry into nginx home screen
APP="<div class='app'><h2>IPFS Pi Stream Player</h2>IPFS Video player for Pi Stream. <br />M3U8 Stream located <a href='/ipns/$IPFS_ID'>over ipns</a> <br/><a href='/video-player/'>Go </a> and play with built in video player</div>"
sudo sed -i "s#<\!--APPLIST-->#$APP\n<\!--APPLIST-->#" "/var/www/html/index.html"

View File

@ -0,0 +1,16 @@
[Unit]
Description=Service to process RTMP stream
Wants=network.target
After=ipfs.service
[Service]
Type=simple
User=pi
Group=pi
ExecStart=/usr/bin/process-stream.sh
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=on-failure
RestartSec=10s
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,124 @@
#!/usr/bin/env bash
HLS_TIME=40
M3U8_SIZE=3
IPFS_GATEWAY="https://ipfs.io"
# Load settings
# Prepare Pi Camera
sudo modprobe bcm2835-v4l2
sudo v4l2-ctl --set-ctrl video_bitrate=100000
function startFFmpeg() {
while true; do
mv ~/ffmpeg.log ~/ffmpeg.1
echo 1 > ~/stream-reset
# Stream Raspberry Pi Camera
ffmpeg -f video4linux2 -input_format h264 -video_size 1280x720 -framerate 30 -i /dev/video0 -vcodec copy -hls_time "${HLS_TIME}" "${what}.m3u8" > ~/ffmpeg.log 2>&1
# Stream FM Station from a SDR module (see contrib/pi-stream to install drivers)
# Frequency ends in M IE 99.9M
# rtl_fm -f 99.9M -M fm -s 170k -A std -l0 -E deemp -r 44.1k | ffmpeg -r 15 -loop 1 -i ../audio.jpg -f s16le -ac 1 -i pipe:0 -c:v libx264 -tune stillimage -preset ultrafast -hls_time "${HLS_TIME}" "${what}.m3u8" > ~/ffmpeg 2>&1
sleep 0.5
done
}
# Create directory for HLS content
currentpath="$HOME/live"
sudo umount "${currentpath}"
rm -rf "${currentpath}"
mkdir "${currentpath}"
sudo mount -t tmpfs tmpfs "${currentpath}"
# shellcheck disable=SC2164
cd "${currentpath}"
what="$(date +%Y%m%d%H%M)-LIVE"
# Start ffmpeg in background
startFFmpeg &
while true; do
#TODO# Fix this one
# shellcheck disable=SC2086,SC2012
nextfile=$(ls -tr ${what}*.ts 2>/dev/null | head -n 1)
if [ -n "${nextfile}" ]; then
# Check if the next file on the list is still being written to by ffmpeg
if lsof "${nextfile}" | grep -1 ffmpeg; then
# Wait for file to finish writing
# If not finished in 45 seconds something is wrong, timeout
inotifywait -e close_write "${nextfile}" -t ${HLS_TIME}
fi
# Grab the timecode from the m3u8 file so we can add it to the log
timecode=$(grep -B1 "${nextfile}" "${what}.m3u8" | head -n1 | awk -F : '{print $2}' | tr -d ,)
attempts=5
until [[ "${timecode}" || ${attempts} -eq 0 ]]; do
# Wait and retry
sleep 0.5
timecode=$(grep -B1 "${nextfile}" "${what}.m3u8" | head -n1 | awk -F : '{print $2}' | tr -d ,)
attempts=$((attempts-1))
done
if ! [[ "${timecode}" ]]; then
# Set approximate timecode
timecode="${HLS_TIME}.000000"
fi
reset_stream=$(cat ~/stream-reset)
reset_stream_marker=''
if [[ ${reset_stream} -eq '1' ]]; then
reset_stream_marker=" #EXT-X-DISCONTINUITY"
fi
echo 0 > ~/stream-reset
# Current UTC date for the log
time=$(date "+%F-%H-%M-%S")
# Add ts file to IPFS
ret=$(ipfs add --pin=false "${nextfile}" 2>/dev/null > ~/tmp.txt; echo $?)
attempts=5
until [[ ${ret} -eq 0 || ${attempts} -eq 0 ]]; do
# Wait and retry
sleep 0.5
ret=$(ipfs add --pin=false "${nextfile}" 2>/dev/null > ~/tmp.txt; echo $?)
attempts=$((attempts-1))
done
if [[ ${ret} -eq 0 ]]; then
# Update the log with the future name (hash already there)
echo "$(cat ~/tmp.txt) ${time}.ts ${timecode}${reset_stream_marker}" >> ~/process-stream.log
# Remove nextfile and tmp.txt
rm -f "${nextfile}" ~/tmp.txt
# Write the m3u8 file with the new IPFS hashes from the log
totalLines="$(wc -l ~/process-stream.log | awk '{print $1}')"
sequence=0
if ((totalLines>M3U8_SIZE)); then
sequence=$((totalLines-M3U8_SIZE))
fi
{
echo "#EXTM3U"
echo "#EXT-X-VERSION:3"
echo "#EXT-X-TARGETDURATION:${HLS_TIME}"
echo "#EXT-X-MEDIA-SEQUENCE:${sequence}"
} > current.m3u8
tail -n ${M3U8_SIZE} ~/process-stream.log | awk '{print $6"#EXTINF:"$5",\n'${IPFS_GATEWAY}'/ipfs/"$2}' | sed 's/#EXT-X-DISCONTINUITY#/#EXT-X-DISCONTINUITY\n#/g' >> current.m3u8
# Add m3u8 file to IPFS and IPNS publish
m3u8hash=$(ipfs add current.m3u8 | awk '{print $2}')
ipfs name publish --timeout=5s "${m3u8hash}" &
# Copy files to web server
cp current.m3u8 /var/www/html/live.m3u8
cp ~/process-stream.log /var/www/html/live.log
fi
else
sleep 5
fi
done

View File

@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -e
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
sudo systemctl stop process-stream
sudo systemctl disable process-stream
sudo rm -f /usr/bin/process-stream.sh
sudo rm -f /etc/systemd/system/process-stream.service
sudo systemctl daemon-reload
# Remove ffmpeg and supporting tools
sudo apt-get -y remove ffmpeg lsof inotify-tools
# Revert permissions
sudo chmod 755 /var/www/html
sed -i "/ipfs repo gc/d" | sudo tee --append /etc/crontab

View File

@ -1,30 +1,69 @@
# Install IPFS
#!/bin/bash
ipfs() {
echo -e "${c_yellow}Onboarding IPFS...$c_"
[[ -f /usr/local/bin/ipfs ]] && sudo service ipfs stop
if [[ $ARM == "yes" ]]; then
wget https://dist.ipfs.io/ipfs-update/v1.5.2/ipfs-update_v1.5.2_linux-arm.tar.gz -O $MY_PATH/ipfs-update.tar.gz || err+="Download ipfs-update"
else
wget https://dist.ipfs.io/ipfs-update/v1.5.2/ipfs-update_v1.5.2_linux-amd64.tar.gz -O $MY_PATH/ipfs-update.tar.gz || err+="Download ipfs-update"
fi
# Install IPFS
echo "INSTALL ipfs-update"
sudo tar -xvzf $MY_PATH/ipfs-update.tar.gz -C /usr/src/ || err+="Untar ipfs-update"
rm $MY_PATH/ipfs-update.tar.gz
cd /usr/src/ipfs-update/
sudo ./install.sh || err+="Install ipfs-update"
cd $MY_PATH
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
echo "INSTALL latest ipfs"
sudo ipfs-update install latest || err+="Install IPFS"
## Config
templates="$MY_PATH/.install/templates/ipfs"
echo "CREATE SYSTEMD ipfs SERVICE"
[[ -f /etc/systemd/system/ipfs.service ]] && sudo rm /etc/systemd/system/ipfs.service
sudo cp -f $MY_PATH/templates/1/ipfs.service /etc/systemd/system/
sudo sed -i "s/_USER/$USER/g" /etc/systemd/system/ipfs.service
if [ "$EUID" -eq 0 ]
then echo -e "${c_red}DO NOT EXECUTE AS root. Choose a user for your Astroport Station (we like pi)$c_"
exit 1
else echo -e "${c_yellow}OK $USER, let's go!$c_";
fi
sudo systemctl daemon-reload || err+="Restart IPFS"
sudo systemctl enable ipfs || err+="Enable IPFS daemon"
[[ -d ~/.ipfs ]] && echo "IPFS install exist, please remove backup before execute this script" && exit 1
echo -e "${c_yellow}Onboarding IPFS...$c_"
[[ -f /usr/local/bin/ipfs ]] && sudo service ipfs stop
if [[ $ARM == "yes" ]]; then
wget https://dist.ipfs.io/ipfs-update/v1.5.2/ipfs-update_v1.5.2_linux-arm.tar.gz -O $MY_PATH/ipfs-update.tar.gz || err+="Download ipfs-update"
else
wget https://dist.ipfs.io/ipfs-update/v1.5.2/ipfs-update_v1.5.2_linux-amd64.tar.gz -O $MY_PATH/ipfs-update.tar.gz || err+="Download ipfs-update"
fi
echo "INSTALL ipfs-update"
sudo tar -xvzf $MY_PATH/ipfs-update.tar.gz -C /usr/src/ || err+="Untar ipfs-update"
rm $MY_PATH/ipfs-update.tar.gz
cd /usr/src/ipfs-update/
sudo ./install.sh || err+="Install ipfs-update"
cd $MY_PATH
echo "INSTALL latest ipfs"
sudo ipfs-update install latest || err+="Install IPFS"
echo "CREATE SYSTEMD ipfs SERVICE"
sudo cp -f $templates/ipfs.service /etc/systemd/system/
sudo sed -i "s/_USER/$USER/g" /etc/systemd/system/ipfs.service
sudo systemctl daemon-reload || err+="Restart IPFS"
sudo systemctl enable ipfs || err+="Enable IPFS daemon"
# INIT ipfs
ipfs init -p lowpower
# ipfs init -p server ## Uncomment for server infrastructure
# ACTIVATE CONFIG OPTIONS
# PUBSUB
ipfs config Pubsub.Router gossipsub
# MAXSTORAGE
availableDiskSize=$(df -P ~/ | awk 'NR>1{sum+=$4}END{print sum}')
diskSize="$((availableDiskSize / 2))"
ipfs config Datastore.StorageMax $diskSize
## PORT FORWARD (SSH)
ipfs config --json Experimental.Libp2pStreamMounting true
######### UPDATE BOOTSTRAP LIST ###########
ipfs bootstrap rm --all
sudo systemctl restart ipfs || err+="Restart IPFS daemon"
exit 0
}
$@

137
.install/ipfs_alone.sh Executable file
View File

@ -0,0 +1,137 @@
#!/bin/bash
########################################################################
{ # this ensures the entire script is downloaded #
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
ME="${0##*/}"
# CHECK not root user !!
if [ "$EUID" -eq 0 ]
then echo -e "${c_red}DO NOT EXECUTE AS root. Choose a user for your Astroport Station (we like pi)$c_"
exit 1
else echo -e "${c_yellow}OK $USER, let's go!$c_";
fi
# Ask user password on start
sudo true
## Error funciton
err() {
echo -e "${c_red}$1$c_"
exit 1
}
# CHECK if daemon is already running
if [[ $(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) ]]; then
echo "ipfs daemon already running...! Must STOP ipfs AND remove ~/.ipfs to install again !!"
ipfs id && echo "ipfs swarm peers: " && ipfs swarm peers
echo "ipfs bootstrap list: " && ipfs bootstrap list
echo "Please RUN : sudo systemctl stop ipfs"
exit 1
fi
[[ -d ~/.ipfs ]] && echo "IPFS install exist! Please remove or backup before executing this script" && exit 1
echo -e "${c_yellow}Astroport IPFS Layer installation...$c_"
# CHECK node IP isLAN?
myIP=$(hostname -I | awk '{print $1}')
isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")
MACHINE_TYPE=`uname -m`
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
curl -s https://dist.ipfs.io/ipfs-update/v1.6.0/ipfs-update_v1.6.0_linux-amd64.tar.gz -o $MY_PATH/ipfs-update.tar.gz
elif [ ${MACHINE_TYPE:0:3} == 'arm' ]; then
curl -s https://dist.ipfs.io/ipfs-update/v1.6.0/ipfs-update_v1.6.0_linux-arm.tar.gz -o $MY_PATH/ipfs-update.tar.gz
else
[ ! -f $MY_PATH/ipfs-update.tar.gz ] && err "Your $MACHINE_TYPE is not supported yet... Please add an issue."
fi
echo "INSTALL ipfs-update >>>>>>>>>>>>>>>>>>>>>>>>>>"
sudo tar -xvzf $MY_PATH/ipfs-update.tar.gz -C /usr/src/ || err "Untar ipfs-update"
rm $MY_PATH/ipfs-update.tar.gz
cd /usr/src/ipfs-update/
sudo ./install.sh || err "Install ipfs-update"
cd $MY_PATH
echo "INSTALL ipfs 0.7.0 >>>>>>>>>>>>>>>>>>>>>>>>>>"
sudo ipfs-update install 0.7.0 || err "Install IPFS"
## DEBIAN
echo "CREATE SYSTEMD ipfs SERVICE >>>>>>>>>>>>>>>>>>"
cat > /tmp/ipfs.service <<EOF
[Unit]
Description=IPFS daemon
After=network.target
[Service]
User=_USER_
ExecStart=/usr/local/bin/ipfs daemon --enable-pubsub-experiment --enable-namesys-pubsub --enable-gc
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
sudo cp -f /tmp/ipfs.service /etc/systemd/system/
sudo sed -i "s/_USER_/$USER/g" /etc/systemd/system/ipfs.service
[[ -d ~/.ipfs ]] && sudo chown -R $USER:$USER ~/.ipfs
## Special Xbian init.d config
if [[ $USER == "xbian" && -f ~/.zen/astroport/.install/templates/ipfs/ipfs-initV.sh ]]; then
sudo cp ~/.zen/astroport/.install/templates/ipfs/ipfs-initV.sh /etc/init.d/ipfs
sudo chmod 755 /etc/init.d/ipfs
sudo touch /var/log/ipfs.log && sudo chown xbian /var/log/ipfs.log
sudo service ipfs enable
else
sudo systemctl daemon-reload || err "Restart IPFS"
sudo systemctl enable ipfs || err "Enable IPFS daemon"
fi
# INIT ipfs
[[ $isLAN ]] && ipfs init -p lowpower \
|| ipfs init -p server
# TODO try ipfs init --profile=badgerds (for better performance)
# https://discuss.ipfs.io/t/adding-content-to-ipfs-is-quite-slow-any-ideas-on-why-and-how-to-speed-things-up/8135/3
sudo chown -R $USER:$USER ~/.ipfs || exit 1
###########################################
# ACTIVATE IPFS OPTIONS: #swarm0 INIT
###########################################
### IMPORTANT !!!!!!! IMPORTANT !!!!!!
###########################################
# DHT PUBSUB mode
ipfs config Pubsub.Router gossipsub
# MAXSTORAGE = 1/2 available
availableDiskSize=$(df -P ~/ | awk 'NR>1{sum+=$4}END{print sum}')
diskSize="$((availableDiskSize / 2))"
ipfs config Datastore.StorageMax $diskSize
## Activate Rapid "ipfs p2p"
ipfs config --json Experimental.Libp2pStreamMounting true
ipfs config --json Experimental.P2pHttpProxy true
######### MAKE DEFAULT BOOTSTRAP TO oasis.astroport.com 2jQUH4HfHxdTesjCjvMCx1VJgA5AnpuvrWRq1swfRdsS ###########
ipfs bootstrap rm --all
ipfs bootstrap add /dnsaddr/oasis.astroport.com/tcp/4001/ipfs/12D3KooWBYme2BsNUrtx4mEdNX6Yioa9AV7opWzQp6nrPs6ZKabN
ipfs bootstrap add /ip4/51.15.166.54/tcp/4001/p2p/12D3KooWBYme2BsNUrtx4mEdNX6Yioa9AV7opWzQp6nrPs6ZKabN
ipfs bootstrap add /ip4/51.15.166.54/udp/4001/quic/p2p/12D3KooWBYme2BsNUrtx4mEdNX6Yioa9AV7opWzQp6nrPs6ZKabN
ipfs bootstrap add /ip6/fe80::208:a2ff:fe0c:20d8/tcp/4001/p2p/12D3KooWBYme2BsNUrtx4mEdNX6Yioa9AV7opWzQp6nrPs6ZKabN
###########################################
# TODO: ADD some other bootstrap NODES
###########################################
sudo systemctl start ipfs || err "Start IPFS daemon"
sleep 3
echo "Peers: " && ipfs swarm peers && sleep 0.3
#[[ ! $(ipfs swarm peers) =~ "/ip4/" ]] && err "No peers found in swarm. Please open issue :https://git.p2p.legal/axiom-team/astroport/issues"
} # this ensures the entire script is downloaded #
# IPFS CONFIG documentation: https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#addressesswarm

Binary file not shown.

Binary file not shown.

264
.install/loveland.sh Executable file
View File

@ -0,0 +1,264 @@
#!/bin/bash
########################################################################
# Author: Fred (support@qo-op.com)
# Version: 0.3
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
########################################################################
{
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
ME="${0##*/}"
########################################################################
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) || er+=" ipfs daemon not running"
IPFSNODEID=$(ipfs id -f='<id>\n') || er+=" ipfs id problem"
WHOAMI=$(sbotc whoami | jq -r .id) || er+=" sbotc whoami problem"
[[ "$YOU" == "" || "$IPFSNODEID" == "" || "$WHOAMI" == "" ]] && echo "ERROR : $er " && exit 1
########################################################################
#### DO NOT RUN AS ROOT
[[ $USER == "root" ]] && echo "DO NOT RUN AS root!! Use regular USER with sudo AUTHORISATION" && exit 1
#### APACHE NOT SUPPORTED
is_apache_running=$(ps auxf --sort=+utime | grep -w apache | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1);
[[ $is_apache_running ]] && echo "SORRY ONLY nginx is supported. EXIT" && exit 1
#### ARM / X64 NOT USED THERE
MACHINE_TYPE=`uname -m`
[ ${MACHINE_TYPE:0:3} == 'arm' ] && isARM="YES"
### UPDATE apt cache
sudo apt-get update
### Adding YOU to www-data group
sudo adduser $YOU www-data
##################################
## INSTALL RAINBOW ASCII ;)
[[ ! $(which figlet) ]] && sudo apt install figlet -y
[[ ! $(which lolcat) ]] && sudo apt install lolcat -y
echo '
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
______ __ ____ ___
/ ____/___ ____ __ __/ / ____ _/ __ \____ _____/ (_)___
/ / / __ \/ __ \/ / / / / / __ `/ /_/ / __ `/ __ / / __ \
/ /___/ /_/ / /_/ / /_/ / /___/ /_/ / _, _/ /_/ / /_/ / / /_/ /
\____/\____/ .___/\__, /_____/\__,_/_/ |_|\__,_/\__,_/_/\____/
/_/ /____/
Multimedia Layer (https://www.copylaradio.com)
' | lolcat
## MULTIMEDIA
## VIDEO & AUDIO & PLAYLISTS ~/.zen/ DIR
mkdir -p ~/.zen/video
mkdir -p ~/.zen/audio
mkdir -p ~/.zen/playlists
######## YOUTUBE-DL ##########
if [[ ! $(which youtube-dl) ]]; then
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl || err=1
sudo chmod a+rx /usr/local/bin/youtube-dl
sudo chown $YOU /usr/local/bin/youtube-dl
fi
###############################
# MPD/MPC RompR AUDIO LAYER
###############################
if [[ ! $(which mpd) ]]; then
sudo apt-get install libid3-tools mpd mpc lame ffmpeg lsof lltag inotify-tools bc -y || err=1
sudo apt-get install lame sox libsox-fmt-mp3 eyed3 python-chardet imagemagick curl -y || err=1 #libav-tools unavailable on some system
sudo apt-get install ca-certificates git-core binutils rsync alsa-utils bc espeak mpg321 fuse atomicparsley -y || err=1
## CONFIG MPD
sudo cp -f /home/$YOU/.zen/astroport/.install/templates/copylaradio/mpd.conf /etc/mpd.conf
sudo sed -i "s/_USER_/$YOU/g" /etc/mpd.conf || err=1
mkdir ~/.config/mpd && sudo cp -f /etc/mpd.conf ~/.config/mpd/mpd.conf && sudo chown $YOU ~/.config/mpd/mpd.conf
## CHOWN mpd FILES STRUCTURE
sudo chown -R $YOU /var/lib/mpd/ /var/run/mpd /run/mpd /var/log/mpd
sudo service mpd restart || err=1
fi
### INSTALL NGINX
echo '++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
_
____ ____ _(_)___ _ __
/ __ \/ __ `/ / __ \| |/_/
/ / / / /_/ / / / / /> <
/_/ /_/\__, /_/_/ /_/_/|_|
/____/
install
' | lolcat
sudo apt-get install fail2ban nginx ssl-cert php-curl php-sqlite3 php-gd php-json php-xml php-mbstring php-fpm sqlite -y || err=1
[[ ! $(which nslookup) ]] && sudo apt-get install lolcat dnsutils -y
echo '++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
__ ___ _ ___
/ |/ /_ __ ____ ____ _____ ___ ___ (_)___/__ \
/ /|_/ / / / / / __ \/ __ `/ __ `__ \/ _ \ / / ___// _/
/ / / / /_/ / / / / / /_/ / / / / / / __/ / (__ )/_/
/_/ /_/\__, / /_/ /_/\__,_/_/ /_/ /_/\___/ /_/____/(_)
/____/
' | lolcat
myIP=$(hostname -I | awk '{print $1}' | head -n 1)
isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")
# Ask to the router its name (BOX DNS or system defined)
[[ -f /home/$YOU/.zen/astroport/zen/tools/nodename ]] && NODENAME=$(/home/$YOU/.zen/astroport/zen/tools/nodename) \
|| NODENAME=$(curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/nodename | bash) ## RUNNING ALONE !!
echo $NODENAME
######################################
### LAUNCHIN OASIS = SSB HTTP interface
######################################
echo '
_
____ ____ ______(_)____
/ __ \/ __ `/ ___/ / ___/
/ /_/ / /_/ (__ ) (__ )
\____/\__,_/____/_/____/
SSB DEMO HTTP interface
' | lolcat
# IN CASE, KILL RUNNING OASIS
isOASIS=$(ps auxf --sort=+utime | grep -w oasis | grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}')
[[ $isOASIS ]] && sudo kill -9 $isOASIS
echo "Starting OASIS with good $NODENAME & network config"
echo "TODO: add to your /etc/rc.local or systemd or initV !!!"
#if [[ ! $isLAN ]]; then
# ### TODO: unlock oasis restrictions!! CANNOT MAKE PRIVATE MESSAGE => Feddless.social CAN add it as module on loveland portal!!)
# oasis --allow-host $NODENAME --host $NODENAME --public 2>&1>/dev/null &
# echo "--public = OASIS STATION IS IN VIEWING MODE ONLY..."
#else
# oasis --allow-host $NODENAME --host $NODENAME 2>&1>/dev/null &
#fi
#sleep 5
echo '
__ ____ _ __________ __
/ / / __ \ | / / ____/ / ____ _____ ____/ /
/ / / / / / | / / __/ / / / __ `/ __ \/ __ /
/ /___/ /_/ /| |/ / /___/ /___/ /_/ / / / / /_/ /
/_____/\____/ |___/_____/_____/\__,_/_/ /_/\__,_/
Portal
' | lolcat
###
echo "INSTALL LOVELand WebSite. Linking to /var/www ..."
if [[ ! -L /var/www/loveland ]]; then
sudo ln -s /home/$YOU/.zen/astroport/www/LOVELand /var/www/loveland
fi
echo "JUKEBOX init"
[[ -d /var/www/loveland/jukebox/albumart ]] && sudo chmod -R 777 /var/www/loveland/jukebox/albumart
[[ -d /var/www/loveland/jukebox/prefs ]] && sudo chmod -R 777 /var/www/loveland/jukebox/prefs
[[ -d /var/www/loveland/g1barre/img/qrcodes ]] && sudo chmod -R 777 /var/www/loveland/g1barre/img/qrcodes
# CONFIG NGINX - LOVE LAND FRONTAL WEB PAGE
echo "$NODENAME" | figlet -f slant | lolcat
## Write NODENAME to IPFS
echo "$NODENAME" > /home/$YOU/.zen/ipfs/.$IPFSNODEID/G1SSB/_nodename
PHPVERSION=$(ps auxf | grep php-fpm | grep -v -E 'color=auto|grep' | head -n 1 | grep -oP '(?<=\().*(?=\))' | awk -F '/' '{print $4}')
### ASTROPORT STATION LOVELAND PORTAL
sudo sed "s/_PHPVERSION_/$PHPVERSION/g" /home/$YOU/.zen/astroport/www/loveland.conf > /tmp/loveland.conf
sudo sed -i "s/_MY_NODE_NAME_/$NODENAME/g" /tmp/loveland.conf
sudo sed -i "s/_PORT_/10010/g" /tmp/loveland.conf
sudo sed -i "s/_APPLI_//g" /tmp/loveland.conf
sudo cp -f /tmp/loveland.conf /etc/nginx/conf.d/loveland.conf
### GCHANGE G1 Zen
sudo rm -f /etc/nginx/conf.d/gchange.conf
sudo sed "s/_PHPVERSION_/$PHPVERSION/g" /home/$YOU/.zen/astroport/www/loveland.conf > /tmp/gchange.conf
sudo sed -i "s/_MY_NODE_NAME_/$NODENAME/g" /tmp/gchange.conf
sudo sed -i "s/_PORT_/10020/g" /tmp/gchange.conf
sudo sed -i "s/_APPLI_/gchange/g" /tmp/gchange.conf
sudo cp -f /tmp/gchange.conf /etc/nginx/conf.d/gchange.conf
### CESIUM G1 Zen
sudo sed "s/_PHPVERSION_/$PHPVERSION/g" /home/$YOU/.zen/astroport/www/loveland.conf > /tmp/cesium.conf
sudo sed -i "s/_MY_NODE_NAME_/$NODENAME/g" /tmp/cesium.conf
sudo sed -i "s/_PORT_/10030/g" /tmp/cesium.conf
sudo sed -i "s/_APPLI_/cesium/g" /tmp/cesium.conf
sudo cp -f /tmp/cesium.conf /etc/nginx/conf.d/cesium.conf
### JUKEBOX RompR CopyLaRadio
if [[ $(which mpd) ]]; then
sudo sed "s/_PHPVERSION_/$PHPVERSION/g" /home/$YOU/.zen/astroport/www/loveland.conf > /tmp/jukebox.conf
sudo sed -i "s/_MY_NODE_NAME_/$NODENAME/g" /tmp/jukebox.conf
sudo sed -i "s/_PORT_/10011/g" /tmp/jukebox.conf
sudo sed -i "s/_APPLI_/jukebox/g" /tmp/jukebox.conf
sudo cp -f /tmp/jukebox.conf /etc/nginx/conf.d/jukebox.conf
fi
### SSB OASIS Zen (PROXY MODE 10040 -> 3000)
if [[ $(which oasis) ]]; then
sudo sed "s/_MY_NODE_NAME_/$NODENAME/g" /home/$YOU/.zen/astroport/www/oasis.conf > /tmp/oasis.conf
sudo sed -i "s/_PORT_/10040/g" /tmp/oasis.conf
sudo sed -i "s/_LHOST_/$NODENAME:3000/g" /tmp/oasis.conf
sudo sed -i "s/_APPLI_//g" /tmp/oasis.conf
sudo cp -f /tmp/oasis.conf /etc/nginx/conf.d/oasis.conf
# TRICK: COULD BE USED TO ADD .htpasswod ACCESS CONTROL AND REMOVE --public
# TODO use "ipfs p2p" to AGREGATE ALL OASIS on ONE (not ALL like G1SMS) ?
# NEED G1PUB to be identified with same MEMBER owner in 'zen/ipfs_OPEN_ports.sh'?
fi
### G1SMS propagation to localhost:10099 / 10097 ("ipfs p2p" forwarded)
if [[ $(which gammu) ]]; then
# DIRECT MODE
sudo sed "s/_PHPVERSION_/$PHPVERSION/g" /home/$YOU/.zen/astroport/www/loveland.conf > /tmp/g1sms.conf
sudo sed -i "s/_MY_NODE_NAME_/$NODENAME/g" /tmp/g1sms.conf
sudo sed -i "s/_PORT_/10099/g" /tmp/g1sms.conf
sudo sed -i "s/_APPLI_/g1sms/g" /tmp/g1sms.conf
sudo cp -f /tmp/g1sms.conf /etc/nginx/conf.d/g1sms.conf
else
# PROXY MODE (10099 -> 10097) ### ipfs p2p PROPAGATION WITH 'zen/ipfs_OPEN_ports.sh'
sudo sed "s/_MY_NODE_NAME_/$NODENAME/g" /home/$YOU/.zen/astroport/www/oasis.conf > /tmp/g1sms_proxy.conf
sudo sed -i "s/_PORT_/10099/g" /tmp/g1sms_proxy.conf
sudo sed -i "s/_LHOST_/127\.0\.0\.1\:10097/g" /tmp/g1sms_proxy.conf
sudo sed -i "s/_APPLI_/g1sms/g" /tmp/g1sms_proxy.conf
sudo cp -f /tmp/g1sms_proxy.conf /etc/nginx/conf.d/g1sms_proxy.conf
fi
##### RESTART NGINX
sudo systemctl restart nginx || err=1
if [[ $err ]]; then
echo -e "${c_red}Installation de LOVELand bizarre??$c_"
echo "PLEASE... POST YOUR ISSUE! https://git.p2p.legal/axiom-team/astroport/issues"
exit 1
else
echo -e "${c_green}LOVE Land a été installé avec succès$c_"
echo -e "LoveLand Portal link http://$NODENAME:10010 (TRY ME)
Add ScuttleButt Astroport PUB Invitation:
${c_green}With Patchwork: "Join a server"$c_
Or with Oasis: http://$NODENAME:3000/settings (dev mode, still buggy)
${c_light}oasis.astroport.com:8008::@UeiA9iqZ0/XTjmYBht230KGr44bsr+Tl5BXSUDFv8vo=.ed25519~jd9Z4y/d/xZCF7bfuSgQSiSGLMeWFhwMosKUFhFxeEY=" $c_
fi
# Open LOVEland in browser
URL="http://$NODENAME"
path=$(which xdg-open || which gnome-open)
xo ()
{
for var in "$@"; do
$path "$var";
sleep 0.5
done
}
[[ -n $path ]] && xo $URL:10010 $URL:10020 $URL:10030 > /dev/null
} # for script being completely downloaded before run

188
.install/mpd_rompr.sh Executable file
View File

@ -0,0 +1,188 @@
#!/bin/bash
########################################################################
# Author: Fred (support@qo-op.com)
# Version: 0.3
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
########################################################################
{
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
ME="${0##*/}"
########################################################################
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) || er+=" ipfs daemon not running"
IPFSNODEID=$(ipfs id -f='<id>\n') || er+=" ipfs id problem"
WHOAMI=$(sbotc whoami | jq -r .id) || er+=" sbotc whoami problem"
[[ "$YOU" == "" || "$IPFSNODEID" == "" || "$WHOAMI" == "" ]] && echo "ERROR : $er " && exit 1
########################################################################
#### DO NOT RUN AS ROOT
[[ $USER == "root" ]] && echo "DO NOT RUN AS root!! Use regular USER with sudo AUTHORISATION" && exit 1
#### APACHE NOT SUPPORTED
is_apache_running=$(ps auxf --sort=+utime | grep -w apache | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1);
[[ $is_apache_running ]] && echo "SORRY ONLY nginx is supported. EXIT" && exit 1
#### ARM / X64 NOT USED THERE
MACHINE_TYPE=`uname -m`
[ ${MACHINE_TYPE:0:3} == 'arm' ] && isARM="YES"
### UPDATE apt cache
sudo apt-get update
### Adding YOU to www-data group
sudo adduser $YOU www-data
##################################
## INSTALL RAINBOW ASCII ;)
[[ ! $(which figlet) ]] && sudo apt install figlet -y
[[ ! $(which lolcat) ]] && sudo apt install lolcat -y
echo '
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
______ __ ____ ___
/ ____/___ ____ __ __/ / ____ _/ __ \____ _____/ (_)___
/ / / __ \/ __ \/ / / / / / __ `/ /_/ / __ `/ __ / / __ \
/ /___/ /_/ / /_/ / /_/ / /___/ /_/ / _, _/ /_/ / /_/ / / /_/ /
\____/\____/ .___/\__, /_____/\__,_/_/ |_|\__,_/\__,_/_/\____/
/_/ /____/
Multimedia Layer (https://www.copylaradio.com)
' | lolcat
## MULTIMEDIA
## VIDEO & AUDIO & PLAYLISTS ~/.zen/ DIR
mkdir -p ~/astroport/films
mkdir -p ~/astroport/animes
mkdir -p ~/astroport/series
mkdir -p ~/astroport/docus
mkdir -p ~/astroport/musiques
mkdir -p ~/.zen/video
mkdir -p ~/.zen/audio
mkdir -p ~/.zen/playlists
######## YOUTUBE-DL ##########
if [[ ! $(which youtube-dl) ]]; then
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl || err=1
sudo chmod a+rx /usr/local/bin/youtube-dl
sudo chown $YOU /usr/local/bin/youtube-dl
fi
###############################
# MPD/MPC RompR AUDIO LAYER
###############################
if [[ ! $(which mpd) ]]; then
sudo apt-get install libid3-tools mpd mpc lame ffmpeg lsof lltag inotify-tools bc -y || err=1
sudo apt-get install lame sox libsox-fmt-mp3 eyed3 python-chardet imagemagick curl -y || err=1 #libav-tools unavailable on some system
sudo apt-get install ca-certificates git-core binutils rsync alsa-utils bc espeak mpg321 fuse atomicparsley -y || err=1
## CONFIG MPD
sudo cp -f /home/$YOU/.zen/astroport/.install/templates/copylaradio/mpd.conf /etc/mpd.conf
sudo sed -i "s/_USER_/$YOU/g" /etc/mpd.conf || err=1
mkdir ~/.config/mpd && sudo cp -f /etc/mpd.conf ~/.config/mpd/mpd.conf && sudo chown $YOU ~/.config/mpd/mpd.conf
## CHOWN mpd FILES STRUCTURE
sudo chown -R $YOU /var/lib/mpd/ /var/run/mpd /run/mpd /var/log/mpd
sudo service mpd restart || err=1
fi
### INSTALL NGINX
echo '++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
_
____ ____ _(_)___ _ __
/ __ \/ __ `/ / __ \| |/_/
/ / / / /_/ / / / / /> <
/_/ /_/\__, /_/_/ /_/_/|_|
/____/
install
' | lolcat
sudo apt-get install fail2ban nginx ssl-cert php-curl php-sqlite3 php-gd php-json php-xml php-mbstring php-fpm sqlite -y || err=1
[[ ! $(which nslookup) ]] && sudo apt-get install lolcat dnsutils -y
echo '++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
__ ___ _ ___
/ |/ /_ __ ____ ____ _____ ___ ___ (_)___/__ \
/ /|_/ / / / / / __ \/ __ `/ __ `__ \/ _ \ / / ___// _/
/ / / / /_/ / / / / / /_/ / / / / / / __/ / (__ )/_/
/_/ /_/\__, / /_/ /_/\__,_/_/ /_/ /_/\___/ /_/____/(_)
/____/
' | lolcat
myIP=$(hostname -I | awk '{print $1}' | head -n 1)
isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")
# Ask to the router its name (BOX DNS or system defined)
[[ -f /home/$YOU/.zen/astroport/zen/tools/nodename ]] && NODENAME=$(/home/$YOU/.zen/astroport/zen/tools/nodename) \
|| NODENAME=$(curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/nodename | bash) ## RUNNING ALONE !!
echo $NODENAME
echo '
__ ____ _ __________ __
/ / / __ \ | / / ____/ / ____ _____ ____/ /
/ / / / / / | / / __/ / / / __ `/ __ \/ __ /
/ /___/ /_/ /| |/ / /___/ /___/ /_/ / / / / /_/ /
/_____/\____/ |___/_____/_____/\__,_/_/ /_/\__,_/
Portal
' | lolcat
###
echo "INSTALL LOVELand WebSite. Linking to /var/www ..."
if [[ ! -L /var/www/loveland ]]; then
sudo ln -s /home/$YOU/.zen/astroport/www/LOVELand /var/www/loveland
fi
echo "JUKEBOX init"
[[ -d /var/www/loveland/jukebox/albumart ]] && sudo chmod -R 777 /var/www/loveland/jukebox/albumart
[[ -d /var/www/loveland/jukebox/prefs ]] && sudo chmod -R 777 /var/www/loveland/jukebox/prefs
[[ -d /var/www/loveland/g1barre/img/qrcodes ]] && sudo chmod -R 777 /var/www/loveland/g1barre/img/qrcodes
# CONFIG NGINX - LOVE LAND FRONTAL WEB PAGE
echo "$NODENAME" | figlet -f slant | lolcat
## Write NODENAME to IPFS
echo "$NODENAME" > /home/$YOU/.zen/ipfs/.$IPFSNODEID/G1SSB/_nodename
PHPVERSION=$(ps auxf | grep php-fpm | grep -v -E 'color=auto|grep' | head -n 1 | grep -oP '(?<=\().*(?=\))' | awk -F '/' '{print $4}')
### JUKEBOX RompR CopyLaRadio
if [[ $(which mpd) ]]; then
sudo sed "s/_PHPVERSION_/$PHPVERSION/g" /home/$YOU/.zen/astroport/www/loveland.conf > /tmp/jukebox.conf
sudo sed -i "s/_MY_NODE_NAME_/$NODENAME/g" /tmp/jukebox.conf
sudo sed -i "s/_PORT_/80/g" /tmp/jukebox.conf
sudo sed -i "s/_APPLI_/jukebox/g" /tmp/jukebox.conf
sudo cp -f /tmp/jukebox.conf /etc/nginx/conf.d/jukebox.conf
fi
##### RESTART NGINX
sudo systemctl restart nginx || err=1
if [[ $err ]]; then
echo -e "${c_red}Installation de bizarre??$c_"
echo "PLEASE... POST YOUR ISSUE! https://git.p2p.legal/axiom-team/astroport/issues"
exit 1
else
echo -e "${c_green}Installation réalisée avec succès$c_"
echo -e "Astroport JUKEBOX http://$NODENAME (TRY ME)"
fi
# Open in browser
URL="http://$NODENAME"
path=$(which xdg-open || which gnome-open)
xo ()
{
for var in "$@"; do
$path "$var";
sleep 0.5
done
}
[[ -n $path ]] && xo $URL:80 > /dev/null
} # for script being completely downloaded before run

View File

@ -0,0 +1,35 @@
# Automatic install of Nextcloud on Debian 8/9/10
## Use
Set good variables for your use case at the beginning of install.sh:
```
nc_domain="" # Votre nom de domaine pour votre nextcloud. Si vide il prendra le premier argument que vous passerez, sinon le hostname de votre machine
nc_port=80 # Numéro de port d'écoute de nginx
admin_user="admin" # Le pseudo du compte admin
admin_pass="admin" # Le mot de passe que vous désirez pour le compte admin
db_pass="" # Le mot de passe que vous désirez pour MariaDB. Si vide, un mot de passe aléatoire sécurisé sera choisi
isSSL=false # true si nextcloud et nginx doivent être configuré en https
configMaria=auto # Mettez manual ou auto, attention auto est expérimental et vraiment pas recommendé
p2env=false # true si vous êtes dans un environnement p2p.legal
```
Then:
```
chmod u+x install.sh
./install.sh
```
You can change the ssl state of your instance after the installation if you need.
Just execute ssl.sh:
`./ssl.sh`
If you prefere, you can download this script directly via:
```
wget https://dev-nextcloud.p2p.legal/installeur/install-nextcloud.tar.gz
tar -zxvf install-nextcloud.tar.gz
./install.sh 2>&1 | tee loginstall.log
```

186
.install/nextcloud/install.sh Executable file
View File

@ -0,0 +1,186 @@
#!/bin/bash
################################################################################
# Author: poka (poka@p2p.legal)
# Version: 0.1
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
################################################################################
### Variables ###
nc_domain="" # Votre nom de domaine pour votre nextcloud. Si vide il prendra le premier argument que vous passerez, sinon le hostname de votre machine
nc_port=10050 # Numéro de port d'écoute de nginx
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1)
admin_user="$YOU" # Le pseudo du compte admin
admin_pass="0penS0urce!" # Le mot de passe que vous désirez pour le compte admin
db_pass="" # Le mot de passe que vous désirez pour MariaDB. Si vide, un mot de passe aléatoire sécurisé sera choisi
data_dir="/home/$YOU/.zen/nextcloud" # Le répertoir data de nextcloud, toutes les données utilisateurs s'y trouvent
isSSL=false # true si nextcloud et nginx doivent être configuré en https
configMaria=auto # Mettez manual ou auto, attention auto est expérimental et vraiment pas recommendé
p2env=false # true si vous êtes dans un environnement p2p.legal
#################
if [ "$EUID" -ne 0 ]
then echo -e "${c_red}Veuillez executez ce script en root$c_"
exit 1
fi
## Atroport config
echo -e "${c_yellow}Getting local hostname...$c_"
nc_domain=$(/home/$YOU/.zen/astroport/zen/tools/nodename)
templates="/home/$YOU/.zen/astroport/.install/nextcloud/templates"
## Set var
[[ -z $nc_domain ]] && nc_domain=$1
[[ -z $nc_domain ]] && nc_domain=$(echo $HOSTNAME.p2p.legal)
[[ -z $db_pass ]] && db_pass="$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)" && echo "Votre mot de passe mysql nextcloud est : $db_pass" >> /root/nextcloud_mysql_pwd.txt
db_pass_root="$(cat /dev/urandom | tr -dc 'a-zA-Z0-9~!@#$%^&*_-' | fold -w 32 | head -n 1)"
if [[ p2env == "true" ]]; then
cd /nextcloud/templates/
else
[[ ! -e $templates ]] && echo -e "${c_red}Erreur: Le dossier templates n'existe pas, installation impossible.$c_" && exit 1
cd $templates
fi
## Update system packages
apt install -y lsb-release apt-transport-https ca-certificates
apt update -y
apt install nginx mariadb-server apt-transport-https curl gnupg2 git lsb-release ssl-cert ca-certificates apt-transport-https tree locate software-properties-common dirmngr screen htop net-tools zip unzip curl ffmpeg ghostscript libfile-fcntllock-perl -y
systemctl start nginx || (echo -e "${c_red}Erreur quelque part ...$c_" && exit 1)
systemctl start mariadb || (echo -e "${c_red}Erreur quelque part ...$c_" && exit 1)
systemctl enable mariadb || (echo -e "${c_red}Erreur quelque part ...$c_" && exit 1)
systemctl enable nginx || (echo -e "${c_red}Erreur quelque part ...$c_" && exit 1)
echo -e "${c_yellow} === Installing php ... ===$c_"
apt install php php-fpm php-xml php-curl php-gd php php-cgi php-cli php-zip php-mysql php-mbstring php-intl php-json php-bz2 php-ldap php-apcu imagemagick php-imagick php-smbclient -y
export PHPVERSION=$(ps auxf | grep php-fpm | grep -v -E 'color=auto|grep' | head -n 1 | grep -oP '(?<=\().*(?=\))' | awk -F '/' '{print $4}')
echo -e "${c_yellow} === Configuring php ... ===$c_"
[[ ! -e /etc/php/$PHPVERSION/cli/php.ini.bak ]] && (bash configure_php.sh || (echo -e "${c_red}Erreur quelque part ...$c_" && exit 1)) || echo "PHP déjà configuré, skip"
echo -e "${c_yellow} === Configure MariaDB ===$c_"
configMariaManual() {
mysql_secure_installation || (echo -e "${c_red}Erreur quelque part ...$c_" && exit 1)
}
configMariaAuto() {
mysql -e "UPDATE mysql.user SET Password = PASSWORD('$db_pass_root') WHERE User = 'root'"
isLocalhostUsers=$(mysql -e "select user from mysql.user;" | grep "localhost")
isTestDB=$(mysql -e "show databases" | grep "test")
[[ -n $isLocalhostUsers ]] && mysql -e "DROP USER ''@'localhost'; DROP USER ''@'$(hostname)'"
[[ -n $isTestDB ]] && mysql -e "DROP DATABASE test"
mysql -e "FLUSH PRIVILEGES"
}
[[ $configMaria == "auto" ]] && configMariaAuto || configMariaManual
[[ ! -e /etc/mysql/my.cnf.bak ]] && (mv /etc/mysql/my.cnf /etc/mysql/my.cnf.bak && cp my.cnf /etc/mysql/ && service mysql restart) || echo "MariaDB déjà configuré, skip"
echo -e "${c_yellow} === Create and configure database... ===$c_"
isDBCreate=$(mysql -e "show databases" | grep "nextcloud")
[[ -z $isDBCreate ]] && mysql -e "CREATE DATABASE nextcloud;CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY \"$db_pass\";GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost';FLUSH PRIVILEGES;ALTER DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;" || echo "La base de donnée de nextcloud est déjà créé, skip"
echo -e "${c_yellow} === Installing and configure Redis... ===$c_"
apt install redis-server php-redis -y
[[ ! -e /etc/redis/redis.conf.bak ]] && cp /etc/redis/redis.conf /etc/redis/redis.conf.bak || echo "Redis est déjà configuré, skip"
sed -i "s/port 6379/port 0/" /etc/redis/redis.conf
sed -i "s/redis.sock/redis-server.sock/" /etc/redis/redis.conf
sed -i s/\#\ unixsocket/\unixsocket/g /etc/redis/redis.conf
sed -i "s/unixsocketperm 700/unixsocketperm 770/" /etc/redis/redis.conf
sed -i "s/# maxclients 10000/maxclients 512/" /etc/redis/redis.conf
usermod -a -G redis www-data || (echo -e "${c_red}Erreur quelque part ...$c_" && exit 1)
[[ ! -e /etc/sysctl.conf.bak ]] && cp /etc/sysctl.conf /etc/sysctl.conf.bak || echo "sysctl est déjà configuré, skip"
sed -i '$avm.overcommit_memory = 1' /etc/sysctl.conf
service redis-server restart || (echo -e "${c_red}Erreur quelque part ...$c_" && exit 1)
echo -e "${c_yellow} === Installing NextCloud... ===$c_"
if [[ ! -e /var/www/nextcloud ]]; then
mkdir /var/www/nextcloud
chown www-data:www-data /var/www/nextcloud
chmod 750 /var/www/nextcloud || (echo -e "${c_red}Erreur quelque part ...$c_" && exit 1)
wget https://download.nextcloud.com/server/releases/latest.tar.bz2
tar -xjf latest.tar.bz2 -C /var/www && chown -R www-data:www-data /var/www/ && rm -f latest.tar.bz2
fi
if [[ ! -e $data_dir ]]; then
mkdir -p $data_dir
chown www-data:www-data $data_dir
chmod 750 $data_dir || (echo -e "${c_red}Erreur quelque part ...$c_" && exit 1)
fi
## Add local IP as secondary trust domain
# Prefere occ methode ...
# sed -i "/0 => '$nc_domain'.*/a \ 1 => '$ip_local:$nc_port'," /var/www/nextcloud/config/config.php
ip_local=$(/sbin/ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p')
[[ $nc_port == 80 ]] && nc_port_loc="" || nc_port_loc=":$nc_port"
[[ -e /var/www/nextcloud/config/config.php ]] && isNCConfig=$(cat /var/www/nextcloud/config/config.php | grep "'installed' => true")
[[ -z "$isNCConfig" ]] && sudo -u www-data php /var/www/nextcloud/occ maintenance:install --database "mysql" --database-name "nextcloud" --database-user "nextcloud" --database-pass "$db_pass" --admin-user "$admin_user" --admin-pass "$admin_pass" --data-dir "$data_dir"
sleep 0.2
sudo -u www-data php /var/www/nextcloud/occ config:system:set mysql.utf8mb4 --type boolean --value="true"
sudo -u www-data php /var/www/nextcloud/occ config:system:set trusted_domains 0 --value=$nc_domain
sudo -u www-data php /var/www/nextcloud/occ config:system:set trusted_domains 1 --value=$ip_local$nc_port_loc
sudo -u www-data php /var/www/nextcloud/occ config:system:set overwrite.cli.url --value=$nc_domain
isNCConfigAdd=$(cat /var/www/nextcloud/config/config.php | grep "activity_expire_days")
if [[ -z "$isNCConfigAdd" ]]; then
sudo -u www-data sed -i 's/^[ ]*//' /var/www/nextcloud/config/config.php
sudo -u www-data sed -i '/);/d' /var/www/nextcloud/config/config.php
cat config_complete.php >> /var/www/nextcloud/config/config.php
fi
sudo -u www-data sed -i "s/output_buffering=.*/output_buffering=0/" /var/www/nextcloud/.user.ini
sudo -u www-data php /var/www/nextcloud/occ app:disable survey_client
sudo -u www-data php /var/www/nextcloud/occ app:disable firstrunwizard
sudo -u www-data php /var/www/nextcloud/occ app:enable admin_audit
sudo -u www-data php /var/www/nextcloud/occ app:enable files_pdfviewer
echo -e "${c_yellow} === Configure nginx ... ===$c_"
cp nextcloud.conf /etc/nginx/conf.d/
cp *optimization.conf /etc/nginx/
sed -i "s/NC_DOMAIN/$nc_domain/" /etc/nginx/conf.d/nextcloud.conf
sed -i "s/NC_PORT/$nc_port/" /etc/nginx/conf.d/nextcloud.conf
sed -i "s/_PHPVERSION/$PHPVERSION/" /etc/nginx/conf.d/nextcloud.conf
sed -i "s/80 default_server;/81 default_server;/" /etc/nginx/sites-enabled/default
chmod u+x ../ssl.sh
if [[ $isSSL == "false" ]]; then
../ssl.sh nonssl
else
../ssl.sh certif
../ssl.sh ssl
fi
echo -e "${c_yellow} === Mise en place des scripts et crons ... ===$c_"
[[ ! -e /opt/scripts ]] && mkdir /opt/scripts
cp nc_optimize.sh /opt/scripts/
cp upgrade.sh /opt/scripts/
cp occ /opt/scripts/
echo "alias occ='/opt/scripts/occ'" >> ~/.bashrc
alias occ='/opt/scripts/occ'
[[ -z $(crontab -l | grep "/var/www/nextcloud/cron.php") ]] && (crontab -l ; echo "*/5 * * * * sudo -u www-data /usr/bin/php -f /var/www/nextcloud/cron.php > /dev/null 2>&1") | crontab -u root - || echo "cron nextcloud ever set, skip"
[[ -z $(crontab -l | grep "/opt/scripts/optimize.sh") ]] && (crontab -l ; echo "5 1 * * * /opt/scripts/optimize.sh > /dev/null 2>&1") | crontab -u root - || echo "cron optimize ever set, skip"
sudo -u www-data php /var/www/nextcloud/occ background:cron
sudo -u www-data php /var/www/nextcloud/occ db:add-missing-indices
sudo -u www-data php /var/www/nextcloud/occ db:convert-filecache-bigint
echo -e "${c_yellow} === Restarting services ... ===$c_"
service php$PHPVERSION-fpm restart && service nginx restart && service mysql restart && service redis-server restart || (echo -e "${c_red}Impossible de reloader les service$c_" && exit 1)
bash /opt/scripts/nc_optimize.sh
usermod -aG www-data $YOU
echo -e "${c_green}Nextcloud a été installé avec succès !\nOuverture...$c_"
URL="http://$nc_domain:$nc_port"
[[ -x $BROWSER ]] && su -c "exec \"$BROWSER\" \"$URL\"" $YOU > /dev/null
path=$(which xdg-open || which gnome-open) && su -c "exec \"$path\" \"$URL\"" $YOU > /dev/null
echo -e "${c_yellow}Can't find browser$c_"

69
.install/nextcloud/ssl.sh Executable file
View File

@ -0,0 +1,69 @@
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Veuillez executez ce script en root"
exit 1
fi
domain=$(cat /etc/nginx/conf.d/nextcloud.conf | grep server_name | awk '{ print $2 }')
domain=$(echo ${domain::-1})
[[ ! $1 =~ ^(ssl|nonssl|certif)$ ]] && echo "Veuillez choisir ssl, nonssl ou certif pour créer un certificat ssl" && exit 1
ssl(){
sed -i "s/'overwriteprotocol' => 'http'/'overwriteprotocol' => 'https'/" /var/www/nextcloud/config/config.php
sed -i "s/http/https/" /etc/nginx/conf.d/nextcloud.conf
sed -i "s/fastcgi_param HTTPS off/fastcgi_param HTTPS on/" /etc/nginx/conf.d/nextcloud.conf
sed -i "s/listen 443;/listen 443 ssl;/" /etc/nginx/conf.d/nextcloud.conf
[[ ! -e /etc/nginx/includes ]] && mkdir /etc/nginx/includes
cp .install_templates/ssl.conf /etc/nginx/includes/
sed -i "/fastcgi_hide_header X-Powered-By;/a \ include includes/ssl.conf;\n ssl_certificate /etc/letsencrypt/live/$domain/fullchain.pem;\n ssl_certificate_key /etc/letsencrypt/live/$domain/privkey.pem;" /etc/nginx/conf.d/nextcloud.conf
}
nonssl(){
sed -i "s/'overwriteprotocol' => 'https'/'overwriteprotocol' => 'http'/" /var/www/nextcloud/config/config.php
sed -i "s/https/http/" /etc/nginx/conf.d/nextcloud.conf
sed -i "s/fastcgi_param HTTPS on/fastcgi_param HTTPS off/" /etc/nginx/conf.d/nextcloud.conf
sed -i '/ssl.conf;/d' /etc/nginx/conf.d/nextcloud.conf
sed -i '/ssl_certificate/d' /etc/nginx/conf.d/nextcloud.conf
}
install_certbot(){
sudo apt update
if [[ $(grep buster /etc/os-release) ]]; then
[[ -z $(cat /etc/apt/sources.list | grep "buster-backports main") ]] && echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
sudo apt install certbot python-certbot-nginx -t buster-backports -y
elif [[ $(grep stretch /etc/os-release) ]]; then
sudo apt install certbot python-certbot-nginx -y
elif [[ $(grep -E '16.|17.|18.|19.' /etc/os-release) ]]; then
sudo apt install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt update
sudo apt install certbot python-certbot-nginx
else
echo "OS non supporté pour certbot." && exit 1
fi
}
create_certificate() {
cd .install_templates
certbot --nginx certonly --non-interactive --agree-tos -m $USER@$domain -d $domain && echo "Le certificat de $domain a bien été déployé" || echo "Une erreur s'est produite lors de la création du certificat SSL"
## Cronification
[[ ! -e /opt/scripts ]] && mkdir /opt/scripts
cp ssl_renew.sh /opt/scripts/
[[ -z $(crontab -l | grep "/opt/scripts/ssl_renew.sh") ]] && (crontab -l ; echo "12 2 * * 1 /opt/scripts/ssl_renew.sh") | crontab -u root -
}
certif() {
[[ -z $(which certbot) ]] && install_certbot
[[ -n /etc/letsencrypt/live/$domain/fullchain.pem ]] && create_certificate
}
$@
service nginx reload
exit 0

View File

@ -0,0 +1,52 @@
'activity_expire_days' => 14,
'auth.bruteforce.protection.enabled' => true,
'blacklisted_files' =>
array (
0 => '.htaccess',
1 => 'Thumbs.db',
2 => 'thumbs.db',
),
'cron_log' => true,
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmap',
5 => 'OC\\Preview\\Movie',
6 => 'OC\\Preview\\PDF',
7 => 'OC\\Preview\\MP3',
8 => 'OC\\Preview\\TXT',
9 => 'OC\\Preview\\MarkDown',
),
'filesystem_check_changes' => 0,
'filelocking.enabled' => 'true',
'htaccess.RewriteBase' => '/',
'integrity.check.disabled' => false,
'knowledgebaseenabled' => false,
'logfile' => '/var/log/nextcloud.log',
'loglevel' => 2,
'logtimezone' => 'Europe/Paris',
'log_rotate_size' => 104857600,
'maintenance' => false,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'overwriteprotocol' => 'https',
'preview_max_x' => 1024,
'preview_max_y' => 768,
'preview_max_scale_factor' => 1,
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'quota_include_external_storage' => false,
'share_folder' => '/Shares',
'skeletondirectory' => '',
'theme' => '',
'trashbin_retention_obligation' => 'auto, 7',
'updater.release.channel' => 'stable',
);

View File

@ -0,0 +1,50 @@
cp /etc/php/$PHPVERSION/fpm/pool.d/www.conf /etc/php/$PHPVERSION/fpm/pool.d/www.conf.bak
cp /etc/php/$PHPVERSION/cli/php.ini /etc/php/$PHPVERSION/cli/php.ini.bak
cp /etc/php/$PHPVERSION/fpm/php.ini /etc/php/$PHPVERSION/fpm/php.ini.bak
cp /etc/php/$PHPVERSION/fpm/php-fpm.conf /etc/php/$PHPVERSION/fpm/php-fpm.conf.bak
sed -i "s/;env\[HOSTNAME\] = /env[HOSTNAME] = /" /etc/php/$PHPVERSION/fpm/pool.d/www.conf
sed -i "s/;env\[TMP\] = /env[TMP] = /" /etc/php/$PHPVERSION/fpm/pool.d/www.conf
sed -i "s/;env\[TMPDIR\] = /env[TMPDIR] = /" /etc/php/$PHPVERSION/fpm/pool.d/www.conf
sed -i "s/;env\[TEMP\] = /env[TEMP] = /" /etc/php/$PHPVERSION/fpm/pool.d/www.conf
sed -i "s/;env\[PATH\] = /env[PATH] = /" /etc/php/$PHPVERSION/fpm/pool.d/www.conf
sed -i "s/pm.max_children = .*/pm.max_children = 240/" /etc/php/$PHPVERSION/fpm/pool.d/www.conf
sed -i "s/pm.start_servers = .*/pm.start_servers = 20/" /etc/php/$PHPVERSION/fpm/pool.d/www.conf
sed -i "s/pm.min_spare_servers = .*/pm.min_spare_servers = 10/" /etc/php/$PHPVERSION/fpm/pool.d/www.conf
sed -i "s/pm.max_spare_servers = .*/pm.max_spare_servers = 20/" /etc/php/$PHPVERSION/fpm/pool.d/www.conf
sed -i "s/;pm.max_requests = 500/pm.max_requests = 500/" /etc/php/$PHPVERSION/fpm/pool.d/www.conf
sed -i "s/output_buffering =.*/output_buffering = 'Off'/" /etc/php/$PHPVERSION/cli/php.ini
sed -i "s/max_execution_time =.*/max_execution_time = 1800/" /etc/php/$PHPVERSION/cli/php.ini
sed -i "s/max_input_time =.*/max_input_time = 3600/" /etc/php/$PHPVERSION/cli/php.ini
sed -i "s/post_max_size =.*/post_max_size = 10240M/" /etc/php/$PHPVERSION/cli/php.ini
sed -i "s/upload_max_filesize =.*/upload_max_filesize = 10240M/" /etc/php/$PHPVERSION/cli/php.ini
sed -i "s/max_file_uploads =.*/max_file_uploads = 100/" /etc/php/$PHPVERSION/cli/php.ini
sed -i "s/;date.timezone.*/date.timezone = Europe\/\Paris/" /etc/php/$PHPVERSION/cli/php.ini
## sed -i "s/;session.cookie_secure.*/session.cookie_secure = True/" /etc/php/$PHPVERSION/cli/php.ini # Bug if not using ssl
sed -i "s/memory_limit = 128M/memory_limit = 512M/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/output_buffering =.*/output_buffering = 'Off'/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/max_execution_time =.*/max_execution_time = 1800/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/max_input_time =.*/max_input_time = 3600/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/post_max_size =.*/post_max_size = 10240M/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/upload_max_filesize =.*/upload_max_filesize = 10240M/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/max_file_uploads =.*/max_file_uploads = 100/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/;date.timezone.*/date.timezone = Europe\/\Paris/" /etc/php/$PHPVERSION/fpm/php.ini
## sed -i "s/;session.cookie_secure.*/session.cookie_secure = True/" /etc/php/$PHPVERSION/fpm/php.ini # Bug if not using ssl
sed -i "s/;opcache.enable=.*/opcache.enable=1/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/;opcache.enable_cli=.*/opcache.enable_cli=1/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/;opcache.memory_consumption=.*/opcache.memory_consumption=128/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/;opcache.interned_strings_buffer=.*/opcache.interned_strings_buffer=8/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/;opcache.max_accelerated_files=.*/opcache.max_accelerated_files=10000/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/;opcache.revalidate_freq=.*/opcache.revalidate_freq=1/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/;opcache.save_comments=.*/opcache.save_comments=1/" /etc/php/$PHPVERSION/fpm/php.ini
sed -i "s/;emergency_restart_threshold =.*/emergency_restart_threshold = 10/" /etc/php/$PHPVERSION/fpm/php-fpm.conf
sed -i "s/;emergency_restart_interval =.*/emergency_restart_interval = 1m/" /etc/php/$PHPVERSION/fpm/php-fpm.conf
sed -i "s/;process_control_timeout =.*/process_control_timeout = 10s/" /etc/php/$PHPVERSION/fpm/php-fpm.conf
sed -i "s/09,39.*/# &/" /etc/cron.d/php
(crontab -l ; echo "09,39 * * * * /usr/lib/php/sessionclean 2>&1") | crontab -u root -
cp /etc/ImageMagick-6/policy.xml /etc/ImageMagick-6/policy.xml.bak
sed -i "s/rights\=\"none\" pattern\=\"PS\"/rights\=\"read\|write\" pattern\=\"PS\"/" /etc/ImageMagick-6/policy.xml
sed -i "s/rights\=\"none\" pattern\=\"EPI\"/rights\=\"read\|write\" pattern\=\"EPI\"/" /etc/ImageMagick-6/policy.xml
sed -i "s/rights\=\"none\" pattern\=\"PDF\"/rights\=\"read\|write\" pattern\=\"PDF\"/" /etc/ImageMagick-6/policy.xml
sed -i "s/rights\=\"none\" pattern\=\"XPS\"/rights\=\"read\|write\" pattern\=\"XPS\"/" /etc/ImageMagick-6/policy.xml
service php$PHPVERSION-fpm restart && service nginx restart

View File

@ -0,0 +1,79 @@
[client]
default-character-set = utf8mb4
port = 3306
socket = /var/run/mysqld/mysqld.sock
[mysqld_safe]
log_error=/var/log/mysql/mysql_error.log
nice = 0
socket = /var/run/mysqld/mysqld.sock
[mysqld]
basedir = /usr
bind-address = 127.0.0.1
binlog_format = ROW
bulk_insert_buffer_size = 16M
character-set-server = utf8mb4
collation-server = utf8mb4_general_ci
concurrent_insert = 2
connect_timeout = 5
datadir = /var/lib/mysql
default_storage_engine = InnoDB
expire_logs_days = 10
general_log_file = /var/log/mysql/mysql.log
general_log = 0
innodb_buffer_pool_size = 1024M
innodb_buffer_pool_instances = 1
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 32M
innodb_max_dirty_pages_pct = 90
innodb_large_prefix = on
innodb_file_format = barracuda
innodb_file_per_table = 1
innodb_open_files = 400
innodb_io_capacity = 4000
innodb_flush_method = O_DIRECT
key_buffer_size = 128M
lc_messages_dir = /usr/share/mysql
lc_messages = en_US
log_bin = /var/log/mysql/mariadb-bin
log_bin_index = /var/log/mysql/mariadb-bin.index
log_error=/var/log/mysql/mysql_error.log
log_slow_verbosity = query_plan
log_warnings = 2
long_query_time = 1
max_allowed_packet = 16M
max_binlog_size = 100M
max_connections = 200
max_heap_table_size = 64M
myisam_recover_options = BACKUP
myisam_sort_buffer_size = 512M
port = 3306
pid-file = /var/run/mysqld/mysqld.pid
query_cache_limit = 2M
query_cache_size = 64M
query_cache_type = 1
query_cache_min_res_unit = 2k
read_buffer_size = 2M
read_rnd_buffer_size = 1M
skip-external-locking
skip-name-resolve
slow_query_log_file = /var/log/mysql/mariadb-slow.log
slow-query-log = 1
socket = /var/run/mysqld/mysqld.sock
sort_buffer_size = 4M
table_open_cache = 400
thread_cache_size = 128
tmp_table_size = 64M
tmpdir = /tmp
transaction_isolation = READ-COMMITTED
user = mysql
wait_timeout = 600
[mysqldump]
max_allowed_packet = 16M
quick
quote-names
[isamchk]
key_buffer = 16M

View File

@ -0,0 +1,10 @@
#!/bin/bash
redis-cli -s /var/run/redis/redis-server.sock <<EOF
FLUSHALL
quit
EOF
sudo -u www-data php /var/www/nextcloud/occ files:scan --all
sudo -u www-data php /var/www/nextcloud/occ files:scan-app-data
exit 0

View File

@ -0,0 +1,149 @@
upstream php-handler {
server unix:/var/run/php/php_PHPVERSION-fpm.sock;
}
server {
listen NC_PORT;
listen 443;
listen [::]:443 ssl;
server_name NC_DOMAIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
set_real_ip_from 192.168.9.1;
set_real_ip_from 192.168.9.6;
# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;
add_header X-Frame-Options "SAMEORIGIN";
# Path to the root of your installation
root /var/www/nextcloud/;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# The following 2 rules are only needed for the user_webfinger app.
# Uncomment it if you're planning to use this app.
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
# last;
location = /.well-known/carddav {
return 301 https://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 https://$host/remote.php/dav;
}
# set max upload size
client_max_body_size 512M;
fastcgi_buffers 64 4K;
# Enable gzip but do not remove ETag headers
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
# Uncomment if your server is build with the ngx_pagespeed module
# This module is currently not supported.
#pagespeed off;
location / {
rewrite ^ /index.php;
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
deny all;
}
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
deny all;
}
location ~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+)\.php(?:$|\/) {
fastcgi_split_path_info ^(.+?\.php)(\/.*|)$;
try_files $fastcgi_script_name =404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTPS on;
# Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
# Enable pretty urls
fastcgi_param front_controller_active true;
fastcgi_pass php-handler;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
}
location ~ ^\/(?:updater|oc[ms]-provider)(?:$|\/) {
try_files $uri/ =404;
index index.php;
}
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|js|woff2?|svg|gif)$ {
try_files $uri /index.php$request_uri;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended to
# have those duplicated to the ones above)
# Before enabling Strict-Transport-Security headers please read into
# this topic first.
# add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
#
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
# Optional: Don't log access to assets
access_log off;
}
location ~ \.(?:png|html|ttf|ico|jpg|jpeg)$ {
try_files $uri /index.php$request_uri;
# Optional: Don't log access to other assets
access_log off;
}
location ^~ /apps/rainloop/app/data {
deny all;
}
location ~ \.(?:flv|mp4|mov|m4a)$ {
# mp4;
# mp4_buffer_size 100M;
# mp4_max_buffer_size 1024M;
fastcgi_split_path_info ^(.+?.php)(\/.*|)$;
include fastcgi_params;
include php_optimization.conf;
fastcgi_pass php-handler;
fastcgi_param HTTPS on;
}
location ~ ^\/nextcloud/(?:updater|oc[ms]-provider)(?:$|\/) {
try_files $uri/ =404;
index index.php;
}
}

View File

@ -0,0 +1,6 @@
#/bin/bash
sudo -u www-data php /var/www/nextcloud/occ $@
exit 0

View File

@ -0,0 +1,17 @@
fastcgi_hide_header X-Powered-By;
fastcgi_read_timeout 3600;
fastcgi_send_timeout 3600;
fastcgi_connect_timeout 3600;
fastcgi_buffers 64 64K;
fastcgi_buffer_size 256k;
fastcgi_busy_buffers_size 3840K;
fastcgi_cache_key $http_cookie$request_method$host$request_uri;
fastcgi_cache_use_stale error timeout invalid_header http_500;
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
gzip_disable "MSIE [1-6]\.";

View File

@ -0,0 +1,8 @@
#!/bin/bash
find /var/www/ -type f -print0 | xargs -0 chmod 0640
find /var/www/ -type d -print0 | xargs -0 chmod 0750
chown -R www-data:www-data /var/www/
chown -R www-data:www-data /var/nextcloud/
chmod 0644 /var/www/nextcloud/.htaccess
chmod 0644 /var/www/nextcloud/.user.ini
exit 0

View File

@ -0,0 +1,9 @@
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
fastcgi_cache_valid 404 1m;
fastcgi_cache_valid any 1h;
fastcgi_cache_methods GET HEAD;

View File

@ -0,0 +1,16 @@
ssl_session_timeout 4h;
ssl_session_cache shared:SSL:50m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-CBC-SHA:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS';
ssl_prefer_server_ciphers on;
add_header Strict-Transport-Security max-age=15768000;
ssl_stapling on;
ssl_stapling_verify on;
resolver 8.8.8.8 8.8.4.4 valid=86400;
resolver_timeout 10;
ssl_session_tickets on;

View File

@ -0,0 +1,26 @@
#!/bin/bash
log="/var/log/ssl_renew.log"
date=$(date +%d-%m-%Y)
renew=$(certbot renew --pre-hook "service nginx stop" --post-hook "service nginx start")
echo "####################################################################################" >> $log
echo "#################################### $date ####################################" >> $log
echo "####################################################################################" >> $log
echo "$renew" >> $log
if [[ $renew = *"No hooks were run"* ]]; then
echo "Rien n'a été fait" >> $log
else
sleep 5
/etc/init.d/nginx stop
sleep 1
killall nginx
sleep 3
/etc/init.d/nginx restart &>> $log
echo "Des certificats ont été renouvellés" >> $log
fi
exit 0

View File

@ -0,0 +1,15 @@
#!/bin/bash
/usr/sbin/service nginx stop
sudo -u www-data php /var/www/nextcloud/updater/updater.phar
sudo -u www-data php /var/www/nextcloud/occ status
sudo -u www-data php /var/www/nextcloud/occ -V
sudo -u www-data php /var/www/nextcloud/occ db:add-missing-indices
sudo -u www-data php /var/www/nextcloud/occ db:convert-filecache-bigint
sudo -u www-data sed -i "s/output_buffering=.*/output_buffering=O/" /var/www/nextcloud/.user.ini
sudo -u www-data php /var/www/nextcloud/occ update:check
sudo -u www-data php /var/www/nextcloud/occ app:update --all
/usr/sbin/service php7.3-fpm restart
/usr/sbin/service nginx restart
exit 0

View File

@ -1,7 +1,130 @@
#!/bin/bash
scuttlebutt() {
echo "TODO"
echo -e "${c_yellow}Onboarding SCUTTLEBUTT...$c_"
where_is_ssb_installed=$(which ssb-server)
where_is_oasis_installed=$(which oasis)
mkdir -p ~/.zen
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [[ ! $where_is_ssb_installed ]]; then
# KILL the BRUTAL WAY...
kill -9 $(ps auxf --sort=+utime | grep -w ssb-server| grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}')
# Install dependencies
sudo apt-get install -y socat python3-dev libtool python3-setuptools autoconf automake
# Install nvm
if [[ ! $(which nvm) ]]; then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
source ~/.bashrc
export NVM_DIR="$HOME/.nvm"
nvm install --lts
fi
cd ~/.ssb
### Install module
npm install -g sodium-native ssb-backlinks ssb-ws ssb-links ssb-query ssb-secret-blob ssb-private
npm install -g ssb-server
# TODO plugin activation !??
# sbot plugins.enable
### Install oasis & ssb-cli (could replace ssb-server?? TODO: try it)
npm -g install fraction/oasis#semver:
npm install -g fraction/ssb-daemon
# npm install -g ssb-cli
# INSTALL sbotc
if [[ ! $(which sbotc) ]]; then
sudo apt install libsodium-dev jq -y
git submodule add https://git.scuttlebot.io/%25133ulDgs%2FoC1DXjoK04vDFy6DgVBB%2FZok15YJmuhD5Q%3D.sha256 sbotc
cd sbotc
make
sudo make install
fi
fi
# TEST ssb-server Install
ssbSERVER=$(which ssb-server)
[[ $ssbSERVER == "" ]] && echo "Check your ssb-server install... Cannot find it !!" && exit 1
# If exists backup ~/.ssb to ~/.ssb_$USER SSB (one time only !)
[[ -d ~/.ssb_$USER ]] && echo "BACKUP already existing... ~/.ssb_$USER !!! Manual check please..." && exit 1
[[ -d ~/.ssb ]] && [[ ! -d ~/.ssb_$USER ]] && mv ~/.ssb ~/.ssb_$USER
# CREATE ~/.ssb_astroport
[[ ! -d ~/.ssb_astroport ]] && mkdir -p ~/.ssb_astroport && cd ~/.ssb_astroport
# if exists, keep ~/.ssb_$USER/secret*
[[ ! -f ~/.ssb_astroport/secret ]] && [[ -f ~/.ssb_$USER/secret ]] && cp -f ~/.ssb_$USER/secret* ~/.ssb_astroport/
# Symlink ~/.ssb -> ~/.ssb_astroport
[[ -L ~/.ssb ]] && rm ~/.ssb
[[ -d ~/.ssb_astroport ]] && ln -s ~/.ssb_astroport ~/.ssb
## #TODO get ~/.ssb/manifest.json from template
cp ./templates/ssb/manifest.json ~/.ssb/manifest.json
# Create config (TODO: adapt if public Pub or Local Node)
# TODO: Create unique hostname in swarm !! uidna
nodename=$(cat /etc/hostname)
extension=$(echo $nodename | cut -d '.' -f 2)
if [[ $extension == $nodename ]]; then
PUB="false"
nodename=$nodename.local
else
PUB="true"
fi
cat > ~/.ssb/config <<EOF
{
"connections": {
"incoming": {
"net": [
{ "scope": "public", "host": "0.0.0.0", "external": ["$nodename"], "transform": "shs", "port": 8008 }
],
"ws": [
{ "scope": ["public", "local", "device"], "host": "0.0.0.0", "port": 8989, "transform": "shs", "http": true }
]
},
"outgoing": {
"net": [{ "transform": "shs" }]
}
}
}
EOF
cat > ~/.zen/launch-oasis.sh <<EOF
#!/bin/bash
oasis --allow-host $nodename --host $nodename
EOF
echo "
_ __ __ _
_ _ .__|_o _ (_ (_ |_)
(_(_)| || |(_| __)__)|_)
_|
$nodename
"
echo '
__ _ _ _ _
(_ |_|_)\ /|_|_) o._ o_|_
__)|_| \ \/ |_| \ || || |_ ... SCUTTLEBUTT ... OK?
'
echo "Launching oasis"
oasis --allow-host $nodename --host $nodename &
echo " http://$nodename:3000 "
echo
echo "ADD ~/.zen/launch-oasis.sh TO YOUR '/etc/rc.local' !!! Or use patchwork. "
sleep $((1 + RANDOM % 5))
echo "LAUNCHING OASIS NODE MANAGER http://$nodename:3000"
echo "IF YOU ARE A PUB consider protect it behind password nginx redirect !!!"
echo "3 seconds before ssb_INIT.sh..."
sleep 3
$MY_PATH/zen/ssb_INIT.sh
}
$@

66
.install/silkaj-php-mysql.sh Executable file
View File

@ -0,0 +1,66 @@
#!/bin/bash
###########################################
echo "NO READY TO USE. REWRITING..." && exit 1
###########################################
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
OS=$(head -n1 $MY_PATH/.OS)
isARM=$(cat $MY_PATH/.OS | grep YES)
unset err
# Basics
sudo apt update
echo -e "${c_yellow}Mise à jours des prérequis...$c_"
sudo apt install curl jq zip unzip htop tree ntpdate gnupg mpack imagemagick qrencode build-essential base58 bc -y
# Silkaj + Duniterpy
silkaj() {
echo -e "${c_yellow}Installation de Silkaj...$c_"
libsodium=$(sudo apt-cache search libsodium 2>/dev/null | grep -v -E "header|debug symbols" | grep "Network communication" -B1 | head -n1 | awk -F '-' '{ print $1 }')
[[ $libsodium =~ " " ]] && libsodium=$(echo $libsodium | awk '{ print $2 }')
sudo apt install libsodium-dev libssl-dev libffi-dev python3-pip python3-wheel $libsodium -y || err+="Install python3 and $libsodium"
pip3 install duniterpy || err+="Install duniterpy"
pip3 install silkaj --user || err+="Install Silkaj"
source .profile ## PATH="$HOME/.local/bin:$PATH"
}
# Install PHP + MySQL (TODO: REWRITE!!)
php() {
echo -e "${c_yellow}Installation de PHP et MySQL$c_"
if [[ $OS == "buster" ]]; then
sudo apt -y install software-properties-common nginx php php-common php-fpm php-gettext php-gd php-mysql php-curl php-imap php-mbstring php-xml php-cli mariadb-server || err+="Install PHP and MySQL"
elif [[ $OS == "stretch" ]]; then
sudo apt -y install lsb-release apt-transport-https ca-certificates || err+="Install apt-transport-https"
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg || err+="Download PHP key"
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php7.3.list
sudo apt update
sudo apt -y install software-properties-common dirmngr nginx php7.3 php7.3-common php7.3-gettext php7.3-fpm php7.3-gd php7.3-mysql php7.3-curl php7.3-imap php7.3-mbstring php7.3-xml php7.3-cli mariadb-server || err+="Install PHP and MySQL"
else
echo "${c_red}Votre système n'est pas pris en charge par ce script d'installation.$c_"
exit 1
fi
isLocalhostUsers=$(sudo mysql -e "select user from mysql.user;" | grep "localhost")
isTestDB=$(sudo mysql -e "show databases" | grep "test")
[[ -n $isLocalhostUsers ]] && sudo mysql -e "DROP USER ''@'localhost'; DROP USER ''@'$(hostname)'"
[[ -n $isTestDB ]] && sudo mysql -e "DROP DATABASE test"
sudo mysql -e "FLUSH PRIVILEGES"
}
# Read arguments
for i in $@; do
echo -e "${c_yellow}Installation de $c_light$i$c_"
$i
done
if [[ $err ]]; then
echo -e "${c_red}Installation des prérequis incomplète: $err$c_"
exit 1
else
echo -e "${c_green}Les prérequis ont été correctement installés$c_"
exit 0
fi

View File

@ -0,0 +1,7 @@
{
"plugins": {
"ssb-private": true,
"ssb-backlinks": true,
"patchfoo": true
}
}

65
.install/ssb-patchfoo/install Executable file
View File

@ -0,0 +1,65 @@
#!/usr/bin/env bash
# shellcheck disable=SC1091
true
VERSION="TO-V0.5"
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
CURRENT_DIR="$(pwd)"
# Install node.js shared module
# shellcheck source=../shared/node.js/install
source "$BASE_DIR/../shared/node.js/install"
# Make folder if service did not
mkdir -p ~/.ssb/node_modules || true
# shellcheck disable=SC2164
cd ~/.ssb/node_modules
# Install dependencies
npm install --unsafe-perm asyncmemo hashlru pull-stream pull-cat multicb hyperscript pull-paramap ssb-contact ssb-sort stream-to-pull-stream emoji-server pull-paginate ssb-mentions busboy mime-types pull-identify-filetype human-time pull-hyperscript jpeg-autorotate pull-catch diff pull-split pull-utf8-decoder ssb-web-resolver highlight.js pull-box-stream base64-url ssb-backlinks ssb-private
# Install patchfoo and enable plugin
git clone https://github.com/tomeshnet/patchfoo.git patchfoo
(
# shellcheck disable=SC2164
cd patchfoo
git checkout ${VERSION}
)
# Replace ssb-server plugins.install with a static config file
# This will prevent the installation of these modules a second time
# and compiling downlevel for a 3rd time
cp "$BASE_DIR/config" ~/.ssb
#ssb-server plugins.install ssb-private
#ssb-server plugins.install ssb-backlinks
#ssb-server plugins.enable patchfoo
# Stop ssb service to process plugin
sudo systemctl stop ssb
# Disable the git-ssb and npm-ssb prerequisite
# Comment out two lines in patchwork that create a prerequisite for git-ssb and npm-ssb
# but don't seem to serve any purpose. git-ssb and and npm-ssbis not available on npm
sed -i 's#var Git#//var Git#' patchfoo/lib/app.js patchfoo/lib/app.js
sed -i 's#this.git = new Git(this.sbot, this.config)#//this.git = new Git(this.sbot, this.config)#' patchfoo/lib/app.js
sed -i 's#var SsbNpmRegistry#//var SsbNpmRegistry#' patchfoo/lib/app.js patchfoo/lib/app.js
sed -i 's#this.serveSsbNpmRegistry = SsbNpmRegistry.respond(this.sbot, this.config)#//this.serveSsbNpmRegistry = SsbNpmRegistry.respond(this.sbot, this.config)#' patchfoo/lib/app.js
# Comment out line that breaks things
sed -i "s#h('input', {type: 'file', name: 'upload'})#//h('input', {type: 'file', name: 'upload'})#" patchfoo/lib/serve.js
# Start service again to start patchfoo
sudo systemctl start ssb
# Install nginx reverse proxy file
sudo cp "$BASE_DIR/ssb-patchfoo.conf" /etc/nginx/site-path-enabled/ssb-patchfoo.conf
# Add entry into nginx home screen
APP="<div class='app'><h2>Patch Foo</h2>Plain SSB web UI. <br/><a href='/patchfoo'>Go</a></div>"
sudo sed -i "s#<\!--APPLIST-->#$APP\n<\!--APPLIST-->#" "/var/www/html/index.html"
# shellcheck disable=SC2164
cd "$CURRENT_DIR"

View File

@ -0,0 +1,9 @@
location /patchfoo {
proxy_pass http://127.0.0.1:8027/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
sub_filter "=\"/" "=\"/patchfoo/";
sub_filter_once off;
}

74
.install/ssl.sh Executable file
View File

@ -0,0 +1,74 @@
#!/bin/bash
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
### Vars
args=$(echo $@ | tr " " "\n")
if [[ "$args" =~ "DOMAIN=" ]]; then
DOMAIN=$(echo "$args" | grep "\<DOMAIN=" | awk -F '=' '{ print $2 }')
else
echo "Veuillez sélectionner un domaine avec DOMAIN=mondommain.com"
exit 1
fi
if [[ "$args" =~ "APP=" ]]; then
APP=$(echo "$args" | grep "\<APP=" | awk -F '=' '{ print $2 }')
else
echo "Veuillez sélectionner une application avec APP=monapp"
exit 1
fi
action=$(echo "$args" | grep -v "=")
[[ ! $action =~ ^(on|off|certif)$ ]] && echo "Veuillez choisir on, off ou certif pour créer un certificat ssl" && exit 1
###
install_certbot(){
sudo apt update
if [[ $(grep -E 'stretch|buster' /etc/os-release) ]]; then
sudo apt install certbot python-certbot-nginx -y
elif [[ $(grep -E '16.|17.|18.|19.' /etc/os-release) ]]; then
sudo apt install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt update
sudo apt install certbot python-certbot-nginx
else
echo "OS non supporté pour certbot." && exit 1
fi
}
create_certificate() {
sudo certbot --nginx certonly --non-interactive --agree-tos -m $USER@$DOMAIN -d $DOMAIN && echo "Le certificat de $DOMAIN a bien été déployé" || echo "Une erreur s'est produite lors de la création du certificat SSL"
## Cronification
[[ ! -e /opt/scripts ]] && sudo mkdir /opt/scripts
sudo cp $MY_PATH/templates/rproxy/ssl_renew.sh /opt/scripts/
[[ -z $(sudo crontab -l | grep "/opt/scripts/ssl_renew.sh") ]] && (sudo crontab -l ; sudo echo "12 2 * * 1 /opt/scripts/ssl_renew.sh") | sudo crontab -u root -
}
case $action in
on)
sudo sed -i 's/ #if/ if/g' /etc/nginx/conf.d/$APP.conf
sudo sed -i 's/ #add/ add/g' /etc/nginx/conf.d/$APP.conf
sudo sed -i "s/listen 443;/listen 443 ssl;/g" /etc/nginx/conf.d/$APP.conf
[[ ! -d /etc/nginx/includes ]] && sudo mkdir /etc/nginx/includes
sudo cp $MY_PATH/templates/rproxy/ssl.conf /etc/nginx/includes/
sudo sed -i "/Content-Security-Policy/a \ include includes/ssl.conf;\n ssl_certificate /etc/letsencrypt/live/$DOMAIN/fullchain.pem;\n ssl_certificate_key /etc/letsencrypt/live/$DOMAIN/privkey.pem;" /etc/nginx/conf.d/$APP.conf
;;
off)
sudo sed -i "s/ if/ #if/g" /etc/nginx/conf.d/$APP.conf
sudo sed -i "s/ add/ #add/g" /etc/nginx/conf.d/$APP.conf
sudo sed -i "/ssl.conf;/d" /etc/nginx/conf.d/$APP.conf
sudo sed -i "/ssl_certificate/d" /etc/nginx/conf.d/$APP.conf
;;
certif)
[[ ! $(which certbot) ]] && install_certbot
if sudo test ! -f /etc/letsencrypt/live/$DOMAIN/fullchain.pem; then create_certificate; fi
;;
esac

37
.install/sys_checkOS.sh Executable file
View File

@ -0,0 +1,37 @@
#!/bin/bash
astroVars="OS ARM YOU ipfsnodeid ASTROZEN ASTRONODE myProfile"
export YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1)
export ipfsnodeid=$(ipfs id -f='<id>\n')
export ASTROZEN="/home/$YOU/.zen"
export ASTRONODE="$ASTROZEN/ipfs/.$ipfsnodeid"
export myProfile="$ASTRONODE/profile"
[[ ! -d $ASTRONODE ]] && mkdir -p $ASTRONODE
## Check system kind
[[ $(uname -a | grep arm) ]] && export ARM=yes || unset ARM
if [[ $(grep -E '19.3|19.4' /etc/os-release) ]]; then export OS=buster;
elif [[ $(grep -E 'stretch|18.|19.' /etc/os-release) ]]; then export OS=stretch;
else export OS=buster;
fi
[[ -e $myProfile ]] && rm $myProfile
touch $myProfile
for i in $astroVars; do
[[ ! $(grep "$i=" $myProfile) && -n ${!i} ]] && echo "export $i=${!i}" >> $myProfile
done
# Export for user
[[ -n $(grep "/.zen/ipfs/" ~/.bashrc) ]] && sed -i -n '/\/.zen\/ipfs/!p' ~/.bashrc
[[ -n $(grep "# ASTROPORT " ~/.bashrc) ]] && sed -i -n '/# ASTROPORT /!p' ~/.bashrc
echo -e "# ASTROPORT ENVIRONMENT VARIABLE\n. /home/$YOU/.zen/ipfs/.$ipfsnodeid/profile" >> ~/.bashrc
# Export for root (obsolete)
#[[ -n $(sudo grep "/.zen/ipfs/" /root/.bashrc) ]] && sudo sed -i -n '/\/.zen\/ipfs/!p' /root/.bashrc
#[[ -n $(sudo grep "# ASTROPORT " /root/.bashrc) ]] && sudo sed -i -n '/# ASTROPORT /!p' /root/.bashrc
#echo -e "# ASTROPORT ENVIRONMENT VARIABLE\n. /home/$YOU/.zen/ipfs/.$ipfsnodeid/profile" | sudo tee -a /root/.bashrc
[[ $1 != "noexec" ]] && exec bash

View File

@ -0,0 +1,36 @@
music_directory "/home/_USER_/.zen/audio"
playlist_directory "/home/_USER_/.zen/playlists"
user "_USER_"
bind_to_address "localhost"
auto_update "yes"
zeroconf_enabled "yes"
zeroconf_name "Astroport CopyLaRadio Jukebox"
connection_timeout "120"
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
log_file "syslog"
###############################
audio_output {
type "pulse"
name "My Pulse Output"
server "127.0.0.1"
}
audio_output {
type "httpd"
name "CopyLaRadio HTTP Stream"
encoder "lame"
port "8000"
quality "5.0"
# bitrate "128"
format "44100:16:1"
}
audio_output {
type "fifo"
name "my pipe"
path "/tmp/snapfifo"
format "48000:16:2"
mixer_type "software"
}

View File

@ -0,0 +1,101 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: ipfs daemon
# Required-Start: $local_fs $remote_fs $network $syslog $named
# Required-Stop: $local_fs $remote_fs $network $syslog $named
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts the ipfs daemon
# Description: Starts the ipfs daemon using the start-stop-daemon
### END INIT INFO
# Author: Dylan Powers <dylan.kyle.powers@gmail.com
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
DESC="ipfs daemon"
NAME=ipfs
DAEMON=/usr/local/bin/ipfs
DAEMON_ARGS="daemon --enable-pubsub-experiment --enable-namesys-pubsub --enable-gc"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
IPFS_PATH=/home/xbian/.ipfs
IPFS_USER=xbian
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
# Read configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh
# Define LSB log_* functions.
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
# and status_of_proc is working.
. /lib/lsb/init-functions
#
# Function that starts the daemon/service
#
do_start() {
# Return
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test >/dev/null \
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile \
--background --chuid $IPFS_USER --no-close \
--exec /usr/bin/env IPFS_PATH="$IPFS_PATH" $DAEMON 2>>/var/log/ipfs.log 1>/dev/null \
-- $DAEMON_ARGS \
|| return 2
}
#
# Function that stops the daemon/service
#
do_stop() {
# Return
# 0 if daemon has been stopped
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
# Delete the pid
rm -f $PIDFILE
return "$RETVAL"
}
case "$1" in
start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
do_start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
stop)
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
do_stop
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
status)
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
;;
restart)
do_stop
do_start
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|status|restart}" >&2
exit 3
;;
esac

View File

@ -0,0 +1,11 @@
[Unit]
Description=IPFS daemon
After=network.target
[Service]
User=_USER
ExecStart=/usr/local/bin/ipfs daemon --enable-pubsub-experiment --enable-namesys-pubsub --routing=dhtclient --enable-gc
Restart=on-failure
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,28 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name _;
location /g1billet {
proxy_pass http://127.0.0.1:9980;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
location /ipfs {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
location /ipns {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
}

View File

@ -0,0 +1,14 @@
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 100m;
client_body_buffer_size 128k;
client_header_buffer_size 64k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 16k;
proxy_buffers 32 16k;
proxy_busy_buffers_size 64k;

View File

@ -0,0 +1,118 @@
{
"auth": "async",
"address": "sync",
"manifest": "sync",
"multiserver": {
"parse": "sync",
"address": "sync"
},
"multiserverNet": {},
"get": "async",
"createFeedStream": "source",
"createLogStream": "source",
"messagesByType": "source",
"createHistoryStream": "source",
"createUserStream": "source",
"createWriteStream": "sink",
"links": "source",
"add": "async",
"publish": "async",
"getAddress": "sync",
"getLatest": "async",
"latest": "source",
"latestSequence": "async",
"whoami": "sync",
"progress": "sync",
"status": "sync",
"getVectorClock": "async",
"version": "sync",
"help": "sync",
"seq": "async",
"usage": "sync",
"clock": "async",
"plugins": {
"install": "source",
"uninstall": "source",
"enable": "async",
"disable": "async",
"help": "sync"
},
"gossip": {
"add": "sync",
"remove": "sync",
"connect": "async",
"disconnect": "async",
"changes": "source",
"reconnect": "sync",
"disable": "sync",
"enable": "sync",
"ping": "duplex",
"get": "sync",
"peers": "sync",
"help": "sync"
},
"replicate": {
"changes": "source",
"upto": "source",
"request": "sync",
"block": "sync"
},
"friends": {
"hopStream": "source",
"onEdge": "sync",
"isFollowing": "async",
"isBlocking": "async",
"hops": "async",
"help": "sync",
"get": "async",
"createFriendStream": "source",
"stream": "source"
},
"blobs": {
"get": "source",
"getSlice": "source",
"add": "sink",
"rm": "async",
"ls": "source",
"has": "async",
"size": "async",
"meta": "async",
"want": "async",
"push": "async",
"changes": "source",
"createWants": "source",
"help": "sync"
},
"backlinks": {
"read": "source"
},
"invite": {
"create": "async",
"use": "async",
"accept": "async"
},
"query": {
"read": "source",
"explain": "sync",
"help": "sync"
},
"search": {
"query": "source",
"help": "sync"
},
"links2": {
"read": "source"
},
"ws": {},
"ebt": {
"replicate": "duplex",
"request": "sync",
"block": "sync",
"peerStatus": "sync"
},
"ooo": {
"stream": "duplex",
"get": "async",
"help": "sync"
}
}

34
.install/update_bashrc.sh Executable file
View File

@ -0,0 +1,34 @@
#!/bin/bash
########################################################################
# Author: Fred (support@qo-op.com)
# Version: 2020.12.06
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
########################################################################
# update_bashrc.sh
# Add $YOU $IPFSNODEID $G1PUB to ~/.bashrc
source ~/.bashrc
[[ $YOU != "" && $IPFSNODEID != "" && $G1PUB != "" ]] && er+="bashrc already updated"
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) || er+=" ipfs daemon not running"
IPFSNODEID=$(ipfs id -f='<id>\n') || er+=" ipfs id problem"
[[ -f ~/.zen/secret.dunikey ]] && G1PUB=$(cat ~/.zen/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2) || er+=" ~/.zen/secret.dunikey missing cannot find G1PUB"
[[ $er != "" ]] && echo "$er" && exit 1
echo "### ASTROPORT IDENTITY ###" >> ~/.bashrc
echo "YOU=$YOU" >> ~/.bashrc
echo "G1PUB=$G1PUB" >> ~/.bashrc
echo "IPFSNODEID=$IPFSNODEID" >> ~/.bashrc
## Add jaklis/.env ?
# cat ~/.zen/astroport/zen/jaklis/.env >> ~/.bashrc
source ~/.bashrc
echo "UPDATE ~/.bashrc OK"
tail -n 4 ~/.bashrc
exit 0

8
.install/youtube-dl.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
########################################################################
######## YOUTUBE-DL ##########
if [[ ! $(which youtube-dl) ]]; then
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl || exit 1
sudo chmod a+rx /usr/local/bin/youtube-dl
sudo chown $USER /usr/local/bin/youtube-dl
fi

113
1stRUNconfig.sh Executable file
View File

@ -0,0 +1,113 @@
#!/bin/bash
########################################################################
# Author: Fred (support@qo-op.com)
# Version: 2020.12.04
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
########################################################################
#
# This script is run from ~/.config/autostart/Astroport_X_config.desktop
#
########################################################################
# Create secret key files
# ~/.zen/secret.june
# ~/.zen/secret.dunikey
# ~/.zen/secret.ipfs & /tmp/config.ipfs
# ~/.zen/ipfs.sync
########################################################################
[[ $(which zenity) == "" ]] && echo "Please! sudo apt install zenity. EXIT" && exit 1
[[ -f ~/.zen/ipfs.sync ]] && echo "CONFIG ALREADY DONE" && source ~/.zen/ipfs.sync && exit 0
function cleanTMP
{
rm -f /tmp/secret.june /tmp/secret.dunikey /tmp/config.ipfs /tmp/secret.ipfs /tmp/secret.all
}
# NB: 2> >(grep -v 'GtkDialog' >&2) remove zenity console warning
zenity --question --width 300 --text "Initialiser votre station Astroport?" 2> >(grep -v 'GtkDialog' >&2)
[ $? == 1 ] && exit 1
########################################################################
# LOGIN (=SALT)
salt="$(~/.zen/astroport/zen/tools/diceware.sh 3 | xargs)"
# PASS (=PEPPER)
pepper="$(~/.zen/astroport/zen/tools/diceware.sh 3 | xargs)"
g1_profil=$(zenity --entry --width 300 --text "Nom de votre machine" --title "Astroport -- Profil" --entry-text="$(hostname)" 2> >(grep -v 'GtkDialog' >&2));
g1_salt=$(zenity --entry --width 300 --text "Identifiant gchange/cesium (sel)" --title "Astroport - Sel" --entry-text="$salt" 2> >(grep -v 'GtkDialog' >&2));
[ ${#g1_salt} -lt 8 ] && zenity --warning --width 300 --text "Identifiant doit faire plus de 8 caractères!!" 2> >(grep -v 'GtkDialog' >&2) && cleanTMP && exit 1
g1_pepper=$(zenity --entry --width 300 --text "Mot de passe gchange/cesium (poivre)" --title "Astroport - Poivre" --entry-text="$pepper" 2> >(grep -v 'GtkDialog' >&2));
echo "CREATING /tmp/secret.june"
echo "$g1_salt" > /tmp/secret.june
echo "$g1_pepper" >> /tmp/secret.june
echo "________________ https://gchange.fr ________________" > /tmp/secret.all
cat /tmp/secret.june >> /tmp/secret.all
########################################################################
echo "CREATING /tmp/secret.dunikey"
python3 ~/.zen/astroport/zen/tools/key_create_dunikey.py "$g1_salt" "$g1_pepper"
g1pub=$(cat /tmp/secret.dunikey | grep "pub" | cut -d ' ' -f 2)
g1sec=$(cat /tmp/secret.dunikey | grep "sec" | cut -d ' ' -f 2)
echo "" >> /tmp/secret.all
echo "_________________ https://cesium.app _______________" >> /tmp/secret.all
cat /tmp/secret.dunikey >> /tmp/secret.all
echo "" >> /tmp/secret.all
########################################################################
echo "CREATING /tmp/config.ipfs"
ipfs_ID=$(python3 ~/.zen/astroport/zen/tools/create_ipfsnodeid_from_tmp_secret.dunikey.py)
echo $ipfs_ID > /tmp/secret.ipfs && source /tmp/secret.ipfs
jq -r --arg PeerID "$PeerID" '.Identity.PeerID=$PeerID' ~/.ipfs/config > /tmp/config.tmp
jq -r --arg PrivKEY "$PrivKEY" '.Identity.PrivKey=$PrivKEY' /tmp/config.tmp > /tmp/config.ipfs
rm /tmp/config.tmp
echo "" >> /tmp/secret.all
echo "_____________________ IPFS ________________________" >> /tmp/secret.all
cat /tmp/secret.ipfs >> /tmp/secret.all
echo "" >> /tmp/secret.all
## Which directory to sync with IPFS
IPFS_sync_directory=$(zenity --file-selection --title="Choisissez le répertoire à partager par IPFS avec vos amis" --directory 2> >(grep -v 'GtkDialog' >&2))
[[ ! -d $IPFS_sync_directory ]] && zenity --warning --width 300 --text "Aucun répertoire... ANNULATION" 2> >(grep -v 'GtkDialog' >&2) && cleanTMP && exit 1
echo "IPFS_SYNC_DIR=$IPFS_sync_directory" >> /tmp/secret.all
########################################################################
echo "Copy new keys?"
zenity --width=971 --height=600 --title "Validation de votre configuration" --text-info --filename="/tmp/secret.all" 2> >(grep -v 'GtkDialog' >&2)
[ $? == 1 ] && cleanTMP && exit 1
[[ -f ~/.zen/secret.dunikey.old ]] && zenity --warning --width 300 --text "ANNULATION! Il existe déjà une sauvegarde d'anciennes clefs... support@qo-op.com" 2> >(grep -v 'GtkDialog' >&2) && cleanTMP && exit 1
mv ~/.zen/secret.june ~/.zen/secret.june.old
mv /tmp/secret.june ~/.zen/secret.june
mv ~/.zen/secret.dunikey ~/.zen/secret.dunikey.old
mv /tmp/secret.dunikey ~/.zen/secret.dunikey
mv ~/.zen/secret.ipfs ~/.zen/secret.ipfs.old
mv /tmp/secret.ipfs ~/.zen/secret.ipfs
mv ~/.ipfs/config ~/.ipfs/config.old
mv /tmp/config.ipfs ~/.ipfs/config
rm /tmp/secret.all
# WRITE ~/.zen/ipfs.sync CONFIG
echo "IPFS_SYNC_DIR=$IPFS_sync_directory" > ~/.zen/ipfs.sync
# CREATE gchange+ profile
# cd ~/.zen/astroport/zen/jaklis
# ./jaklis.py --key "~/.zen/secret.dunikey" --node "https://data.gchange.fr" set --name "$g1_profil" --avatar "~/.zen/astroport/logo.png"
# ERROR
echo "OK. Restart now"
zenity --warning --width 300 --text "Veuillez redémarrer l'ordinateur pour activer votre configuration..." 2> >(grep -v 'GtkDialog' >&2)
exit 0

View File

@ -3,12 +3,29 @@
If you are exhausted with the actual Feodal Internet...
If you want to join and build a P2P Digital Cyberspace, made and own by everyone. You are at the right place
[Do you want to join Swarm#0](https://git.p2p.legal/axiom-team/astroport#installation) ?
It as a swarm of Nodes spread accross Internet networks. Each loading a fat stack protocol layer made with
+ DUNITER Blockchain G1 for Libre money co-creation based on Humans
+ SCUTTLEBUTT Pubs for Machine & Human social interactions
+ IPFS Nodes for File Storage, public, private and Zen accounting
Astroport is a Framework mixing protocols as communication and messaging layers.
This release is a bunch of install install scripts.
Each one opening a new "cabin" offering different interfaces and uses with the Metaverse
- Cesium ease your life and manage all your wallets
- Gchange is a market for your local and global exchanges
- Patchwork, Oasis, Feedless, ... and more Fabulous ScuttleButt & IPFS Apps to come
[CODE](https://git.p2p.legal/axiom-team/astroport)
EXTRA DEPT:
- Nextcloud open, share and backup your cloud with your friends and family
- Minetest organise your virtual meetings, build your world on your 1km² land
- Kodi your multimedia center in a friend of friends Zen economy
| [EN](01.home/default.en.md) | [ES](01.home/default.es.md) | [FR](01.home/default.fr.md) | [DE](01.home/default.de.md) | [IT](01.home/default.it.md) | [PL](01.home/default.pl.md) | [RU](01.home/default.ru.md) | [PT](01.home/default.pt.md) | [NL](01.home/default.nl.md) |
| ------------------------- | ---------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | ---------------------------- | ---------------------------- | ---------------------------- |
| [METAVERSE](02.metaverse/default.en.md) | [METAVERSO](02.metaverse/default.es.md) | [METAVERS](02.metaverse/default.fr.md) | [METAVERSUM](02.metaverse/default.de.md) | [METAVERSO](02.metaverse/default.it.md) | [METAVERSE](02.metaverse/default.pl.md) | [МУЖЧИНА](02.metaverse/default.ru.md) | [METAVERSO](02.metaverse/default.pt.md) | [METAVERSIE](02.metaverse/default.nl.md) |
@ -42,3 +59,28 @@ We are all spread thin, each community doing one cool thing in its own place, so
Let's stop protocol wars and work together to progress toward our mutual vision.
Let's join our efforts and invent protocols to make our systems able to communicate at the lowest level.
## [The Map is the Territory](https://solarpunk.cool/zines/map-is-the-territory/)
![https://solarpunk.cool/zines/map-is-the-territory/aesthetic/tmitt_dither.png]
```
[[ ! -d ~/.zen ]] && mkdir ~/.zen
cd ~/.zen/
curl -L coolguy.website/earth | grep "~~*" -A2 | tail -2 >> earth
curl -L angblev.com/water | grep "~~*" -A2 | tail -2 >> water
curl -L solarpunk.cool/magic/fire | grep "~~*" -A2 | tail -2 >> fire
curl -L apileof.rocks | grep "~~*" -A2 | tail -2 >> air
curl -L solarpunk.cool/magic/end | grep "~~*" -A2 | tail -2 >> end
cat begin earth water fire air end
### YOUR KEY IS IMPORTANT
cat ~/.zen/secret.astroport.key
# SECURITY AND FREEDOM IS IMPORTANT TO YOU ?
############################################# USE LINUX !! ####
### My favorite distribution is Linux Mint
```

207
ISOconfig.sh Executable file
View File

@ -0,0 +1,207 @@
#!/bin/bash
########################################################################
# Author: Fred (support@qo-op.com)
# Version: 2020.12.05
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
########################################################################
# AUTOMATIC version of interactive 1stRUNconfig.sh
# This script can run from ~/.config/autostart/Astroport_X_config.desktop
#
########################################################################
# Create secret key files
# ~/.zen/secret.june
# ~/.zen/secret.dunikey
# ~/.zen/secret.ipfs & /tmp/config.ipfs
# ~/.zen/ipfs.sync
########################################################################
# CHECK IF CONFIG ALREADY DONE !! Remove ~/.zen/ipfs ~/.zen/secret ~/.zen/ipfs.sync
if [[ -f ~/.zen/ipfs.sync ]]; then
echo "CONFIG ALREADY DONE"
source ~/.zen/ipfs.sync
# NEW BOOT! SEND ipfstryme message to my friends...
cd ~/.zen/astroport/zen/jaklis
# GET LIST of issuer(s) who likes me
for liking_me in $(./jaklis.py like | jq -r '.likes[].issuer');
do
# CHECk if I am liking him either
friend_of_mine=$(./jaklis.py like -p $liking_me | jq -r '.yours');
echo "Sending IPFSTRYME message to $liking_me"
[[ $friend_of_mine != null ]] && ./jaklis.py send -d $liking_me -t "ipfstryme" -f ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr
done
cd -
exit 0
fi
# CHECK INTERNET CONNECTIVITY !!
ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` > /dev/null && echo ok || (echo "NO INTERNET CONNEXION" && exit 1)
########################################################################
########################################################################
echo "CREATING Gchange credentials"
########################################################################
salt="$(~/.zen/astroport/zen/tools/diceware.sh 3 | xargs)"
[[ $salt == "" ]] && echo "ERROR" && exit 1
pepper="$(~/.zen/astroport/zen/tools/diceware.sh 3 | xargs)"
g1_salt="$salt"
g1_pepper="$pepper"
echo "CREATING /tmp/secret.june"
echo "$g1_salt" > /tmp/secret.june
echo "$g1_pepper" >> /tmp/secret.june
########################################################################
########################################################################
echo "CREATING /tmp/secret.dunikey"
########################################################################
python3 ~/.zen/astroport/zen/tools/key_create_dunikey.py "$g1_salt" "$g1_pepper"
g1pub=$(cat /tmp/secret.dunikey | grep "pub" | cut -d ' ' -f 2)
g1sec=$(cat /tmp/secret.dunikey | grep "sec" | cut -d ' ' -f 2)
########################################################################
########################################################################
echo "CREATING /tmp/config.ipfs"
########################################################################
ipfs_ID=$(python3 ~/.zen/astroport/zen/tools/create_ipfsnodeid_from_tmp_secret.dunikey.py)
echo $ipfs_ID > /tmp/secret.ipfs && source /tmp/secret.ipfs
[[ $PrivKEY == "" ]] && echo "ERROR" && exit 1
jq -r --arg PeerID "$PeerID" '.Identity.PeerID=$PeerID' ~/.ipfs/config > /tmp/config.tmp
jq -r --arg PrivKEY "$PrivKEY" '.Identity.PrivKey=$PrivKEY' /tmp/config.tmp > /tmp/config.ipfs
rm /tmp/config.tmp
#
IPFSNODEID=$PeerID
echo $IPFSNODEID
## Declare directory transfered in IPFS
IPFS_sync_directory="$HOME/astroport"
########################################################################
# INSTALL KEYS
########################################################################
timestamp=$(date -u +%s%N | cut -b1-13)
[[ -f ~/.zen/secret.june ]] && mv ~/.zen/secret.june ~/.zen/secret.june.old.$timestamp
mv /tmp/secret.june ~/.zen/secret.june
[[ -f ~/.zen/secret.dunikey ]] && mv ~/.zen/secret.dunikey ~/.zen/secret.dunikey.old.$timestamp
mv /tmp/secret.dunikey ~/.zen/secret.dunikey
[[ -f ~/.zen/secret.ipfs ]] && mv ~/.zen/secret.ipfs ~/.zen/secret.ipfs.old.$timestamp
mv /tmp/secret.ipfs ~/.zen/secret.ipfs
[[ -f ~/.ipfs/config ]] && mv ~/.ipfs/config ~/.ipfs/config.old.$timestamp
mv /tmp/config.ipfs ~/.ipfs/config
########################################################################
echo "INIT ~/.zen/ipfs/.${IPFSNODEID}"
########################################################################
rm -Rf ~/.zen/ipfs
mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/G1SSB
########################################################################
# Give $XZUID to your (gchange friends) to add in Vstream Astroport and access your sharings
# IPNS link to "pastebin list" http://localhost:8181/ipns/$IPNSKEY/xbian/$XZUID
########################################################################
XZUID=$(~/.zen/astroport/zen/tools/diceware.sh 1 | xargs)${RANDOM:0:2}$(~/.zen/astroport/zen/tools/diceware.sh 1 | xargs)
echo "CREATE ~/.zen/ipfs/xbian/$XZUID"
mkdir -p ~/.zen/ipfs/xbian
touch ~/.zen/ipfs/xbian/$XZUID
# https://github.com/Kodi-vStream/venom-xbmc-addons/wiki/Voir-et-partager-sa-biblioth%C3%A8que-priv%C3%A9e#d%C3%A9clarer-des-films
echo "$XZUID" > ~/.zen/ipfs/.${IPFSNODEID}/_xbian.zuid
########################################################################
########################################################################
echo "CREATE + profile"
########################################################################
cd ~/.zen/astroport/zen/jaklis
./jaklis.py -n "https://g1.data.e-is.pro" set --name "$XZUID" --avatar "$HOME/.zen/astroport/logo.png" #CESIUM+
./jaklis.py -n "https://data.gchange.fr" set --name "$XZUID" --avatar "$HOME/.zen/astroport/logo.png" #GCHANGE+
########################################################################
########################################################################
echo "BECOME FRIEND with oasis (1st bootstrap)"
########################################################################
./jaklis.py -n "https://g1.data.e-is.pro" like -p 2jQUH4HfHxdTesjCjvMCx1VJgA5AnpuvrWRq1swfRdsS -s 5
./jaklis.py -n "https://data.gchange.fr" like -p 2jQUH4HfHxdTesjCjvMCx1VJgA5AnpuvrWRq1swfRdsS -s 5
########################################################################
echo "RESTART ipfs"
########################################################################
sudo service ipfs restart
echo ".... WAIT for SWARM to connect ..."
sleep 10
ipfs swarm peers
########################################################################
echo 'EXTEND ~/.bashrc'
########################################################################
~/.zen/astroport/.install/update_bashrc.sh
echo "Configure .kodi/addons/plugin.video.vstream/resources/sites/astroport.py"
cp -f ~/.zen/astroport/.install/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py \
~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py
# CREATE xbian IPNSKEY used to publish ~/.zen/ipfs_swarm/xbian (contains all XZUID pastebin files)
ipfs key rm xbian
IPNSKEY=$(ipfs key gen xbian)
sed -i "s/_IPNSKEY_/$IPNSKEY/g" ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py
sed -i "s/_PROFIL_/$XZUID/g" ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py
sed -i "s/_LOGIN_/$salt/g" ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py
sed -i "s/_MDP_/$pepper/g" ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py
~/.zen/astroport/zen/cesium_IPFS_swarm.sh
~/.zen/astroport/zen/ipfs_SWARM_refresh.sh
########################################################################
echo 'SEND "ipfstryme" message'
########################################################################
echo "" > ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr # ERASE
for tryme in $(ipfs id | jq -r .Addresses[]);
do
isLAN=$(echo $tryme | cut -f3 -d '/' | grep -E "(^127\.)|(^192\.168\.)|(^fd42\:)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")
[[ ! $isLAN && $tryme != "" ]] && echo "$tryme" >> ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr && echo "$tryme"
done
echo 'SEND ipfstryme to oasis' # Add your bootstrap Pub here
./jaklis.py -n "https://g1.data.le-sou.org" send -d 2jQUH4HfHxdTesjCjvMCx1VJgA5AnpuvrWRq1swfRdsS -t "ipfstryme" -f ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr
./jaklis.py -n "https://data.gchange.fr" send -d 2jQUH4HfHxdTesjCjvMCx1VJgA5AnpuvrWRq1swfRdsS -t "ipfstryme" -f ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr
########################################################################
echo 'INSTALL Astroport cron_MINUTE'
########################################################################
~/.zen/astroport/zen/cron_VRFY.sh
# Run only once: comment /etc/rc.local (su - xbian -c "~/.zen/astroport/ISOconfig.sh")
# sudo sed -i s/su/\#su/g /etc/rc.local
# BETTER NOT: Send new 'ipfstryme' message on each boot is done instead
echo "CHANGE hostname"
astrxbian=$(hostname)
sudo sed -i "s/$astrxbian/$XZUID/g" /etc/hostname
sudo sed -i "s/$astrxbian/$XZUID/g" /etc/hosts
echo "CHANGE DNS" # Avoid provider restrictions
sudo mv /etc/resolv.conf /etc/resolv.conf.old
sudo cat > /etc/resolv.conf <<EOF
domain home
search home
nameserver 80.67.169.12 80.67.169.40 94.247.43.254 2001:67c:13e4:1::37
# FFDN.org opennic.org = ns8.he.de + ns5.ru
EOF
sudo chattr +i /etc/resolv.conf
# WRITE ~/.zen/ipfs.sync CONFIG (meaning DONE)
echo "IPFS_SYNC_DIR=$IPFS_sync_directory" > ~/.zen/ipfs.sync
# RESIZING / partition
# sudo btrfs filesystem resize max /
########################################################################
echo 'REBOOT NOW...'
########################################################################
sudo reboot
exit 0

661
LICENSE Normal file
View File

@ -0,0 +1,661 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.

308
README.md
View File

@ -1,38 +1,300 @@
---
title: 'EVASION NUMERIQUE'
# NOUVELLE VERSION
Le développement
```
___ __ __
/ | _____/ /__________ ____ ____ _____/ /_
/ /| | / ___/ __/ ___/ __ \/ __ \/ __ \/ ___/ __/
/ ___ |(__ ) /_/ / / /_/ / /_/ / /_/ / / / /_
/_/ |_/____/\__/_/ \____/ .___/\____/_/ \__/ / KODI
/_/
__HyperWeb 5D - Metavers Numérique centré sur l'Humain__
```
continue sur [Astroport/KODI - astrXbian](https://git.p2p.legal/axiom-team/astrXbian)
---
# ASTROPORT
## is Not an Astroport
> ATTENTION ce code n'est plus maintenu... nous vous invitons désormais à utilisez [Astroport/KODI](https://git.p2p.legal/axiom-team/astrXbian)
===
# __Human Centric Telecommunication System__
### **FR: Internet est cassé**
**EN: The Internet is broken |
DE: Das Internet ist kaputt |
ES: La Internet está rota |
PT: A Internet está quebrada |
IT: Internet è rotto |
NL: Het internet is kapot |
PL: Internet jest zepsuty |
RU: Интернет сломан**
## [is Not an Astroport](./ANA)
===
The dream of an Internet without GAFAM, without Datacenter. Hosted and operated by all of us...
An asynchronous, anoptic, friend of friend (P2P) network.
## [c'est quoi?](https://astroport.frama.site/)
Le rêve d'un Internet sans GAFAM, sans Datacenter. Hébergé et opéré par nous tous...
Un réseau asynchrone, anoptique, qui fonctionne par ami d'ami (P2P).
[GROGol traduction](https://translate.google.fr/translate?sl=en&tl=fr&u=https%3A%2F%2Fgit.p2p.legal/axiom-team/astroport/src/master/README.md)
---
| FR | EN | DE | ES | PT | IT | NL | RU | PL |
| ------------------------------------------------- | ---- | ---- | --- | --- | --- | --- | --- | --- |
| [Internet est cassé](./ANA/01.home/default.fr.md) | [The Internet is broken](./ANA/01.home/default.en.md) | [Das Internet ist kaputt](./ANA/01.home/default.de.md) | [La Internet está rota](./ANA/01.home/default.es.md) | [A Internet está quebrada](./ANA/01.home/default.pt.md) | [Internet è rotto](./ANA/01.home/default.it.md) | [Het internet is kapot](./ANA/01.home/default.nl.md) | [Интернет сломан](./ANA/01.home/default.ru.md) | [Internet jest zepsuty](./ANA/01.home/default.pl.md) |
---
## So what is Astroport ?
Astroport is an ecosystem of several open sources applications forming a global mesh and complete network.
Astroport is an ecosystem of several open sources applications forming a global mesh of meshes restructuring the network from Humans point of view not Machine POV.
### It is autonomous, doesn't need permanent connectivity and is Human centered ONLY. [It behaves like The "BLOB creature"](https://git.p2p.legal/axiom-team/astroport#-help-our-open-collective-with-donations)
It's using:
- ScuttleButt for communication layer
- IPFS for media transport layer and swarm authentification
- Libre currency Duniter/Ḡ1 as monetary layer
- **ScuttleButt** as friendship, relative confidence, personnal blockchain & asynchronous, disconnect friendly, communication (SSB) layer, and 5Mb max file size storage.
- **IPFS** as distributed storage, incremental backup, media transport & file sharing layer between friends through **Zen Contracts**.
- **Duniter** First Libre currency monetary layer. Based on a sidechain strict consensus blockchain producing a Libre Money called June (Ḡ1). Actual fixed conversion rate is **1 Ḡ1 = 100 Zen**
## Installation
### THE FLAVORS
Each hosted astroport station will be able to have different "flavors", i.e. different software interconnected with it.
The base is a crystal with three branches, this is the Lapunta key in "The Castle in the Sky": G1 + SSB + IPFS.
The Lapunta key is the **responsible numerical identity which allows to start its relativistic #Swarm0** using the Astroport engine.
We can then add 'flavors' to the base which then becomes a Metaverse
**Metaverse is the experience of each of the interconnection of its information channels**
G1sms, Nextcloud, G1Dab, G1Tx, Cesium, Gchange, Transiscope, Oasis, Feedless, Youtube, Torrent, Minetest, etc...
We will even be able to add new applications simply ! It's everyone's taste in Metavers.
These tastes are like doors that we open or close to data flows thanks to the astroport, by its Stations (x64, Rpi, VirtualBox), its keys and your friends.
The **Minetest flavor**, which is actively developped, will teleport you into the private digital worlds of your Scuttlebutt friends.
The **Nextcloud flavor** will allow you a nearly infinite storage in the IPFS.
Applications connected to Astroport are considered as modules, synchronized channels with push/pull capacities, step by step integrated
1. Scraper / Pusher
2. API : Read / Write
3. IPFS full index/data conversion.
### Rapid overview how an App can become an Astroport Module and then be a DApp
In Astroport Loveland Metaverse every Station have a relative SSB view of the whole...
So many stations are part of the unique #Swarm0 relative to each "$YOU" Station.
Each Station have some software installed on it. Once "Fat Protocol Layer" is activated. **Your Astroport PC have new Power(S)**.
IPFS layer is always adapting to Half of your avalaible HDD space (better USB3 SSD ... technology ask @attilax)
Your LOCAL Apps can benefit from backup / replication / cryptographic file sharing / teleportation features !!
Depending on App and Data structure, different operations are requested.
[Get your App transformed to DApp is easy as 1, 2, 3](https://git.p2p.legal/axiom-team/astroport/src/master/g1sms/Readme.md)?
Want to join and try Alpha stage #Swarm0 ?
## #SWARM0
```
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/git-install.sh | bash && cd astroport
./install.sh # Can have argument to specific gate, or script ask which gate do you want interactively.
__ __ ____
__/ // /_______ ______ __________ ___ / __ \
/_ _ __/ ___/ | /| / / __ `/ ___/ __ `__ \/ / / /
/_ _ __(__ )| |/ |/ / /_/ / / / / / / / / /_/ /
/_//_/ /____/ |__/|__/\__,_/_/ /_/ /_/ /_/\____/
```
Activated and meshed layers, your node will create and connect to its #Swarm0
A special view and access to its network and data through friends only.
#swarm0 is the inner IPFS Metaverse structure and shape the same way our SSB friends are.
Main Task Manager is [run every minutes via cron](https://git.p2p.legal/axiom-team/astroport/src/master/cron_MINUTE.sh)
By default, shared ipfs data are encrypted (ed25519), but is not "private"...
- Just "invisible" from IPFS Not Friends Nodes.
- Discoverable within SSB by friends of your friends.
Share the same ~/.ipfs/swarm.key with your friends to "HARDEN" your shield
## Installation: Debian 10 (armv7/arm64/amd64) and Ubuntu/Mint 64bits ONLY !
**WARNING: This is an alpha stage development! Please FOLLOW INSTRUCTIONS!!! Open issues and help corrections. Thank you.**
### 0 - OPTIONAL : Create a new user "pi"
Only if you don't have "ipfs daemon" already running !!
continue the install with the user you are already using instead.
```
adduser pi
usermod -aG sudo pi
su - pi
```
**WARNING: This is an early stage develepment, use it with great care!**
### 1 - Automatic install
If you are sure about the code and you don't have .ssb and .ipfs folders, you can run automatic install:
```
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/install.sh | bash
```
:coffee:
Else you can follow steps 2,3 and 4 to check code gradually.
### 2 - IPFS - **Install and start “ipfs daemon”**
**WE ENCOURAGE YOU TO ALWAYS READ CODE YOU ARE DOWNLOADING AND EXECUTING or trust a friend only!!**
---
#### JOINING FOUNDATION TEAM !!!
**IMPORTANT !!!**
- Read the [Pure bash Bible](https://github.com/dylanaraps/pure-bash-bible)
- DO NOT RUN AUTOMATIC INSTALL BUT DO "STEP BY STEP" CODE EXECUTION
- Do make your report and follow https://pad.p2p.legal/s/astroport-landing#
- Do you know https://asciinema.org/? Record your session as a movie (join it to your issues)
> WELCOME
* Semi manual (so you can run the code step by step)
```
# to do so
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/ipfs_alone.sh -o /tmp/ipfsA.sh
geany /tmp/ipfsA.sh
# If you are happy with what you read and understood. RUN it
chmod +x /tmp/ipfsA.sh && /tmp/ipfsA.sh
```
* Full automatic (you trust this script from this git depot)
```
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/ipfs_alone.sh | bash
```
[How your SSB and IPFS swarm are kept in sync](https://git.p2p.legal/axiom-team/astroport/src/master/zen/ssb_IPFS_swarm.sh)?
### 3 - G1 SSB - **Create your “secrets” 🔑 from credentials and activate your Astroport Station 🛸**
[Look at the code generating your G1SSB Identity](https://git.p2p.legal/axiom-team/astroport/src/master/zen/tools/make_G1SSB_secret.sh).
```
# ONCE YOU READ, RUN step by step and AGREE !!! Run QUICK Install...
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/make_G1SSB_secret.sh | bash
```
**Astroport #Swarm0 makes you enter a "Virtual Private IPFS Swarm" shared with Scuttlebutt friends**
All files are located in ```~/.zen``` and ```~/.ssb_astroport``` (linked to ```~/.ssb```)
Your Astroport Station is working as a "multi-channel Switch", Apps are seen as push/pull communication channels.
Every minute, it "listens" to all its connected "channels" and run small routines to make actions between them.
During alpha period, your Station will ```git pull``` fresh code from this git every 5 mn.
**Fresh code** is located in ```~/.zen/astroport```
**IMPORTANT!! BACKUP YOUR KEYS!**
```
~/.zen/secret.astroport.key # this Station $WHOAMI "LaPunta" Key, containing login/password to create your "gchange account"
~/.zen/secret.dunikey # Cesium Key, the June G1 wallet of you Key.
~/.ssb/secret ( + ".json's" for easier SSB recovery) # ScuttleButt ID + connectors
```
KEEP them safe.
This way you could recover your data from #Swarm0
### 4 - DEMONSTRATION _ LOVELand _ Metaverse Interface: https://oasis.astroport.com
**$YOU Local basic 100km Web Control for Zen p2p markets**
(+ coming [Minetest](https://minetest.net), [NextCloud](https://nextcloud.com/), [CopyLaRadio](https://www.copylaradio.com), .... **Adding your App is easy as "1 2 3"**)
```
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/loveland.sh | bash
```
---
## Quick tour of Astroport Stations "flavours" (alpha):
- A 100 km local area Information System around your Cesium location
- [gchange_MONITOR!!](https://git.p2p.legal/axiom-team/astroport/src/master/zen/gchange_MONITOR.sh) Connect to [Gchange](https://gchange.fr) market
- A Nextcloud / IPFS Hub [Cloud Attilax Station](https://cloudattilax.axiom-team.fr/) [Rock64 Station](https://rock64.p2p.legal/)
- Minetest Mini Worlds (SSB in sync) [Txmn.tk Station](https://diaspora.normandie-libre.fr/posts/171127)
- **Explore ScuttleButt UNIVERSE**
- Choose your prefered ScuttleButt client to reach the Metaverse
- [Patchwork](http://dinosaur.is/patchwork-downloader/)
- [Oasis](https://github.com/fraction/oasis)
- [Feedless](https://github.com/rogeriochaves/feedless)
- [Manyverse](https://manyver.se)
- [others](https://scuttlebot.io/apps/index.html) & plenty to come !!
- **Experimentations with SSB & G1 UNIVERSE**
- Reward SSB likes with [ssb-g1-tip](https://git.p2p.legal/axiom-team/ssb-g1-tip)
- **Experimentations into IPFS Zen UNIVERSE**
- Copy [Audio](https://git.p2p.legal/axiom-team/astroport/src/master/zen/ssb_GET_zenyta.sh) and [Video](https://git.p2p.legal/axiom-team/astroport/src/master/zen/ssb_GET_zenytv.sh) from Youtube.
- Publish [contracts in ZenTag](https://git.p2p.legal/axiom-team/astroport/src/master/zen/zen_MAKE.sh)
- ZenTag counters, IPNS nano DHT to control ipfs availability of files.
![](https://pad.p2p.legal/uploads/upload_bfcde4526535bce2cfb12c2e0497587d.png)
Questions? Help needed? Post an issue...
Chat with us https://chat.axiom-team.fr/channel/astroport
---
## PARTNERS
[AXIOM-TEAM](https://axiom-team.fr/) | [Made In Zion](https://madeinzion.org) | [QWANTIC](https://qwantic.com)
```
_ ______ _
/ \\ //\ |\ || | /
\_X \/\//--\| \|| _|_\_ #HyperWeb 5D
# BUILT FROM GNU CORE BASH TECHNOLOGY
https://www.gnu.org/software/coreutils/
```
---
# [OASIS RULES, Docs and Roadmap](https://git.p2p.legal/axiom-team/astroport/src/master/g1sms/Readme.md)
Participating @attilax @poka @josselinchevalay @ben @mlsuyt @tuxmain @qo-op @manutopik @yyy @borispaing @paulart @guenoel @jeanluc @nox @pruls @cel @andrestaltz @Dan ... I have to stop... to many people...
# EXERNAL DOCUMENTATION
- [IPFS CLI commands](https://docs.ipfs.io/reference/api/cli/)
- [sbotc documentation and examples](https://pad.p2p.legal/scuttlebot#sbotc--documentation)
KEEP COOL, BE SAFE, BE FREE
```
_____
/__ / ___ ____
/ / / _ \/ __ \
/ /__/ __/ / / /
/____/\___/_/ /_/
```
### Astroport is Human centered & Nature inspired
- Similar to Organic Life Form
[![Blob creature](https://git.p2p.legal/axiom-team/astroport/raw/master/blob.gif)](https://www.youtube.com/watch?v=W_FaOWZQdz0)
[![#Swarm0 Clusters](https://git.p2p.legal/axiom-team/astroport/raw/master/doc/images/LIFE.gif)](http://www.ventrella.com/Clusters/)
- Devil/angel Game resolver :
- [SSB viewer link](https://viewer.scuttlebot.io/%25TzYboJss10k83csj3khLkGGc5km9zoR%2FAx6RG6z6yEo%3D.sha256)
- [Youtube link](https://www.youtube.com/watch?v=sxiKlOK3EJY)
- [#Swarm0 link](http://127.0.0.1:8080/ipfs/QmXs9374jUX6y8s3rSYxHb9LtkCKCxXGGwAVMbQgWBTbJa/sxiKlOK3EJY.mp4)
# [>>>>>>> Help our Open Collective with DONATIONS](https://opencollective.com/monnaie-libre)
### Web 2.0 is dangerous!! You only have window and an apple already biten.
Actual Internet is a place full of virus. But we are lucky a **Free Software Universe is lying inside of it**.
Now you must KNOW it exists, to be SAFE!
[HOW MANY PEOPLE ARE ALREADY OWNING YOUR DATA ???](https://monitor.firefox.com/) **<<< check your "digital ghost"**
> WE are building the **"HyperWeb Cyberspace"** with Base Stations and "Spacecraft(s) UX" (ZApp)
[Discover "LOVE Land" the 1st Libre Metaverse interface, a living digital space](https://oasis.astroport.com)

11147
REVE.sh Executable file

File diff suppressed because it is too large Load Diff

BIN
blob.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

View File

@ -1,136 +0,0 @@
#!/bin/bash
########################################################################
# Author: Fred (support@qo-op.com)
# Version: 0.3
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
########################################################################
# ASTROPORT COMMAND RECEIVER & DISPACHER
# Rise Up by unid@chan && Run corresponding command.sh
########################################################################
# NOT WORKING YET
# TODO! CONVERT G1SMS+ FROM PHONE TO MULTICHANNEL
########################################################################
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
source ./zen/functions.sh
SOURCE="$1" # id@channel
COMMAND="$2" # command received (message, comment, ...)
[[ $SOURCE == "" ]] && SOURCE="unid@channel"
[[ $COMMAND == "" ]] && COMMAND="cmd arg1 arg2 ..."
SOURCEH=$(echo -n $SOURCE | sha512sum | cut -d ' ' -f 1) # Hash SOURCE
SRC=$(echo "$SOURCE" | cut -d '@' -f 1)
CHAN=$(echo "$SOURCE" | cut -d '@' -f 2)
CMD=$(echo "$COMMAND" | awk '{print toupper($1)}') # CMD is first word
########################################################################
# ANTI SPAM
##################################################################
NOspam
##################################################################
# Handle commands CMD
##################################################################
case "$CMD" in
# RAZ MEMERUID?
RAZ)
MEMBERUID=$(echo "$COMMAND" | awk '{print $2}' | grep -E "([A-Za-z0-9\-\_]+$)")
./shell/chan_RAZ.sh "$SOURCE" "$MEMBERUID"&
;;
# HELP
HELP)
./shell/chan_HELP.sh "$SOURCE" &
;;
# NEW MEMERUID?
NEW)
MEMBERUID=$(echo "$COMMAND" | awk '{print $2}' | grep -E "([A-Za-z0-9\-\_]+$)")
./shell/chan_NEW.sh "$SOURCE" "$MEMBERUID" &
;;
# PAY DESTINATION! MONEY!
PAY)
DESTINATION=$(echo "$COMMAND" | awk '{print tolower($2)}' | grep -E "[a-z0-9._%+-]+@[a-z0-9._%+-]")
MONEY=$(echo "$COMMAND" | awk '{print $3}' | grep -E "^\-?[0-9]+$")
if [[ "$DEST" != "" && "$MONEY" != "" ]]; then
./shell/chan_PAY.sh "$SOURCE" "$DEST" "$MONEY" &
else
./shell/chan_ERROR.sh "$SOURCE" "PAY DESTINATION! MONEY!" &
fi
;;
# VIR AMOUNT! VIRDEST! PERIOD? TIME?
VIR)
AMOUNT=$(echo "$COMMAND" | awk '{print $2}' | grep -E "^\-?[0-9]+$")
VIRDEST=$(echo "$COMMAND" | awk '{print $3}' | grep -E "([A-Za-z0-9\-\_]+$)")
PERIOD=$(echo "$COMMAND" | awk '{print toupper($4)}' | grep -E "([A-Za-z0-9\-\_]+$)")
TIME=$(echo "$COMMAND" | awk '{print $5}' | grep -E "^\-?[0-9]+$")
if [[ "$VIRDEST" != "" && "$AMOUNT" != "" && "$PERIOD" != "" && "$TIME" != "" ]]; then
./shell/chan_VIR.sh "$SOURCE" "$VIRDEST" "$AMOUNT" "$PERIOD" "$TIME" &
else
./shell/chan_ERROR.sh "$SOURCE" "VIR AMOUNT! VIRDEST! PERIOD? TIME?" &
fi
;;
# BAL
BAL)
./shell/chan_COUNT.sh "$SOURCE" &
;;
# EMAIL MAIL!
EMAIL)
MAIL=$(echo "$COMMAND" | awk '{print tolower($2)}' | grep -E "[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}")
if [[ "$MAIL" != "" ]]; then
./shell/chan_EMAIL.sh "$SOURCE" "$MAIL" &
else
./shell/chan_ERROR.sh "$SOURCE" "EMAIL MAIL!" &
fi
;;
# BILL VAL!
BILL)
VAL=$(echo "$COMMAND" | awk '{print $2}' | grep -E "^\-?[0-9]+$")
if [[ "$VAL" != "" ]]; then
./shell/chan_BILLET.sh "$SOURCE" "$VAL" &
else
./shell/chan_ERROR.sh "$SOURCE" "BILL VAL!" &
fi
;;
# CHK W1! W2! W3? W4? W5? W6? W7?
CHK)
W1=$(echo "$COMMAND" | awk '{print tolower($2)}' | grep -E "^[a-z0-9]+$")
W2=$(echo "$COMMAND" | awk '{print tolower($3)}' | grep -E "^[a-z0-9]+$")
W3=$(echo "$COMMAND" | awk '{print tolower($4)}' | grep -E "^[a-z0-9]+$")
W4=$(echo "$COMMAND" | awk '{print tolower($5)}' | grep -E "^[a-z0-9]+$")
W5=$(echo "$COMMAND" | awk '{print tolower($6)}' | grep -E "^[a-z0-9]+$")
W6=$(echo "$COMMAND" | awk '{print tolower($7)}' | grep -E "^[a-z0-9]+$")
W7=$(echo "$COMMAND" | awk '{print tolower($8)}' | grep -E "^[a-z0-9]+$")
if [[ "$W1" != "" && "$W2" != "" ]]; then
./shell/chan_BILLETCHK.sh "$SOURCE" "$W1" "$W2" "$W3" "$W4" "$W5" "$W6" "$W7" &
else
./shell/chan_ERROR.sh "$SOURCE" "CHK W1! W2! W3? W4? W5? W6? W7?" &
fi
;;
CMD)
echo "==================================================="
echo "HELLO $SOURCE your ASTROPORT suit is $SOURCEH"
echo "RUN ./command_received.sh \"$SOURCE\" \"$COMMAND\""
;;
ACK|DELIVERED|PENDING|FAILED)
exit 0
;;
*)
echo "$SOURCE :: UNKNOWN $COMMAND"
exit 1
;;
esac
exit 0

196
cron_MINUTE.sh Executable file
View File

@ -0,0 +1,196 @@
#!/bin/bash
########################################################################
# Author: Fred (support@qo-op.com)
# Version: 0.3
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
########################################################################
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
ME="${0##*/}"
source $HOME/.profile
# CORRECT PATH
[[ ! $(echo $PATH | grep "/usr/local/bin") ]] && export PATH="$PATH:/usr/local/bin"
[[ ! $(echo $PATH | grep "HOME/.local/bin") ]] && export PATH="$PATH:$HOME/.local/bin"
[[ ! $(echo $PATH | grep "/usr/games") ]] && export PATH="$PATH:/usr/games"
#### INIT STATION PARAMETERS
[[ -f $MY_PATH/../secret.astroport.key ]] && source $MY_PATH/../secret.astroport.key # DEPRECATED now using ~/.bashrc
export YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1)
source /home/$YOU/.profile
[[ $IPFSNODEID ]] && export IPFSNODEID=$IPFSNODEID || export IPFSNODEID=$(ipfs id -f='<id>\n')
########################################################################
# HELP DEVLT: Search "TODO" in code
# Write what you thing about the situation
# AND how you would like to 'fix it'...
# Then friends can read and enhance solution.
# WARNING: This script must be processing less than 1 minute, so do not charge too much this script
# _ _____ ____ _ _______ ________ ____
# | | / / | / __ \/ | / / _/ | / / ____/ / / /
# | | /| / / /| | / /_/ / |/ // // |/ / / __ / / /
# | |/ |/ / ___ |/ _, _/ /| // // /| / /_/ / /_/_/
# |__/|__/_/ |_/_/ |_/_/ |_/___/_/ |_/\____/ (_|_)
########################################################################
# NB: 'figlet' is used for labeling code trunks
########################################################################
### MODIFY WITH GREAT CARE!!! MUST BE BUG FREE !!!!!
### EVERY STATION RUN THIS SCRIPT EVERY MINUTE.
export isMinetestRunning=$(ps auxf --sort=+utime | grep -w minetest | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1)
export isG1smsRunning=$(ps auxf --sort=+utime | grep -w gammu | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1)
export isKodiRunning=$(ps auxf --sort=+utime | grep -w kodi | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1)
# ? isNextcloudRunning=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1)
### DETECT FLAVOURS (TODO: Publish and share into ipfs/.12D3KooW***/ )
########################################################################
cd $MY_PATH
# WHAT UNIVERSAL TIME is it ?
minute=$(date -u +%M)
heure=$(date -u +%H)
timebar="$heure:$minute"
dayoftheweek=$(date +%w)
dayofthemonth=$(date +%d)
weeknumber=$(date +%V)
echo $timebar
#
# _________
# / ____< /________ ___ _____
# / / __ / / ___/ __ `__ \/ ___/
#/ /_/ // (__ ) / / / / (__ )
#\____//_/____/_/ /_/ /_/____/
#
# $MY_PATH/g1sms/sms_ASTROPORT.sh
# TIME NTP SYNC: TODO: Problem being root (stickybit INSTALL?)
# G1Tx. G1sms. G1Dab Zen economy needs precise time sync (RpiZero !!)
# Tx rates is limited by Station time synchronisation.
# sudo ntpdate ntp.pool.org
# ____ _______ __ __
# / __ \/ ____/ | / / ____ ___ ____ ____/ /__
# / / / / __/ | | / / / __ `__ \/ __ \/ __ / _ \
# / /_/ / /___ | |/ / / / / / / / /_/ / /_/ / __/
# /_____/_____/ |___/ /_/ /_/ /_/\____/\__,_/\___/
#
#
# ACTIVATE 5 MN "git pull" update
if [[ $(($minute % 5)) == 0 ]]; then
#######################################
sleep $((1 + RANDOM % 12))
git pull
fi
# __ __ _____ ____
# __/ // /_/ ___/ ______ __________ ___ / __ \
# /_ _ __/\__ \ | /| / / __ `/ ___/ __ `__ \/ / / /
# /_ _ __/___/ / |/ |/ / /_/ / / / / / / / / /_/ /
# /_//_/ /____/|__/|__/\__,_/_/ /_/ /_/ /_/\____/
#
##################################################################
# REFRESH IPFS SWARM DATA EVERY 12 & 15 minutes
[[ $(($minute % 12)) == 0 ]] && sleep $((1 + RANDOM % 10)) && $MY_PATH/zen/gchange_IPFS_swarm.sh &
[[ $(($minute % 15)) == 0 ]] && sleep $((1 + RANDOM % 10)) && $MY_PATH/zen/ipfs_SWARM_refresh.sh &
# Transfert ~/astroport/films to IPFS and make Vstream/ASTROPORT indexes on IPNS
if [[ "$timebar" == "03:03" ]]; then
$MY_PATH/zen/xbian_vstream.sh &
fi
## TODO investigate could breaks "ipfs p2p" forwards ?
##################################################################
# _________ _______ __ _ __
# / ____< / /_ __/ |/ / ____ ___ ____ ____ (_) /_____ _____
# / / __ / / / / | / / __ `__ \/ __ \/ __ \/ / __/ __ \/ ___/
# / /_/ // / / / / | / / / / / / /_/ / / / / / /_/ /_/ / /
# \____//_/ /_/ /_/|_| /_/ /_/ /_/\____/_/ /_/_/\__/\____/_/
#
##################################################################
# MONITOR INPUT TX (TODO: DEBUG)
# Activate later for DAB ZenTx Machines
# [[ $(($minute % 5)) == 0 ]] && sleep $((1 + RANDOM % 10)) && $MY_PATH/zen/g1_MONITOR_zen.sh "5 minutes"
##################################################################
##################################################################
##################################################################
# MIDNIGHT:01 : ZENBOT CLEANING & UPDATE
##################################################################
##################################################################
if [[ "$timebar" == "00:01" ]]; then
echo '
# ____ ____ ____ ___
# / __ \/ __ \ _ / __ < /
# / / / / / / / (_) / / / / /
# / /_/ / /_/ / _ / /_/ / /
# \____/\____/ (_) \____/_/
#
# MAINTENANCE
'
sleep $((1 + RANDOM % 5)) ### Be careful if random sleep is not activated...
############################## That swarm could become an aggressive blob !!
### PEACE & LOVE software is processing... We are HyperWeb people here.
# DEFCON 5 quiet behaviour so Please keep cool, take care and be zen.
# GOOD BYE GOOGLE, AMAZON, FACEBOOK, APPLE, MICROSOFT. We don't need you.
##################################################################
# REFRESH & UPGRADE youtube-dl
youtube-dl --rm-cache-dir
youtube-dl -U
#### DESYNC
sleep $((1 + RANDOM % 5))
##################################################################
# ssb_INIT + LOG ROTATE EVERY SUNDAY # TODO /var/log/ + logrotate (& tempfiles in /tmp in RAMFS)
if [[ $dayoftheweek == 0 ]]; then
$MY_PATH/zen/gchange_INIT.sh &
# ACTIVATE IF CRON LOGGING
#tar cvzf ~/.zen/astroport.$weeknumber.log.tgz /tmp/astroport.log # LOG BACKUP FOR 1 YEAR !!
fi
#### DESYNC
sleep $((1 + RANDOM % 5))
##################################################################
# GIT UPDATE
./git-update.sh
git pull # UPDATE CODE git pull
##################################################################
echo '
_________ ______
____ ___ ____ /_ __/ | / ____/
/_ / / _ \/ __ \ / / / /| |/ / __
/ /_/ __/ / / / / / / ___ / /_/ /
/___/\___/_/ /_/ /_/ /_/ |_\____/
REFRESHing ZenTAG nano DHTs = Zen File ECONOMY
'
# ./zen/ipns_TAG_refresh.sh
##################################################################
if [[ $dayofthemonth == 7 ]]; then
availableDiskSize=$(df -P ~/ | awk 'NR>1{sum+=$4}END{print sum}')
diskSize="$((availableDiskSize / 2))"
ipfs config Datastore.StorageMax $diskSize
echo '
_____ __ __ ___
/ ___// /_____ _________ _____ ____ / |/ /___ __ __
\__ \/ __/ __ \/ ___/ __ `/ __ `/ _ \ / /|_/ / __ `/ |/_/
___/ / /_/ /_/ / / / /_/ / /_/ / __/ / / / / /_/ /> <
/____/\__/\____/_/ \__,_/\__, /\___/ /_/ /_/\__,_/_/|_|
/____/
# 1/2 HDD for IPFS size - dicotomic adaptation 7th EVERY MONTH
#
# TODO: Read parameters from ipfs, publish status to swarm, could be use for youtube-dl or other kind of heavy ipfs input Station election.
#
'
echo "StorageMax = $diskSize"
fi
##################################################################
fi

View File

@ -0,0 +1,682 @@
<!DOCTYPE html>
<html lang="en-US"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- Google Tag Manager -->
<script async="" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/gtm.js"></script><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push(
{'gtm.start': new Date().getTime(),event:'gtm.js'}
);var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5QBJTNC');</script>
<!-- End Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/js"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-11198485-1');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="https://gmpg.org/xfn/11">
<link rel="apple-touch-icon" sizes="57x57" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/favicon-16x16.png">
<link rel="manifest" href="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="https://www.usv.com/wp-content/themes/unionsquareventures/frontend/static/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="alternate" type="application/rss+xml" href="https://www.usv.com/writing/feed" title="USV Blog RSS">
<link rel="alternate" type="application/rss+xml" href="https://www.usv.com/team-posts/feed" title="USV Team Posts RSS">
<title>Fat Protocols | Union Square Ventures</title>
<!-- This site is optimized with the Yoast SEO plugin v12.5 - https://yoast.com/wordpress/plugins/seo/ -->
<meta name="description" content="Here's one way to think about the differences between the Internet and the Blockchain. The previous generation of shared protocols (TCP/IP, HTTP, SMTP,">
<meta name="robots" content="max-snippet:-1, max-image-preview:large, max-video-preview:-1">
<link rel="canonical" href="https://www.usv.com/writing/2016/08/fat-protocols/">
<meta property="og:locale" content="en_US">
<meta property="og:type" content="article">
<meta property="og:title" content="Fat Protocols | Union Square Ventures">
<meta property="og:description" content="Here's one way to think about the differences between the Internet and the Blockchain. The previous generation of shared protocols (TCP/IP, HTTP, SMTP,">
<meta property="og:url" content="https://www.usv.com/writing/2016/08/fat-protocols/">
<meta property="og:site_name" content="Union Square Ventures">
<meta property="article:section" content="USV Blog">
<meta property="article:published_time" content="2016-08-08T09:35:39-04:00">
<meta property="article:modified_time" content="2019-08-26T13:53:04-04:00">
<meta property="og:updated_time" content="2019-08-26T13:53:04-04:00">
<meta property="og:image" content="http://i.imgur.com/6uKSty0.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:description" content="Here's one way to think about the differences between the Internet and the Blockchain. The previous generation of shared protocols (TCP/IP, HTTP, SMTP,">
<meta name="twitter:title" content="Fat Protocols | Union Square Ventures">
<meta name="twitter:site" content="@usv">
<meta name="twitter:image" content="http://i.imgur.com/6uKSty0.png">
<meta name="twitter:creator" content="@usv">
<!-- / Yoast SEO plugin. -->
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="dns-prefetch" href="https://s.w.org/">
<script type="text/javascript">
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/12.0.0-1\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/12.0.0-1\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.usv.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.3.2"}};
!function(e,a,t){var r,n,o,i,p=a.createElement("canvas"),s=p.getContext&&p.getContext("2d");function c(e,t){var a=String.fromCharCode;s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,e),0,0);var r=p.toDataURL();return s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,t),0,0),r===p.toDataURL()}function l(e){if(!s||!s.fillText)return!1;switch(s.textBaseline="top",s.font="600 32px Arial",e){case"flag":return!c([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])&&(!c([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!c([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]));case"emoji":return!c([55357,56424,55356,57342,8205,55358,56605,8205,55357,56424,55356,57340],[55357,56424,55356,57342,8203,55358,56605,8203,55357,56424,55356,57340])}return!1}function d(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(i=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},o=0;o<i.length;o++)t.supports[i[o]]=l(i[o]),t.supports.everything=t.supports.everything&&t.supports[i[o]],"flag"!==i[o]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[i[o]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(r=t.source||{}).concatemoji?d(r.concatemoji):r.wpemoji&&r.twemoji&&(d(r.twemoji),d(r.wpemoji)))}(window,document,window._wpemojiSettings);
</script><script src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/wp-emoji-release.js" type="text/javascript" defer="defer"></script>
<style type="text/css">
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
<link rel="stylesheet" id="wp-block-library-css" href="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/style.css" type="text/css" media="all">
<link rel="stylesheet" id="wp-block-library-theme-css" href="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/theme.css" type="text/css" media="all">
<link rel="stylesheet" id="mpp_gutenberg-css" href="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/blocks.css" type="text/css" media="all">
<link rel="stylesheet" id="wpt-twitter-feed-css" href="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/twitter-feed.css" type="text/css" media="all">
<link rel="stylesheet" id="parent-style-css" href="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/style_002.css" type="text/css" media="all">
<link rel="stylesheet" id="custom-styles-css" href="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/main.css" type="text/css" media="all">
<link rel="stylesheet" id="twentynineteen-style-css" href="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/style_003.css" type="text/css" media="all">
<link rel="stylesheet" id="twentynineteen-print-style-css" href="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/print.css" type="text/css" media="print">
<script type="text/javascript" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/jquery_002.js"></script>
<script type="text/javascript" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/jquery-migrate.js"></script>
<link rel="https://api.w.org/" href="https://www.usv.com/wp-json/">
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.usv.com/xmlrpc.php?rsd">
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.usv.com/wp-includes/wlwmanifest.xml">
<meta name="generator" content="WordPress 5.3.2">
<link rel="shortlink" href="https://www.usv.com/?p=443">
<link rel="alternate" type="application/json+oembed" href="https://www.usv.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.usv.com%2Fwriting%2F2016%2F08%2Ffat-protocols%2F">
<link rel="alternate" type="text/xml+oembed" href="https://www.usv.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.usv.com%2Fwriting%2F2016%2F08%2Ffat-protocols%2F&amp;format=xml">
<!-- This site is optimized with the Schema plugin v1.7.8 - https://schema.press -->
<script type="application/ld+json">{"@context":"http:\/\/schema.org\/","@type":"BlogPosting","mainEntityOfPage":{"@type":"WebPage","@id":"https:\/\/www.usv.com\/writing\/2016\/08\/fat-protocols\/"},"url":"https:\/\/www.usv.com\/writing\/2016\/08\/fat-protocols\/","headline":"Fat...","datePublished":"2016-08-08T09:35:39-04:00","dateModified":"2019-08-26T13:53:04-04:00","publisher":{"@type":"Organization","@id":"https:\/\/www.usv.com\/#organization","name":"Union Square Ventures","logo":{"@type":"ImageObject","url":"https:\/\/dev-union-square-ventures.pantheonsite.io\/wp-content\/uploads\/2019\/04\/usv_logo.jpg","width":600,"height":60}},"image":{"@type":"ImageObject","url":"http:\/\/i.imgur.com\/6uKSty0.png","width":696,"height":"515"},"articleSection":"USV Blog","description":"Here's one way to think about the differences between the Internet and the Blockchain. The previous generation of shared protocols (TCP\/IP, HTTP, SMTP, etc.) produced immeasurable amounts of value, but most of it got captured and re-aggregated on top at the applications layer, largely in the form of data","author":{"@type":"Person","name":"Joel Monegro","url":"https:\/\/www.usv.com\/people\/joel-monegro\/","description":"\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"","image":{"@type":"ImageObject","url":"https:\/\/secure.gravatar.com\/avatar\/eca9bf219907c268f52652417960552d?s=96&d=mm&r=g","height":96,"width":96}}}</script>
<!-- Stream WordPress user activity plugin v3.4.2 -->
<link rel="icon" href="https://www.usv.com/wp-content/uploads/2019/04/cropped-usv_logo-32x32.jpg" sizes="32x32">
<link rel="icon" href="https://www.usv.com/wp-content/uploads/2019/04/cropped-usv_logo-192x192.jpg" sizes="192x192">
<link rel="apple-touch-icon-precomposed" href="https://www.usv.com/wp-content/uploads/2019/04/cropped-usv_logo-180x180.jpg">
<meta name="msapplication-TileImage" content="https://www.usv.com/wp-content/uploads/2019/04/cropped-usv_logo-270x270.jpg">
<style type="text/css" id="wp-custom-css">
.discuss-on-twitter-button {
background: #349f4e!important;
border: 2px solid #fff;
}
.discuss-on-twitter-button:hover {
background: #fff!important;
border: 2px solid #349f4e!important;
color: #349f4e !important;
} </style>
</head>
<body class="post-template-default single single-post postid-443 single-format-standard wp-custom-logo wp-embed-responsive section-writing singular image-filters-enabled">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5QBJTNC"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
<header id="masthead" class="site-header">
<div class="site-branding-container">
<div class="site-branding">
<section class="o__header container js-header">
<div class="o__header__container">
<div class="o__header__logo">
<div class="a__logo"><a href="https://www.usv.com/" class="custom-logo-link" rel="home"><img src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/usv_logo.jpg" class="custom-logo" alt="Union Square Ventures" srcset="https://www.usv.com/wp-content/uploads/2019/04/usv_logo.jpg 190w, https://www.usv.com/wp-content/uploads/2019/04/usv_logo-150x150.jpg 150w" sizes="(max-width: 190px) 100vw, 190px" width="190" height="190"></a></div>
</div>
<div class="o__header__menu-container">
<button class="a__hamburger hamburger hamburger--slider js-hamburger " aria-label="Open menu" type="button">
<span class="hamburger-box">
<span class="hamburger-inner">
</span>
</span>
</button>
<nav class="o__header__menu-subcontainer ">
<ul id="menu-company" class="o__header__menu"><li id="menu-item-2505" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2505"><a href="https://www.usv.com/about/">About</a></li>
<li id="menu-item-1138" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1138"><a href="https://www.usv.com/people/">People</a></li>
<li id="menu-item-914" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-914"><a href="https://www.usv.com/companies">Companies</a></li>
<li id="menu-item-915" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-915"><a href="https://www.usv.com/network">Network</a></li>
<li id="menu-item-916" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-916"><a href="https://jobs.usv.com/">Jobs</a></li>
<li id="menu-item-917" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-917"><a href="https://www.usv.com/writing/">Writing</a></li>
</ul>
<a class="o__header__menu-mobilesearch" href="https://www.usv.com/?s">
<div class="a__icon a__icon--big">
<svg class="a__icons__magnifier" width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-1189.000000, -82.000000)" stroke="#0D0D0D">
<g>
<g transform="translate(1133.000000, 81.000000)">
<g transform="translate(56.000000, 2.000000)">
<circle stroke-width="1.50179841" transform="translate(9.500000, 4.500000) rotate(-270.000000) translate(-9.500000, -4.500000) " cx="9.5" cy="4.5" r="4.5"></circle>
<path d="M3.25745446,7.25168545 L3.49549041,15.7416187 L4.74254554,15.7483146 L4.50450959,7.25838128 L3.25745446,7.25168545 Z" stroke-width="0.500598971" fill="#0D0D0D" transform="translate(4.000000, 11.500000) rotate(-315.000000) translate(-4.000000, -11.500000) "></path>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
Search
</a>
<div class="o__header__menu-address">
<p><strong>Union Square Ventures</strong><br>
915 Broadway, 19th Floor<br>
New York, NY 10010</p>
</div>
</nav>
</div>
<div class="o__header__menu-social">
<a href="https://twitter.com/usv" target="_blank" aria-label="Share on Twitter">
<div class="a__icon a__icon--big">
<svg class="a__icons__twitter" width="22" height="22" viewBox="0 0 22 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.900000036">
<g transform="translate(-76.000000, -195.000000)" fill="#0D0D0D">
<g>
<g transform="translate(76.000000, 61.000000)">
<g transform="translate(0.000000, 132.000000)">
<path d="M9.71114123,6.39666422 L9.75449454,7.11153991 L9.03193939,7.02400411 C6.40183864,6.68845022 4.10411326,5.55048483 2.15321435,3.63928657 L1.19944155,2.69098208 L0.9537728,3.39126847 C0.433533091,4.95232354 0.76590846,6.60091442 1.84974119,7.7097012 C2.42778531,8.32245179 2.29772538,8.40998759 1.30059927,8.04525509 C0.9537728,7.9285407 0.650299636,7.8410049 0.62139743,7.8847728 C0.520239709,7.98689789 0.867066182,9.31452417 1.14163714,9.83973896 C1.51736582,10.569204 2.28327428,11.2840796 3.12143825,11.7071693 L3.8295423,12.0427232 L2.99137833,12.0573125 C2.18211656,12.0573125 2.15321435,12.0719018 2.23992097,12.3782771 C2.52894303,13.3265816 3.67058017,14.3332433 4.94227724,14.7709223 L5.83824562,15.0772976 L5.05788606,15.5441552 C3.90179782,16.215263 2.54339413,16.5945848 1.18499045,16.6237634 C0.534690812,16.6383527 0,16.6967099 0,16.7404778 C0,16.8863707 1.76303457,17.7033715 2.78906288,18.0243361 C5.86714783,18.9726406 9.5232769,18.5641402 12.2689865,16.9447279 C14.2198854,15.7921733 16.1707843,13.5016532 17.0812038,11.2840796 C17.5725413,10.1023464 18.0638788,7.94312999 18.0638788,6.90728971 C18.0638788,6.23618192 18.1072321,6.14864612 18.9164939,5.34623464 C19.3933803,4.87937705 19.8413645,4.36875155 19.9280711,4.22285856 C20.0725821,3.94566186 20.058131,3.94566186 19.3211247,4.19367996 C18.092781,4.63135895 17.9193678,4.57300175 18.5263141,3.91648326 C18.9742983,3.44962567 19.5089891,2.60344628 19.5089891,2.35542819 C19.5089891,2.31166029 19.2922225,2.38460679 19.0465538,2.51591048 C18.7864339,2.66180348 18.2083898,2.88064298 17.7748567,3.01194668 L16.9944972,3.25996477 L16.2863931,2.77851788 C15.8962133,2.51591048 15.3470714,2.22412449 15.0580494,2.13658869 C14.3210431,1.93233849 13.1938571,1.96151709 12.5291063,2.19494589 C10.7227184,2.85146438 9.58108131,4.54382315 9.71114123,6.39666422 Z"></path>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
</a>
<a href="https://www.usv.com/?s" aria-label="Go to the search page">
<div class="a__icon a__icon--big">
<svg class="a__icons__magnifier" width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-1189.000000, -82.000000)" stroke="#0D0D0D">
<g>
<g transform="translate(1133.000000, 81.000000)">
<g transform="translate(56.000000, 2.000000)">
<circle stroke-width="1.50179841" transform="translate(9.500000, 4.500000) rotate(-270.000000) translate(-9.500000, -4.500000) " cx="9.5" cy="4.5" r="4.5"></circle>
<path d="M3.25745446,7.25168545 L3.49549041,15.7416187 L4.74254554,15.7483146 L4.50450959,7.25838128 L3.25745446,7.25168545 Z" stroke-width="0.500598971" fill="#0D0D0D" transform="translate(4.000000, 11.500000) rotate(-315.000000) translate(-4.000000, -11.500000) "></path>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
</a>
</div>
</div>
</section>
</div>
</div><!-- .layout-wrap -->
</header><!-- #masthead -->
<div id="content" class="site-content">
<section class="content-area">
<div class="site-main">
<article id="post-443" class="post-443 post type-post status-publish format-standard hentry category-usv-blog Topic-blockchains-crypto Topic-open-decentralized-data Thesis-2-0 entry">
<header class="entry-header">
<h1 class="entry-title">Fat Protocols</h1>
<div class="blog-post-meta">
<div class="blog-post-meta__profile">
<img src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/eca9bf219907c268f52652417960552d.jpeg" alt="Joel Monegro">
</div>
<p>
<a class="blog-post-meta__author" href="https://www.usv.com/people/joel-monegro/">
Joel Monegro
</a>
Aug 8, 2016 </p>
</div>
</header><!-- .entry-header -->
<div class="entry-content gutenberg-blocks__common">
<p>Heres one way to think about the differences between the Internet
and the Blockchain. The previous generation of shared protocols (TCP/IP,
HTTP, SMTP, etc.) produced immeasurable amounts of value, but most of
it got captured and re-aggregated on top at the applications layer,
largely in the form of data (think Google, Facebook and so on). The
Internet stack, in terms of how value is <em>distributed,</em> is
composed of “thin” protocols and “fat” applications. As the market
developed, we learned that investing in applications produced high
returns whereas investing directly in protocol technologies generally
produced low returns.</p>
<p><img alt="Value distribution on the web" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/6uKSty0.png" width="400" height="515"></p>
<p>This relationship between protocols and applications is reversed in
the blockchain application stack. Value concentrates at the shared
protocol layer and only a fraction of that value is distributed along at
the applications layer. Its a stack with “fat” protocols and “thin”
applications.</p>
<p>We see this very clearly in the two dominant blockchain networks,
Bitcoin and Ethereum. The Bitcoin network has a $10B market cap yet the
largest companies built on top are worth a few hundred million at best,
and most are probably overvalued by “business fundamentals” standards.
Similarly, Ethereum has a $1B market cap even before the emergence of a
real breakout application on top and only a year after its public
release.</p>
<p><img alt="Value distribution on the blockchain" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/cz6Xrwn.png" width="400" height="517"></p>
<p>There are two things about most blockchain-based protocols that cause
this to happen: the first is the shared data layer, and the second is
the introduction cryptographic “access” token with some speculative
value.</p>
<p><a href="http://joel.mn/post/104755282493/the-shared-data-layer-of-the-blockchain">I wrote about the shared data layer about a year ago</a>.
Though the post has gathered some dust since, the main point remains:
by replicating and storing user data across an open and decentralized
network rather than individual applications controlling access to
disparate silos of information, we reduce the barriers to entry for new
players and create a more vibrant and competitive ecosystem of products
and services on top. As a concrete example, consider how easy it is to
switch from <a href="https://poloniex.com/">Poloniex</a> to <a href="https://gdax.com/">GDAX</a>,
or to any of the dozens of cryptocurrency exchanges out there, and
vice-versa in large part because they all have equal and free access to
the underlying data, blockchain transactions. Here you have several
competing, non-cooperating services which are interoperable with each
other by virtue of building their services on top of the same open
protocols. This forces the market to find ways to reduce costs, build
better products, and <a href="http://whaleclub.co/">invent radical new ones</a> to succeed.</p>
<p>But an open network and a shared data layer alone are not not enough
of an incentive to promote adoption. The second component, the protocol
token[1] which is used to access the service provided by the network
(transactions in the case of Bitcoin, computing power in the case of
Ethereum, file storage in the case of Sia and Storj, and so on) fills
that gap.</p>
<p><a href="http://continuations.com/">Albert</a> and <a href="http://avc.com/">Fred</a> wrote about this last week after we had a number discussions at USV about investing in blockchain-based networks. <a href="http://continuations.com/post/148098927445/crypto-tokens-and-the-coming-age-of-protocol">Albert looked at protocol tokens from the point of view of incentivizing open protocol innovation</a>,
as a way of funding research and development (via crowdsales), creating
value for shareholders (via token value appreciation), or both.</p>
<p>Alberts post will help you understand how tokens incentivize
protocol development. Here, Im going focus on how tokens incentivize
protocol adoption and how they affect value distribution via what I will
call the token feedback loop.</p>
<p><img alt="Token Feedback Loop" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/IqGC7W3.png" width="400" height="375"></p>
<p>When a token appreciates in value, it draws the attention of early
speculators, developers and entrepreneurs. They become stakeholders in
the protocol itself and are financially invested in its success. Then
some of these early adopters, perhaps financed in part by the profits of
getting in at the start, build products and services around the
protocol, recognizing that its success would further increase the value
of their tokens. Then some of these become successful and bring in new
users to the network and perhaps VCs and other kinds of investors. This
further increases the value of the tokens, which draws more attention
from more entrepreneurs, which leads to more applications, and so
on.&nbsp;</p>
<p>There are two things I want to point out about this feedback loop.
First is how much of the initial growth is driven by speculation.
Because most tokens are programmed to be scarce, as interest in the
protocol grows so does the price per token and thus the market cap of
the network. Sometimes interest grows a lot faster than the supply of
tokens and it leads to bubble-style appreciation.</p>
<p>With the exception of deliberately fraudulent schemes, this is a good
thing. Speculation is often the engine of technological adoption [2].
Both aspects of irrational speculation — the boom and the bust — can be
very beneficial to technological innovation. The boom attracts financial
capital through&nbsp;early profits, some of which are reinvested in
innovation (how many of Ethereums investors were re-investing their
Bitcoin profits, or DAO investors their Ethereum profits?), and the bust
can actually support&nbsp;the adoption long-term adoption of the new
technology as prices depress and out-of-the-money stakeholders look to
be made whole by promoting and creating value around it (just look at
how many of todays Bitcoin companies were started by early adopters
after the crash of 2013).</p>
<p>The second aspect worth pointing out is what happens towards the end
of the loop. When applications begin to emerge and show early signs of
success (whether measured by increased usage or by the attention (or
capital) paid by financial investors), two things happen in the market
for a protocols token: new users are drawn to the protocol, increasing
demand for tokens (since you need them to access the service — see
Alberts analogy of tickets in a fair), and existing investors hold onto
their tokens anticipating future price increases, further constraining
supply. The combination forces up the price (assuming sufficient
scarcity in new token creation), the newly-increased market cap of the
protocol attracts new entrepreneurs and new investors, and the loop
repeats itself.</p>
<p>Whats significant about this dynamic is the effect it has on how value is distributed along the stack: <strong>the market cap of the protocol always</strong> <strong>grows
faster than the combined value of the applications built on top, since
the success of the application layer drives further speculation at the
protocol layer</strong>. And again, increasing value at the protocol
layer attracts and incentivises competition at the application layer.
Together with a shared data layer, which dramatically lowers the
barriers to entry, the end result is a vibrant and competitive ecosystem
of applications and the bulk value distributed to a widespread pool of
shareholders. This is how tokenized protocols become “fat” and its
applications “thin”.</p>
<p>This is a big shift. The combination of shared open data with an
incentive system that prevents “winner-take-all” markets changes the
game at the application layer and creates an entire new category of
companies with fundamentally different business models at the protocol
layer. Many of the established rules about building businesses and
investing in innovation dont apply to this new model and today we
probably have more questions than answers. But were quickly learning
the ins and outs of this market through our blockchain portfolio and in
typical USV fashion were going to share that knowledge as we go along.</p>
<p>[1] Also known as <em>App Coins,</em><a href="https://startupboy.com/2014/03/09/the-bitcoin-model-for-crowdfunding/"> as coined pun intended by Naval in 2014</a></p>
<p>[2] <a href="https://www.goodreads.com/book/show/91360.Devil_Take_the_Hindmost">Edward Chancellor</a>
writes a thorough and entertaining history of financial speculation and
its place in society (youll be in awe by how similar cryptocurrency
speculation today is to prior bursts of financial exuberance!) and <a href="https://en.m.wikipedia.org/wiki/Technological_Revolutions_and_Financial_Capital">Carlota Perez</a>
describes the important role of bubbles in the development of new
technologies by attracting financial capital to research and
development.</p>
</div><!-- .entry-content -->
<div class="entry-content-footer">
<div class="" style="clear:both;">
<div class="discuss-on-twitter">
<a class="discuss-on-twitter-button reply-on-twitter" href="https://twitter.com/intent/tweet?url=https://www.usv.com/writing/2016/08/fat-protocols/&amp;text=@usv">
<span class="dashicons dashicons-twitter"></span>
Discuss on Twitter
</a>
<a class="discuss-on-twitter-button view-reactions" href="https://twitter.com/search?q=https%3A%2F%2Fwww.usv.com%2Fwriting%2F2016%2F08%2Ffat-protocols%2F" target="_twitter-443">
View Discussion
</a>
</div>
</div>
</div>
</article><!-- #post-${ID} -->
<div class="single-entry">
<div class="m__list-items m__list-items--default">
<header class="m__list-items__header">
<h4 class="a__lh_36">Recommended in Blockchains &amp; Crypto</h4>
</header>
<div class="m__list-items__list">
<div class="m__list-items__list-item">
<h6 class="m__list-items__list-item__title">
<a href="https://avc.com/2019/07/business-model-innovation/" rel="bookmark" title="Permanent Link to Business Model Innovation" class="m__list-items__list-item__title-link" target="_blank">
Business Model Innovation
<div class="a__icon-small">
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g fill="#28A055" fill-rule="nonzero">
<g>
<path d="M16.1544835,0.00747252747 L10.7957473,0.00747252747 C10.3660769,0.00747252747 10.0178571,0.355692308 10.0178571,0.785362637 C10.0178571,1.21503297 10.3660769,1.56325275 10.7957473,1.56325275 L14.3629451,1.56325275 L6.72901099,9.19718681 C6.42506593,9.50094505 6.42506593,9.99357143 6.72901099,10.2973297 C6.88089011,10.4492088 7.08003297,10.5252418 7.27898901,10.5252418 C7.47794505,10.5252418 7.67708791,10.4492088 7.82896703,10.2973297 L15.3765934,2.74951648 L15.3765934,6.14391209 C15.3765934,6.57358242 15.7248132,6.9218022 16.1544835,6.9218022 C16.5841538,6.9218022 16.9323736,6.57358242 16.9323736,6.14391209 L16.9323736,0.785362637 C16.9323736,0.355692308 16.5841538,0.00747252747 16.1544835,0.00747252747 Z"></path>
<path d="M13.4638132,7.84167033 C13.0341429,7.84167033 12.6859231,8.18989011 12.6859231,8.61956044 L12.6859231,14.7567473 C12.6859231,15.0379011 12.4484835,15.2753407 12.1673297,15.2753407 L2.24941758,15.2753407 C1.96826374,15.2753407 1.73082418,15.0379011 1.73082418,14.7567473 L1.73082418,4.83883516 C1.73082418,4.55768132 1.96826374,4.32024176 2.24941758,4.32024176 L8.40827473,4.32024176 C8.83794505,4.32024176 9.18616484,3.97202198 9.18616484,3.54235165 C9.18616484,3.11268132 8.83794505,2.76446154 8.40827473,2.76446154 L2.24941758,2.76446154 C1.10556044,2.76446154 0.175043956,3.69497802 0.175043956,4.83883516 L0.175043956,14.7567473 C0.175043956,15.9006044 1.10556044,16.8311209 2.24941758,16.8311209 L12.1673297,16.8311209 C13.3111868,16.8311209 14.2417033,15.9006044 14.2417033,14.7567473 L14.2417033,8.61956044 C14.2417033,8.19007692 13.8934835,7.84167033 13.4638132,7.84167033 Z"></path>
</g>
</g>
</g>
</svg>
</div>
</a>
</h6>
<div class="m__list-items__list-item__meta">
<div class="blog-post-meta blog-post-meta--variant2">
<p>
<a class="blog-post-meta__author" href="https://www.usv.com/people/fred-wilson/">
Fred Wilson
</a>
Jul 8, 2019
</p>
</div>
</div>
</div>
<div class="m__list-items__list-item">
<h6 class="m__list-items__list-item__title">
<a href="https://www.usv.com/writing/2019/03/arweave-project-ideas/" rel="bookmark" title="Permanent Link to Arweave Project Ideas" class="m__list-items__list-item__title-link">
Arweave Project Ideas
</a>
</h6>
<div class="m__list-items__list-item__meta">
<div class="blog-post-meta blog-post-meta--variant2">
<p>
<a class="blog-post-meta__author" href="https://www.usv.com/people/dani-grant/">
Dani Grant
</a>
Mar 5, 2019
</p>
</div>
</div>
</div>
<div class="m__list-items__list-item">
<h6 class="m__list-items__list-item__title">
<a href="https://www.usv.com/writing/2018/10/the-myth-of-the-infrastructure-phase/" rel="bookmark" title="Permanent Link to The Myth of The Infrastructure Phase" class="m__list-items__list-item__title-link">
The Myth of The Infrastructure Phase
</a>
</h6>
<div class="m__list-items__list-item__meta">
<div class="blog-post-meta blog-post-meta--variant2">
<p>
<a class="blog-post-meta__author" href="https://www.usv.com/people/dani-grant/">Dani Grant</a> and <a class="blog-post-meta__author" href="https://www.usv.com/people/nick-grossman/">Nick Grossman</a>
Oct 1, 2018
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div><!-- #main -->
</section><!-- #primary -->
</div><!-- #content -->
<footer class="o__footer">
<div class="o__footer-info">
<div class="m__footer-info3">
<p><strong>Union Square Ventures</strong><br>
915 Broadway, 19th Floor<br>
New York, NY 10010</p>
<div class="m__footerleft-socialinks">
<a class="m__footerleft-socialinks__link" rel="noreferrer" href="https://twitter.com/usv" target="_blank" aria-label="Share on twitter">
<div class="a__icon a__icon--small">
<svg class="a__icons__twitter" width="22" height="22" viewBox="0 0 22 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.900000036">
<g transform="translate(-76.000000, -195.000000)" fill="#0D0D0D">
<g>
<g transform="translate(76.000000, 61.000000)">
<g transform="translate(0.000000, 132.000000)">
<path d="M9.71114123,6.39666422 L9.75449454,7.11153991 L9.03193939,7.02400411 C6.40183864,6.68845022 4.10411326,5.55048483 2.15321435,3.63928657 L1.19944155,2.69098208 L0.9537728,3.39126847 C0.433533091,4.95232354 0.76590846,6.60091442 1.84974119,7.7097012 C2.42778531,8.32245179 2.29772538,8.40998759 1.30059927,8.04525509 C0.9537728,7.9285407 0.650299636,7.8410049 0.62139743,7.8847728 C0.520239709,7.98689789 0.867066182,9.31452417 1.14163714,9.83973896 C1.51736582,10.569204 2.28327428,11.2840796 3.12143825,11.7071693 L3.8295423,12.0427232 L2.99137833,12.0573125 C2.18211656,12.0573125 2.15321435,12.0719018 2.23992097,12.3782771 C2.52894303,13.3265816 3.67058017,14.3332433 4.94227724,14.7709223 L5.83824562,15.0772976 L5.05788606,15.5441552 C3.90179782,16.215263 2.54339413,16.5945848 1.18499045,16.6237634 C0.534690812,16.6383527 0,16.6967099 0,16.7404778 C0,16.8863707 1.76303457,17.7033715 2.78906288,18.0243361 C5.86714783,18.9726406 9.5232769,18.5641402 12.2689865,16.9447279 C14.2198854,15.7921733 16.1707843,13.5016532 17.0812038,11.2840796 C17.5725413,10.1023464 18.0638788,7.94312999 18.0638788,6.90728971 C18.0638788,6.23618192 18.1072321,6.14864612 18.9164939,5.34623464 C19.3933803,4.87937705 19.8413645,4.36875155 19.9280711,4.22285856 C20.0725821,3.94566186 20.058131,3.94566186 19.3211247,4.19367996 C18.092781,4.63135895 17.9193678,4.57300175 18.5263141,3.91648326 C18.9742983,3.44962567 19.5089891,2.60344628 19.5089891,2.35542819 C19.5089891,2.31166029 19.2922225,2.38460679 19.0465538,2.51591048 C18.7864339,2.66180348 18.2083898,2.88064298 17.7748567,3.01194668 L16.9944972,3.25996477 L16.2863931,2.77851788 C15.8962133,2.51591048 15.3470714,2.22412449 15.0580494,2.13658869 C14.3210431,1.93233849 13.1938571,1.96151709 12.5291063,2.19494589 C10.7227184,2.85146438 9.58108131,4.54382315 9.71114123,6.39666422 Z"></path>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
</a>
<a class="m__footerleft-socialinks__link" rel="noreferrer" href="https://www.linkedin.com/company/union-square-ventures" target="_blank" aria-label="Share on linkedin">
<div class="a__icon-small a__icon__linkedin">
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.900000036">
<g transform="translate(-116.000000, -193.000000)" fill="#1A1A1A">
<g transform="translate(76.000000, 61.000000)">
<g transform="translate(40.000000, 132.000000)">
<path d="M17.0432512,17.0422222 L14.0770577,17.0422222 L14.0770577,12.4005556 C14.0770577,11.2938889 14.0581683,9.87 12.5359038,9.87 C10.991972,9.87 10.7564099,11.0761111 10.7564099,12.3216667 L10.7564099,17.0422222 L7.79354982,17.0422222 L7.79354982,7.49777778 L10.6369621,7.49777778 L10.6369621,8.80277778 L10.6780744,8.80277778 C11.0736409,8.05222222 12.0414456,7.26111111 13.4842635,7.26111111 C16.4882358,7.26111111 17.0432512,9.23722222 17.0432512,11.8077778 L17.0432512,17.0422222 Z M4.44901247,6.19388889 C3.49620823,6.19388889 2.72785355,5.42333333 2.72785355,4.47333333 C2.72785355,3.52388889 3.49620823,2.75333333 4.44901247,2.75333333 C5.39792772,2.75333333 6.16794911,3.52388889 6.16794911,4.47333333 C6.16794911,5.42333333 5.39792772,6.19388889 4.44901247,6.19388889 Z M2.96341565,17.0422222 L5.93294258,17.0422222 L5.93294258,7.49777778 L2.96341565,7.49777778 L2.96341565,17.0422222 Z M18.5205145,0 L1.47504097,0 C0.661129476,0 0,0.645555556 0,1.44222222 L0,18.5566667 C0,19.3533333 0.661129476,20 1.47504097,20 L18.5205145,20 C19.3360927,20 20,19.3533333 20,18.5566667 L20,1.44222222 C20,0.645555556 19.3360927,0 18.5205145,0 L18.5205145,0 Z"></path>
</g>
</g>
</g>
</g>
</svg>
</div>
</a>
</div>
</div>
<div class="m__footer-info3">
<p class="m__footer-info3__title">Company</p>
<nav id="site-navigation" class="main-navigation m__footerleft-menu" aria-label="Top Menu">
<div class="menu-company-container"><ul id="menu-company-1" class="menu"><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2505"><a href="https://www.usv.com/about/">About</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1138"><a href="https://www.usv.com/people/">People</a></li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-914"><a href="https://www.usv.com/companies">Companies</a></li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-915"><a href="https://www.usv.com/network">Network</a></li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-916"><a href="https://jobs.usv.com/">Jobs</a></li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-917"><a href="https://www.usv.com/writing/">Writing</a></li>
</ul></div> </nav><!-- #site-navigation -->
</div>
<div class="m__footer-info6">
<p><strong>Contact Us</strong></p>
<p>If you would like to share your ideas, business, or feedback with us,
please email us. All business plan submissions must include a clear
description of your operations and current progress.</p>
<div class="m__footerright-contact">
<p>
Email: <a class="a__underline-link" href="mailto:info@usv.com">
info@usv.com</a>
</p>
<p>
Call: <a class="" href="tel:2129947880">
(212) 994-7880</a>
</p>
<p>
Fax: <a class="" href="tel:2129947399">
(212) 994-7399</a>
</p>
</div>
</div>
</div>
<div class="o__footer-legal">
<div class="o__footer-logo">
<div class="a__site-logo"><a href="https://www.usv.com/" class="custom-logo-link" rel="home"><img src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/usv_logo.jpg" class="custom-logo" alt="Union Square Ventures" srcset="https://www.usv.com/wp-content/uploads/2019/04/usv_logo.jpg 190w, https://www.usv.com/wp-content/uploads/2019/04/usv_logo-150x150.jpg 150w" sizes="(max-width: 190px) 100vw, 190px" width="190" height="190"></a></div>
</div>
<nav class="o__footer-legalmenu" aria-label="Footer Menu">
<div class="menu-legal-container"><ul id="menu-legal" class="menu"><li id="menu-item-2474" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2474"><a href="https://www.usv.com/policy-against-harassment/">Policy Against Harassment</a></li>
</ul></div> </nav><!-- .footer-navigation -->
</div>
</footer><!-- #colophon -->
</div><!-- #page -->
<link rel="stylesheet" id="dashicons-css" href="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/dashicons.css" type="text/css" media="all">
<link rel="stylesheet" id="discuss-on-twitter-css" href="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/styles.css" type="text/css" media="all">
<script type="text/javascript" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/mpp-frontend.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
var icons_html = {"external":"<div class=\"a__icon-small\">\n <svg width=\"20px\" height=\"20px\" viewBox=\"0 0 20 20\" version=\"1.1\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\">\n <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g fill=\"#28A055\" fill-rule=\"nonzero\">\n <g>\n <path d=\"M16.1544835,0.00747252747 L10.7957473,0.00747252747 C10.3660769,0.00747252747 10.0178571,0.355692308 10.0178571,0.785362637 C10.0178571,1.21503297 10.3660769,1.56325275 10.7957473,1.56325275 L14.3629451,1.56325275 L6.72901099,9.19718681 C6.42506593,9.50094505 6.42506593,9.99357143 6.72901099,10.2973297 C6.88089011,10.4492088 7.08003297,10.5252418 7.27898901,10.5252418 C7.47794505,10.5252418 7.67708791,10.4492088 7.82896703,10.2973297 L15.3765934,2.74951648 L15.3765934,6.14391209 C15.3765934,6.57358242 15.7248132,6.9218022 16.1544835,6.9218022 C16.5841538,6.9218022 16.9323736,6.57358242 16.9323736,6.14391209 L16.9323736,0.785362637 C16.9323736,0.355692308 16.5841538,0.00747252747 16.1544835,0.00747252747 Z\"><\/path>\n <path d=\"M13.4638132,7.84167033 C13.0341429,7.84167033 12.6859231,8.18989011 12.6859231,8.61956044 L12.6859231,14.7567473 C12.6859231,15.0379011 12.4484835,15.2753407 12.1673297,15.2753407 L2.24941758,15.2753407 C1.96826374,15.2753407 1.73082418,15.0379011 1.73082418,14.7567473 L1.73082418,4.83883516 C1.73082418,4.55768132 1.96826374,4.32024176 2.24941758,4.32024176 L8.40827473,4.32024176 C8.83794505,4.32024176 9.18616484,3.97202198 9.18616484,3.54235165 C9.18616484,3.11268132 8.83794505,2.76446154 8.40827473,2.76446154 L2.24941758,2.76446154 C1.10556044,2.76446154 0.175043956,3.69497802 0.175043956,4.83883516 L0.175043956,14.7567473 C0.175043956,15.9006044 1.10556044,16.8311209 2.24941758,16.8311209 L12.1673297,16.8311209 C13.3111868,16.8311209 14.2417033,15.9006044 14.2417033,14.7567473 L14.2417033,8.61956044 C14.2417033,8.19007692 13.8934835,7.84167033 13.4638132,7.84167033 Z\"><\/path>\n <\/g>\n <\/g>\n <\/g>\n <\/svg>\n<\/div>\n"};
/* ]]> */
</script>
<script type="text/javascript" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/main.js"></script>
<script type="text/javascript" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/instantsearch.js"></script>
<script type="text/javascript" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/jquery.js"></script>
<script type="text/javascript" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/skip-link-focus-fix.js"></script>
<script type="text/javascript" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/priority-menu.js"></script>
<script type="text/javascript" src="Fat%20Protocols%20|%20Union%20Square%20Ventures_fichiers/widgets.js"></script>
</body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,9 @@
jQuery( document ).ready( function( $ ) {
$( '.mpp-gutenberg-tab' ).on( 'click', function( e ) {
$('.mpp-author-tabs li').removeClass('active');
$(this).addClass('active');
var $tabs = $('.mpp-tab').removeClass('mpp-tab-active');
var new_tab = $(this).data('tab');
$('.' + new_tab).addClass('mpp-tab-active');
} );
} );

View File

@ -0,0 +1,163 @@
@charset "UTF-8";
/*
Theme Name: Twenty Nineteen
Adding print support. The print styles are based on the the great work of
Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Margins
# Typography÷
# Page breaks
# Links
# Visibility
--------------------------------------------------------------*/
@media print {
/* Margins */
@page {
margin: 2cm;
}
.entry {
margin-top: 1em;
}
.entry .entry-header, .site-footer .site-info {
margin: 0;
}
/* Fonts */
body {
font: 13pt Georgia, "Times New Roman", Times, serif;
line-height: 1.3;
background: #fff !important;
color: #000;
}
h1 {
font-size: 24pt;
}
h2,
h3,
h4,
.has-regular-font-size,
.has-large-font-size,
h2.author-title,
p.author-bio,
.comments-title, h3 {
font-size: 14pt;
margin-top: 25px;
}
/* Page breaks */
a {
page-break-inside: avoid;
}
blockquote {
page-break-inside: avoid;
}
h1,
h2,
h3,
h4,
h5,
h6 {
page-break-after: avoid;
page-break-inside: avoid;
}
img {
page-break-inside: avoid;
page-break-after: avoid;
}
table, pre {
page-break-inside: avoid;
}
ul, ol, dl {
page-break-before: avoid;
}
/* Links */
a:link, a:visited, a {
background: transparent;
font-weight: bold;
text-decoration: underline;
text-align: left;
}
a {
page-break-inside: avoid;
}
a[href^=http]:after {
content: " < " attr(href) "> ";
}
a:after > img {
content: "";
}
article a[href^="#"]:after {
content: "";
}
a:not(:local-link):after {
content: " < " attr(href) "> ";
}
/* Visibility */
.main-navigation,
.site-title + .main-navigation,
.social-navigation,
.site-branding-container:before,
.entry .entry-title:before,
.entry-footer,
.author-description:before,
.post-navigation,
.widget-area,
.comment-form-flex,
.comment-reply,
.comment .comment-metadata .edit-link {
display: none;
}
.entry .entry-content .wp-block-button .wp-block-button__link,
.entry .entry-content .button {
color: #000;
background: none;
}
/* Site Header (With Featured Image) */
.site-header.featured-image {
min-height: 0;
}
.site-header.featured-image .main-navigation a,
.site-header.featured-image .main-navigation a + svg,
.site-header.featured-image .social-navigation a,
.site-header.featured-image .site-title a,
.site-header.featured-image .site-featured-image a,
.site-header.featured-image .site-branding .site-title,
.site-header.featured-image .site-branding .site-description,
.site-header.featured-image .main-navigation a:after,
.site-header.featured-image .main-navigation .main-menu > li.menu-item-has-children:after,
.site-header.featured-image .main-navigation li,
.site-header.featured-image .social-navigation li,
.site-header.featured-image .entry-meta,
.site-header.featured-image .entry-title,
.site-header.featured-image#masthead .site-title a {
color: #000;
text-shadow: none;
}
.site-header.featured-image .site-featured-image .entry-header,
.site-header.featured-image .site-branding-container {
margin-top: 0;
margin-bottom: 0;
}
.site-header.featured-image .site-featured-image .post-thumbnail img {
position: relative;
height: initial;
width: initial;
object-fit: none;
min-width: 0;
min-height: 0;
max-width: 100%;
margin-top: 1rem;
}
/* Remove image filters from featured image */
.image-filters-enabled *:after {
display: none !important;
}
.image-filters-enabled .site-header.featured-image .site-featured-image:before {
display: none;
}
.image-filters-enabled .site-header.featured-image .site-featured-image .post-thumbnail img {
filter: none;
}
}

View File

@ -0,0 +1,216 @@
(function() {
/**
* Debounce
*
* @param {Function} func
* @param {number} wait
* @param {boolean} immediate
*/
function debounce(func, wait, immediate) {
'use strict';
var timeout;
wait = (typeof wait !== 'undefined') ? wait : 20;
immediate = (typeof immediate !== 'undefined') ? immediate : true;
return function() {
var context = this, args = arguments;
var later = function() {
timeout = null;
if (!immediate) {
func.apply(context, args);
}
};
var callNow = immediate && !timeout;
clearTimeout(timeout);
timeout = setTimeout(later, wait);
if (callNow) {
func.apply(context, args);
}
};
}
/**
* Prepends an element to a container.
*
* @param {Element} container
* @param {Element} element
*/
function prependElement(container, element) {
if (container.firstChild.nextSibling) {
return container.insertBefore(element, container.firstChild.nextSibling);
} else {
return container.appendChild(element);
}
}
/**
* Shows an element by adding a hidden className.
*
* @param {Element} element
*/
function showButton(element) {
// classList.remove is not supported in IE11
element.className = element.className.replace('is-empty', '');
}
/**
* Hides an element by removing the hidden className.
*
* @param {Element} element
*/
function hideButton(element) {
// classList.add is not supported in IE11
if (!element.classList.contains('is-empty')) {
element.className += ' is-empty';
}
}
/**
* Returns the currently available space in the menu container.
*
* @returns {number} Available space
*/
function getAvailableSpace( button, container ) {
return container.offsetWidth - button.offsetWidth - 22;
}
/**
* Returns whether the current menu is overflowing or not.
*
* @returns {boolean} Is overflowing
*/
function isOverflowingNavivation( list, button, container ) {
return list.offsetWidth > getAvailableSpace( button, container );
}
/**
* Set menu container variable
*/
var navContainer = document.querySelector('.main-navigation');
var breaks = [];
/**
* Lets bail if we our menu doesn't exist
*/
if ( ! navContainer ) {
return;
}
/**
* Refreshes the list item from the menu depending on the menu size
*/
function updateNavigationMenu( container ) {
/**
* Lets bail if our menu is empty
*/
if ( ! container.parentNode.querySelector('.main-menu[id]') ) {
return;
}
// Adds the necessary UI to operate the menu.
var visibleList = container.parentNode.querySelector('.main-menu[id]');
var hiddenList = visibleList.parentNode.nextElementSibling.querySelector('.hidden-links');
var toggleButton = visibleList.parentNode.nextElementSibling.querySelector('.main-menu-more-toggle');
if ( isOverflowingNavivation( visibleList, toggleButton, container ) ) {
// Record the width of the list
breaks.push( visibleList.offsetWidth );
// Move last item to the hidden list
prependElement( hiddenList, ! visibleList.lastChild || null === visibleList.lastChild ? visibleList.previousElementSibling : visibleList.lastChild );
// Show the toggle button
showButton( toggleButton );
} else {
// There is space for another item in the nav
if ( getAvailableSpace( toggleButton, container ) > breaks[breaks.length - 1] ) {
// Move the item to the visible list
visibleList.appendChild( hiddenList.firstChild.nextSibling );
breaks.pop();
}
// Hide the dropdown btn if hidden list is empty
if (breaks.length < 2) {
hideButton( toggleButton );
}
}
// Recur if the visible list is still overflowing the nav
if ( isOverflowingNavivation( visibleList, toggleButton, container ) ) {
updateNavigationMenu( container );
}
}
/**
* Run our priority+ function as soon as the document is `ready`
*/
document.addEventListener( 'DOMContentLoaded', function() {
updateNavigationMenu( navContainer );
// Also, run our priority+ function on selective refresh in the customizer
var hasSelectiveRefresh = (
'undefined' !== typeof wp &&
wp.customize &&
wp.customize.selectiveRefresh &&
wp.customize.navMenusPreview.NavMenuInstancePartial
);
if ( hasSelectiveRefresh ) {
// Re-run our priority+ function on Nav Menu partial refreshes
wp.customize.selectiveRefresh.bind( 'partial-content-rendered', function ( placement ) {
var isNewNavMenu = (
placement &&
placement.partial.id.includes( 'nav_menu_instance' ) &&
'null' !== placement.container[0].parentNode &&
placement.container[0].parentNode.classList.contains( 'main-navigation' )
);
if ( isNewNavMenu ) {
updateNavigationMenu( placement.container[0].parentNode );
}
});
}
});
/**
* Run our priority+ function on load
*/
window.addEventListener( 'load', function() {
updateNavigationMenu( navContainer );
});
/**
* Run our priority+ function every time the window resizes
*/
var isResizing = false;
window.addEventListener( 'resize',
debounce( function() {
if ( isResizing ) {
return;
}
isResizing = true;
setTimeout( function() {
updateNavigationMenu( navContainer );
isResizing = false;
}, 150 );
} )
);
/**
* Run our priority+ function
*/
updateNavigationMenu( navContainer );
})();

View File

@ -0,0 +1,31 @@
/**
* File skip-link-focus-fix.js.
*
* Helps with accessibility for keyboard only users.
*
* Learn more: https://git.io/vWdr2
*/
( function() {
var isIe = /(trident|msie)/i.test( navigator.userAgent );
if ( isIe && document.getElementById && window.addEventListener ) {
window.addEventListener( 'hashchange', function() {
var id = location.hash.substring( 1 ),
element;
if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) {
return;
}
element = document.getElementById( id );
if ( element ) {
if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) {
element.tabIndex = -1;
}
element.focus();
}
}, false );
}
} )();

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,19 @@
@charset "UTF-8";
/*
Theme Name: Union Square Ventures
Description: Union Square Ventures Theme
Author: Nolte
Template: twentynineteen
Version: 1.0.1
*/
.discuss-on-twitter-button {
border-radius: 0 !important;
}
.discuss-on-twitter-button:hover {
background: #76d1ff !important;
color: #fff !important;
}
.discuss-on-twitter-button:visited {
color: #fff !important;
}

View File

@ -0,0 +1,30 @@
.discuss-on-twitter {
white-space:nowrap;
}
.discuss-on-twitter-button {
display: inline-block;
background: #1da0f1;
color: #fff;
padding: .5em 1.5em;
font-size: 1em;
margin: 10px 0 20px;
}
.discuss-on-twitter-button.reply-on-twitter {
border-radius: 12px 0 0 12px;
}
.discuss-on-twitter-button.view-reactions {
border-radius: 0 12px 12px 0;
}
.discuss-on-twitter-button.view-and-reply {
border-radius: 12px;
}
.discuss-on-twitter-button:hover {
background: #fff;
color: #1da0f1;
}
.discuss-on-twitter-button .dashicons-twitter {
line-height: 1.5em;
margin-right: 10px;
font-size: 1.1em;
display:none;
}

View File

@ -0,0 +1 @@
.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-preformatted pre{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-preformatted pre{font-size:14px}}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-quote{border-left:4px solid #000;margin:0 0 28px;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:4px solid #000;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-left:auto;margin-right:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center}

View File

@ -0,0 +1,98 @@
.wpt-header iframe {
float: right;
}
.wpt-left {
float: left;
margin-right: 10px;
}
.wpt-right {
float: right;
margin-left: 10px;
}
.wpt-twitter-name {
font-size: 120%;
line-height: 1;
}
.wpt-twitter-id {
display: inline-block;
margin-top: .5em;
}
.wpt-tweet-time {
font-size: 90%;
}
.wpt-latest-tweets li, .wpt-search-tweets li {
margin-bottom: .75em;
list-style-type: none;
}
.wpt-intents-border {
border-top: 1px solid;
opacity: .3;
margin: 5px 0;
}
.wpt-intents {
padding: 0 0 5px;
text-align: center;
font-size: 12px;
}
.wpt-twitter-image {
width: 100%;
height: auto;
}
.wpt-intents a span {
width: 16px;
height: 16px;
display: inline-block;
margin-right: 3px;
position: relative;
top: 2px;
}
.wpt-intents .wpt-reply span {
background: url(../images/spritev2.png) 0px;
}
.wpt-intents .wpt-retweet span {
background: url(../images/spritev2.png) -80px;
}
.wpt-intents .wpt-favorite span {
background: url(../images/spritev2.png) -32px;
}
.wpt-intents .wpt-reply:hover span, .wpt-intents .wpt-reply:focus span {
background-position: -16px;
}
.wpt-intents .wpt-retweet:hover span, .wpt-intents .wpt-retweet:focus span {
background-position: -96px;
}
.wpt-intents .wpt-favorite:hover span, .wpt-intents .wpt-favorite:focus span {
background-position: -48px;
}
.retweeted .wpt-intents .wpt-retweet span {
background-position: -112px;
}
.favorited .wpt-intents .wpt-favorite span {
background-position: -64px;
}
.wpt-intents a span.intent-text {
width: auto;
height: auto;
margin: 0;
top: 0;
background: none;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Some files were not shown because too many files have changed in this diff Show More