Merge branch 'main' of git.ourworld.tf:tfgrid/info_tfgrid

This commit is contained in:
kristof de spiegeleer 2024-03-27 17:50:04 +01:00
commit 6549c61892
52 changed files with 176 additions and 71 deletions

47
books/mbweni/SUMMARY.md Normal file
View File

@ -0,0 +1,47 @@
- [Introduction](mbweni/about/intro.md)
- [Mbweni Ruins & Gardens](mbweni/about/mbweni.md)
- [Zanzibar](mbweni/about/zanzibar.md)
- [Our Story](mbweni/about/story.md)
- [History](mbweni/history/history.md)
- [Mbweni Ruins](mbweni/history/ruins.md)
- [Botanical Gardens](mbweni/history/gardens.md)
- [Community](mbweni/community/community.md)
- [Mbweni Community](mbweni/community/mbweni_community.md)
- [ThreeFold](mbweni/community/threefold.md)
- [H.E.R DAO](mbweni/community/her_dao.md)
- [LIOS Labs](mbweni/community/lios_labs.md)
- [Dunia Yetu](mbweni/community/duniayetu.md)
- [Msonge Farm](mbweni/community/msonge.md)
- [Ootopia](mbweni/community/ootopia.md)
- [Sikana](mbweni/community/sikana.md)
- [Sunzibar](mbweni/community/sunzibar.md)
- [VEDA Egypt](mbweni/community/veda_egypt.md)
- [Initiatives](mbweni/initiatives/initiatives.md)
- [Mbweni Clean Project](mbweni/initiatives/mbweni_clean.md)
- [Harvest Garden Project](mbweni/initiatives/harvest_gardens.md)
- [Ecology Seminars](mbweni/initiatives/seminars.md)
- [Facilities](mbweni/facilities/facilities.md)
- [Restaurant & Bar](mbweni/facilities/restaurant.md)
- [Coworking](mbweni/facilities/coworking.md)
- [Swimming Pool](mbweni/facilities/swimmingpool.md)
- [Private Beach](mbweni/facilities/beach.md)
- [Activities](mbweni/activities/activities.md)
- [Sailing](mbweni/activities/sailing.md)
- [Community Events](mbweni/activities/events.md)
- [Outdoor Sports](mbweni/activities/sports.md)
- [Yoga](mbweni/activities/yoga.md)
- [Outdoor Cinema](mbweni/activities/cinema.md)
- [Tours](mbweni/tours/tours.md)
- [Mbweni Tour](mbweni/tours/mbweni_tour.md)
- [Stone Town](mbweni/tours/stone_town.md)
- [Island Tours](mbweni/tours/island_tours.md)
- [Spice Farm](mbweni/tours/spice_farm.md)
- [Mangroves Tours](mbweni/tours/mangroves.md)
- [Wildlife conservations](mbweni/tours/wildlife.md)
- [Kilimanjaro Tours](mbweni/tours/kilimanjaro.md)
- [Safari Tours](mbweni/tours/safari.md)
- [Maasai Village](mbweni/tours/maasai.md)
- [Freeflow Nation](freeflow/freeflow_movement.md)
- [Manifesto](freeflow/manifesto/manifesto.md)
- [Digital Nation](freeflow/manifesto/digital_nation_info_laws.md)

View File

@ -0,0 +1,30 @@
# Digital Nation information laws
The following laws are the fundamentals for the specifications of the information management system we have built:
**Information is owned by the author(s)**
We have sole ownership of our created information/content (e.g. photos, text, videos).
“We” can be an organization (company, government, etc) or a person.
**Everyone has control over his or her own information and community circles**
We define the circles (groups of people) we want to communicate with.
We have absolute freedom to decide what we want to share, and with whom we want to share it.
We can at any point in time retrieve/destroy our information or revoke access rights.
**Information cannot be changed or read without the consent of the author(s)**
No one has access to our information unless we have given explicit access rights.
It should be technically impossible for a hacker or other organization to change information and represent it in another way than originally intended.
**Information can be verified**
We can ask for verification of the information at any point in time.
We can track to the author unless the author wants to be anonymous but then we know the source does not want to be known. In other words we dont fake authorship or hide behind fake accounts.
**We define which information we want to search for and search results are not manipulated**
We have the ability to search and consume information in freedom and neutrality.
We dont like that an AI (Artificial Intelligence) machine decides what information gets priority or is blocked. Today we navigate in a restricted information world, much smaller than we believe. Keeping us uninformed and manipulating the information which is being presented to us can influence our consumption and voting actions.
**Law enforcement access to information is important but should not be abused**
Safety is important. Governments or law enforcement agencies should be able to access information when required in all transparency (means authors know what rights governments have and when exercised) and for the right reason.
This access should never be abused for other reasons as public safety.
This right should not lead to unnecessary censorship.

