OASIS RULES

This commit is contained in:
qo-op 2020-05-16 14:30:19 +02:00
parent aeaf0f847f
commit 5914cf2731
3 changed files with 153 additions and 9 deletions

143
g1sms/Readme.md Normal file
View File

@ -0,0 +1,143 @@
# OASIS RULES
Date.
This document must be read and accepted before onboarding.
Meaning installing the core astoport code accepting selected processes (and official flavours)
All code is AGPL, you are not authorise to fork it and modify it without refering to us.
We will publish original team release from this (to come) IPNS reference in that #Swarm0
/ipns/Qm***
This Software makes you Responsible of your Digital and Social behaviour(s) !
It could make you evolve to a new level of consciouness. Are you ready.?
Astroport is a Free Framework and Learning digital Oasis maker.
# International Entrance
For now, only french "+33" is accepted in $ASTROPORT/g1sm/ bash code suite (G1SMS flavour Node).
It is the most widely available communication system. Used for market alerts...
It could be internationnal making some code evolution...
To help finding where to apply patches a convenient way is to use the '$ASTROPORT/tools/search' command.
Adapt to _YOUR_COUNTRY_CODE_
```
cd $ASTROPORT/g1sms
search '\+33' '\+_YOUR_COUNTRY_CODE'
```
# TODO : SMS texts in a multi language templating system!
# TODO Add new ENV variable in /etc/profile
# so bash writing for adding new protocol / channel is simple!
```
# @qo-op
# Astroport System user linked to "ipfs daemon"
export 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"
# IPFS layer ID is $YOU Swarm peer ID
export IPFSNODEID=$(ipfs id -f='<id>\n') || er+=" ipfs id problem"
# SSB layer ID is $YOU Social identity
export WHOAMI=$(sbotc whoami | jq -r .id) || er+=" sbotc whoami problem"
# G1PUB is $YOU Zen Wallet (#libremoney)
export G1PUB=$(cat ~/.ssb/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2) || er+=" ~/.ssb/secret.dunikey problem"
# IDCARD for Augmented Conscious Digital Ghost born date.
# G_BORN 1st about timestamp (sbotc command ?)
# G_BORN_H sha256 $(GBORN)
export ASTROPORT="/home/$YOU/.zen/astroport"
export ZEN_PATH="/home/$YOU/.zen"
export IPFS_PATH="/home/$YOU/.zen/ipfs"
export SWARM_PATH="/home/$YOU/.zen/ipfs_swarm"
export GHOST="/home/$YOU/.zen/ipfs/.$IPFSNODEID/G1SSB"
```
The Ghost and Gobblins school & market
- lolcat is made with ruby
- duniterpy and silkaj are pyhton
- sbotc is C
- ssb is nodejs, vuejs, rust, go, ...
All "Digital Channels" are open to new protocols and specific relay one page bash.
You access to the "Fat Layer" and Protocols through tools.
@tuxmain has a made ofr us a wonderful toolbox for crypt/decrypt/sign/verify ed25519 libsodium crypto
```$ASTROPORT/tools/natools.sh```
Use it to save private data in your IPFS #Swarm0
Create.
```$IPFS_PATH/_the_name_of_your_channel_```
```$IPFS_PATH/.IPFSNODEID/$_your_channel_indexe(s)_```
```$ZEN_PATH/_the_name_of_your_channel_/command.sh```
All data writen there will published every minute in #Swarm0
```$ASTROPORT/cron_MINUTE.sh``` is the nervous system of a digital Blob creature you cultivate.
```$ASTROPORT/cron_VRFY.sh``` is the cron injector
$YOU relative security level depends on Trust levels within your friends and their friends!
# TODO: shell microservices
Transmit files as SSB private message. markdown_ + audio_ video_
Attach "natools" crypt files to any $G1PUB Identity Only with public SSB message.
This brings you HyperWeb PowerS. (```ipfs p2p --help```)
Real time TX in LAN. Forward any TCP port of your $ASTROPORT Station, and publish it to one are all #SwarmM
Every One is the Network!
Then if $YOU=YOU. $YOU become a LOVE and Zen Blacksmith
Zen Economy is a built-in channel ```$ASTROPORT/tag```
Inside is contained an accounting system.
Where $NANODATE stamped blockchained ipfs file datastucture is made.
Papire salamalek script are acting between $IPFSNODEID tansfered through ```$IPFS_PATH/.IPFSNODEID/TASK``` swarm protocol
Receive / Give faces are on your Wallet key necklace (LaPunta)
G1Dab can print created Tags
G1Tx terminals can read QRCode and input amount of TX happening
The Carrot Example.
A wants Carrots. CarrotsTech(-)
B sells Carrots. CarrotsTech(-)
C makes Carrots. CarrotsTech(+)
D have Carrots Seeds. E have Carrots growing Land.
A can buy Carrots from B it is taking from C. #IRL
A can contact C, if C is closer than B, A gets Carrots from C.
A can contact C, LEARNING he needs Seed and Land to become (+)Carrots
Most of the time, this TX loops are not optimized. And bring a lot of first choice only available.
Now, change A,B,C,D,E into Paul, Rachid, Mary, John, Pierre add more friends if you want to build a more complex (+)
Connect the Oasis through "Syndicate Pubs" and start working together. Collectively.
Without competition but the one you choose to organise as a treasure game if you whish (you are the master of the Zen).
Activate The 100km MetaverseWorld radar mode and filter information from Transiscope/Gchange
Filter map layers by Basic Needs or Makers categories.
```
But is built Resilient. Asynchronous. Disconnected. Resistant*. ANoptic?!! You are the master of your Libre Digital Castle (made of sand).
(*) Share the same swarm.key to harden your Friend Of Friend Community ```/home/$YOU/.ipfs/swarm.key```
THEN FORK THE CODE
Contact support.qo-op.com if you wish help.

View File

@ -10,7 +10,7 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
export YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1);
[[ $YOU == "" ]] && echo "Please run ipfs daemon" && exit 1
if [[ $(whoami) == "root" ]]; then
export IPFSNODEID=$(su $YOU -c "ipfs id -f='<id>\n'")
export IPFSNODEID=$(su $YOU -c "ipfs id -f='<id>\n'") #TODO G1SMS gammu is running root, a group problem?
else
export IPFSNODEID=$(ipfs id -f='<id>\n')
fi

View File

@ -199,16 +199,16 @@
<div class="row">
<div class="col-xl-9 mx-auto">
<div id="phoneresultat">
<div id="devzone">
<br><h4>DEV ZONE<br></h4>
<div class="col-4 col-md-9 mb-2 mb-md-0">
<input id="parrain" type="parrain" class="form-control form-control-lg" placeholder="Pseudo du G1 Parrain">
<input id="parrain" type="parrain" class="form-control form-control-lg" placeholder="Pseudo du G1 Parrain (optionnel) Zen/G1">
</div>
<div class="col-4 col-md-9 mb-2 mb-md-0">
<input id="naissance" type="naissance" class="form-control form-control-lg" placeholder="Date de naissance? (optionnel)">
<input id="naissance" type="naissance" class="form-control form-control-lg" placeholder="Date de naissance">
</div>
<div class="col-12 col-md-3">
<button type="submit" class="btn btn-block btn-lg btn-primary">Valider!</button>
<div id="blobvideo" class="container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/W_FaOWZQdz0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
</div>
@ -223,8 +223,9 @@
</div>
</nav>
<br><br><br>
<iframe width="560" height="315" src="https://www.youtube.com/embed/W_FaOWZQdz0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<script type="text/javascript">
<script type="text/javascript">
var clock;
$(document).ready(function() {
@ -245,7 +246,7 @@
countdown: true
});
});
</script>
</script>
<script>
var typed = new Typed('#typed', {