1
0
Fork 0

OASIS RULES. App to DApp 1.2.3

This commit is contained in:
qo-op 2020-05-19 05:07:06 +02:00
parent 1e32385e51
commit 7863028055
1 changed files with 86 additions and 40 deletions

View File

@ -9,14 +9,12 @@ _Use https://deepl.com for better translations_
> 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*****
**"All code is A-GPL, you are not authorise to fork it, modify it and run it without refering to us!"** Original Founders Team will release from IPNS an IPFS reference to download CODE in the 1st #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.?
## **This Software makes you Responsible of your Digital and Social behaviour(s) !
It could make you evolve to a new level of consciouness. Ready...?**
**Astroport is a Free Framework and Learning digital Oasis maker.**
## **Astroport is a Free DApp Framework configured as a Learning "Know How" sharing digital Oasis maker**
# International Entrance
@ -24,20 +22,21 @@ For now, only french **"+33"** is accepted in ```$ASTROPORT/astroport/g1sm/``` b
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/astroport/zen/tools/search``` command.
To help finding where to apply patches a convenient way is to use the "search" (grep) command
```sudo cp $ASTROPORT/astroport/zen/tools/search /usr/local/bin/```
Adapt to _YOUR_COUNTRY_CODE_
```
To replace "\+33" whith "\+_YOUR_COUNTRY_CODE_", please run
grep -rl '\+33' ./ | xargs sed -i 's/\+33/\+_YOUR_COUNTRY_CODE_/g'
```
# TODO's
## TODO's
- SMS texts in a multi language templating system!
- Move SMS texts out of ""./g1sms/code(s).sh" in a multi language templating system!
- Add new ENV variable in /etc/profile (so bash writing for adding new protocol / channel is simple!)
- Add GLOBAL ENV variables in /etc/profile (and clean the CODE for adding new protocol / channel is simple to understand!)
```
# @qo-op
@ -61,36 +60,82 @@ export GHOST="/home/$YOU/.zen/ipfs/.$IPFSNODEID/G1SSB"
```
- include important tools in ```/usr/local/bin``` for easy use from all system
- include ```$ASTROPORT/astroport/zen/tools/``` "natools", "nodename", ... tools in ```/usr/local/bin``` to make CODE lighter and easy use from all system App.
# IMPORTANT RELATIVITY SHIFTING...
**On Astroport Station, NOW your Web2.0 code is running LOCAL! So it can access local filesystem where #Swarm0 shared data are connected with other Stations !!**
> No more need for Internet global routing available anytime. Once your stations are friends, they become SSB connected, and IPFS swarm peers connected also if possible...
http://localhost:10010 is the first official DApp we are presenting.
# The Ghost and Goblins 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.
- **lolcat** is made with ruby
- **duniterpy** and **silkaj** are python
- **sbotc** is C
- **oasis**, **feedless** are nodejs, html, css
- LOVELand is jquery, vuejs
- Minetest is C++, sqlite and LUA
- NextCloud is PHP and MySQL
@tuxmain has a made for us a wonderful toolbox for **crypt/decrypt/sign/verify ed25519 libsodium crypto**
Any kind of code and framework can use astroport as a universal protocol switch. A Free CODE NEST...
```
$ASTROPORT/astroport/zen/tools/natools.sh
```
All "Digital Channels Flavors" are open to new protocols and specific relay in one or two page of bash/python/...
Use it to save private data in your IPFS #Swarm0
You access to the "Fat Layer" and Protocols through crypto, messaging and file exploring tools...
Create.
- ```natools.py``` (@tuxmain made) is used for **crypt/decrypt/sign/verify** using the ed25519 libsodium crypto
- ```nodename``` (@qo-op made) is finding the relative local or global Station hostname
- ```sbotc``` (@cel made) is used to send / read SSB chain.
- ```zen_MAKE.sh``` (@qo-op) is creating Zen containers. '***_zen***' open protocol IPNS nano DHT allowing PASSENGER mulitmedia file and json metadata.
- ```/g1sms``` Main App & historical communication layer. Acting as a delegated "G1 wallet" manager, source of Zen IPFS technology and QRCode banking system.
- ```/minetest``` - ```/nextcloud``` - ...
- ... more and more are prepared to get into Astroport Framework.
Depending on your App available API, Front and Back End functions,
You'll get a level
- 1 Channel Scraping,
- 2 Synchronized API,
- 3 Dapp transformation OK :star: .
> 1 & 2 level benefit from new commnunication layers from (ssb libraries, js, go, rust, ...) and simple ipfs CLI commands. Notice that your Station will use double disk space until your data backend is fully using ipfs !!
> After **"client/server" deprogramming** you'll make a full **"localhost" ipfs #Swarm0 DApp**.
CODE in located in ```$ASTROPORT/astroport/``` and App in subdirectories.
Ex: "NextCloud"
Onboard your App code in here.
```$ASTROPORT/astroport/nextcloud```
1:star: DATA goes here.
```$ASTROPORT/nextcloud```
2:star: Make use of G1/SSB/IPFS layers. Use localstore and publish/share/crypt your parameters, metadata with #Swarm0
```/home/$YOU/.zen/ipfs/.$IPFSNODEID/nextcloud```
3 :star: Store $WHOAMI DATA to ipfs #Swarm0 into.
```/home/$YOU/.zen/ipfs/$G1PUB/nextcloud```
An App on Astroport is a Flavour.
It is (like in UNIX) just a new FIFO data channel, it connects into its open protocol data and indexes layer. Could be host and routes, ipfs and ipns... Once your #Swarm0 gets bigger, It can read and write but soon extract coherence from your DATA with "conscious deep learning".
SO REMEMBER.
```
$ASTROPORT/ipfs/_the_name_of_your_channel_
$ASTROPORT/ipfs/.IPFSNODEID/$_your_channel_indexe(s)_
$ASTROPORT/ipfs/_the_name_of_your_channel_/command.sh
```
All data writen in $ASTROPORT/ipfs/ are manually or/and regularly published and refreshed with #Swarm0 Friends.
All data writen there will published every minute in #Swarm0
Your Flavour data and work special flow is activated in
```
$ASTROPORT/astroport/cron_MINUTE.sh # is the nervous system of a digital Blob creature you cultivate.
$ASTROPORT/astroport/cron_VRFY.sh # is the cron injector
@ -98,7 +143,7 @@ $ASTROPORT/astroport/cron_VRFY.sh # is the cron injector
**$YOU relative security level depends on Trust levels within your friends and their friends!**
# Extra Shell Microservices (work in progress)
# TODO tools Extra Shell Microservices
- Transmit files as SSB private message. markdown_ + audio_ video_
@ -109,8 +154,7 @@ $ASTROPORT/astroport/cron_VRFY.sh # is the cron injector
## **Every One is the Network!**
Zen Economy built-in channel
If ```$YOU=YOU``` then your account become "LOVE/Zen" Blacksmith (Not implemented yet. Talk to @yyy if you wish to make it)
Inside "tag" directoy is the Zen accounting system. $NANODATE stamped blockchained ipfs/ipns file datastucture.
@ -149,18 +193,20 @@ In **(now collapsing?) actual Industrial Global Economy**, you cannot be aware o
**In our model, all process from seeding, planting, growing, croping, sharing, consuming is included. FROM PEOPLE TO PEOPLE, P2P, every one is valuable. Individual and Global "KnowHow" is related and connected.**
We use indicators:
On the left side **make, have :outbox_tray: (+)** OR **consume, miss :inbox_tray: (-)**
in the middle is :carrot: (**Useful Ressource**)
in the right side **Maker (+)** OR **NOT Maker (-)** (Know How related)
let's see a little example with :carrot:
We use indicators ☜。◕‿◕。☞
**(-/+):carrot:(-/+)**
- On the left side **make, have :outbox_tray: (+)** OR **consume, miss :inbox_tray: (-)**
- in the middle is :carrot: some **Useful Ressource** :circus_tent:
- in the right side **Maker (+)** OR **NOT Maker (-)** (Know How related)
Let's see a little example
- A wants (-):carrot:(-)
- B sells (+):carrot:(-)
- C makes (+):carrot:(+)
- D have Carrots (+):seedling: (+). E have Carrots growing (+):island:(+).
- D have Carrots (+):seedling: (+). E have Carrots growing (+):island:(+).
---
@ -187,7 +233,7 @@ Without competition but the one you choose to organise as a treasure game if you
Activate The 100km MetaverseWorld radar mode and filter information from Transiscope/Gchange
Filter map layers by Basic Needs or Makers categories.
Then A, B, C, D, E, F, G, H, I, J, K, ... and as much as it has to be can share knwowledge and **transform (-) into (+)**
**Then A, B, C, D, E, F, G, H, I, J, K, ... and as much as it has to be can share knwowledge, howto, know how and transform (-) into (+) to be and buid a MAKERS society**
---
@ -197,10 +243,10 @@ You are the master of your Libre Digital Castle ("in the sky" or "made of sand"?
[![LAPUTA Key](https://git.p2p.legal/axiom-team/astroport/raw/master/doc/images/LaPunta.gif)](https://www.youtube.com/watch?v=iwROgK94zcM)
(*) Share the same swarm.key to harden your Friend Of Friend Community ```/home/$YOU/.ipfs/swarm.key```
(*) Share the same swarm.key to harden your Friend Of Friend Community
```/home/$YOU/.ipfs/swarm.key```
# IF YOU WANT TO ADD YOU APP TO ASTROPORT OFFICIAL FLAVOURS?
Contact support.qo-op.com
# IF YOU WANT TO ADD YOU APP TO ASTROPORT OFFICIAL FLAVOURS? Contact support.qo-op.com
> [Basically on Evolutionary Code your code evolves not because you plan, but because the environment around it pushes it into certain directions.](https://medium.com/@_rchaves_/designed-v-evolutionary-code-d52a54408c8f)