View File

@ -0,0 +1,56 @@
# FreeFlow Nation Manifesto
We (the citizens of **FreeFlow Nation**) believe then world needs a global complementary digital nation.
A nation to complement not replace our existing nations, a nation which has no physical boundaries and which welcomes everyone as a digital citizen. It would be amazing to work together with governments to establish this dream.
## A digital nation where everyone has the following rights:
Everyone has access to affordable education, Internet, healthcare, and banking systems.
Everyone has equal chances.
Everyone has the right to a safe, healthy, and secure environment.
## A digital nation where everyone chooses to honor the following digital values:
We declare that we are not powerless and we need to act ourselves.
We declare that respect is the basis of our communication and actions.
We declare to respect the worlds finite resources.
We declare to produce fair and honest information.
We agree that people should never be a product.
We have been working for more than 15 years on a technology that can facilitate a platform and vision like this. It's not just a set of ideas we have already developed most of the required technology and are executing a practical, achievable plan which we want to share with everyone who wants to take part.
## FreeFlow Nation Manifesto
### FreeFlow Nation Rights
**Equality** → We believe that everyone should be given equal chances to learn, partake and succeed. Internet access is a human right, we commit to scale our technology to new regions to empower the unconnected.
**Autonomy** → We believe that everyone should own their data, and no one else. Our regenerative Peer-to-Peer technology allows every user to be data sovereign in line with their country requirements- giving them control over their data providing a safety net..
**Regeneration** → We unify our practices, partnerships, and products around a single mission - to heal our planet. By making our technology actionable, we enable a collective approach to have an impact together.
### FreeFlow Declaration
**We declare that we have power and we need to act.**
The world needs healing. There is too much talk and not enough action. We believe that we have the power. We shouldnt blame others governments, society, politicians or other countries. We all are at the source of the problems the world is facing today, and together we can do something about it.
We have a responsibility to improve the things we can have an impact on instead of blaming others around us.
This doesnt mean we have no right to a financially comfortable life, it means we have to act and help heal the world. If we all change our actions towards what we can have a positive impact on, the world would be a better place tomorrow.
**We declare that respect is the basis of our communication and action.**
We declare that respect instead of fear or ego will be the basis of our communication and our action in this digital nation.
We dont have to agree but respect and tolerance for other opinions is a must.
We need to respect time, e.g. time of others and our own.
**We declare to respect the worlds finite resources.**
We need to be respectful for finite world resources.
We will actively look to purchase products which are more sustainable.
We declare that we want to produce high quality and sustainable products or services.
**We declare to produce fair and honest information.**
We should be critical about the information we consume, not take information at face value.
We need to try to create information which is in line with the reality.
We should never create information to deceive people.
**We agree that no being should ever be a product.**
We have become a product of a big data machine. Every action we take on social media, Internet searches, etc, is potential profit for someone else. We should stop believing that we are getting these services for free. This leads to manipulation and too much a consumption of our worlds resources. This means we accept to pay for resources used.

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

@ -69,7 +69,7 @@ ssh-keygen # save in /root/.ssh/books
```
cat ~/.ssh/books.pub
```
- Add the SSH public key on git.ourworld.tf and github
- Add the SSH public key on [git.ourworld.tf](https://git.ourworld.tf/user/settings/keys) and [github](https://github.com/settings/keys)
- Optional: on git.ourworld.tf, verify the key
```
echo -n 'token' | ssh-keygen -Y sign -n gitea -f /path/to/private/key

View File

@ -1,70 +0,0 @@
<h1>Hero and mdbook on a Full VM: Script</h1>
<h2>Table of Contents</h2>
- [Introduction](#introduction)
- [Setting the Full VM](#setting-the-full-vm)
- [Remote Explorer Access](#remote-explorer-access)
- [Download and Run the Script](#download-and-run-the-script)
- [Serve and View the mdbook](#serve-and-view-the-mdbook)
- [Questions and Feedback](#questions-and-feedback)
***
## Introduction
In this tutorial, we show how to use a script to deploy an mdbook with the [hero](https://github.com/freeflowuniverse/crystallib/tree/development/cli/hero) tool.
For this guide, we show an example using the mdbook from the repository [info_tfgrid](https://git.ourworld.tf/tfgrid/info_tfgrid). This setup can be done locally or on a VM. Note that it should be run as root.
We show the steps for a full VM deployed on the TFGrid with WireGuard. We use `10.20.4.2` as a WireGuard IP address. Adjust according to your own setup.
We will be using SSH to connect to the VM and we will access the mdbook output on a local browser. To manage the mdbook files, we will be using the remote explorer feature of either VSCodium or VSCode.
## Setting the Full VM
We start by deploying a full VM with WireGuard on the TFGrid.
To connect to the VM, we will be using a remote explorer.
## Remote Explorer Access
You can use the remote explorer feature of both [VSCode](https://marketplace.visualstudio.com/items?itemName=ms-vscode.remote-repositories) and [VSCodium](https://open-vsx.org/extension/jeanp413/open-remote-ssh) to manage the mdbook.
- Open the window `Remote Explorer`, click on `Add New` and write the following in the SSH config file:
```
Host 10.20.4.2
HostName 10.20.4.2
User root
```
- Click on `Connect to Host`
- Open the main `/root` directory
- Right-click on the main window of the directory and select `Open in Integrated Terminal`
## Download and Run the Script
- Download the script
```
wget https://git.ourworld.tf/tfgrid/info_tfgrid/raw/branch/main/scripts/hero_mdbook.sh
```
- Run the script (this will take a couple of minutes)
```
source hero_mdbook.sh
```
## Serve and View the mdbook
- Serve the mdbook
```
mdbook serve --hostname 0.0.0.0 --port 3333
```
- Open your browser and use the following URL:
```
localhost:3333
```
You can now work on the mdbook and see live the changes your bring to the mdbook files on the remote VM.
## Questions and Feedback
If you have any questions or feedback, please let us know by either writing a post on the [ThreeFold Forum](https://forum.threefold.io/), or by chatting with us on the [TF Grid Tester Community](https://t.me/threefoldtesting) Telegram channel.

View File

@ -0,0 +1,17 @@
```js
!!book.generate name:'mbweni' title:'Mbweni Ruins and Gardens'
url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/books/mbweni'
!!doctree.add
url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/mbweni'
!!doctree.add
url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/freeflow'
```

View File

@ -0,0 +1,11 @@
```js
!!books.configure
buildroot:'~/hero/var/mdbuild'
publishroot:'~/hero/www/info'
install:true
reset:false
```

View File

@ -0,0 +1,14 @@
```js
!!sshagent.key_add
name:'books'
privkey:'
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACDXf9Z/2AH8/8a1ppagCplQdhWyQ8wZAieUw3nNcxsDiQAAAIhb3ybRW98m
0QAAAAtzc2gtZWQyNTUxOQAAACDXf9Z/2AH8/8a1ppagCplQdhWyQ8wZAieUw3nNcxsDiQ
AAAEC+fcDBPqdJHlJOQJ2zXhU2FztKAIl3TmWkaGCPnyts49d/1n/YAfz/xrWmlqAKmVB2
FbJDzBkCJ5TDec1zGwOJAAAABWJvb2tz
-----END OPENSSH PRIVATE KEY-----
'
```