A SAN I/O driven, open-source decentralized network infrastructure that can deliver high-quality data with minimal latency and efficient cost, similar to what Cloudflare achieves for their network.
Each node in the network is embeded with Geo-Location data inside its ID. A Node ID consists of multiple layers, and every node will have multiple routing tables, each is correspond to a layer.
TODO: Graphics instead of bulletlist TODO: an ARCHITECTURE.md with general information about: Project, System structure, Design philosophy, ...
cargo add 8xff-sdn
You can refer to the chat_example file here to get started on the basic of building an application for the network.
Start node1:
cargo run --example chat_example -- --node-id 0
Start node2:
cargo run --example chat_example --node-id 1 --neighbour /p2p/0/ip4/127.0.0.1/udp/50000
In node1
> router
[Registry 0] local services: [] remote services: [], nexts []
[Table 0/3/0] slots: []
[Table 0/2/0] slots: []
[Table 0/1/0] slots: []
[Table 0/0/0] slots: [1]
# Join the room using join command with room id
> join 1
In node2
> join 1
> send hello
Now, in node1 will received message from node2
Node 1 to room 1: hello
Available commands:
- help: Show available commands and description
- router: Print routing table
- join: Join a room
- send: Send a message to room
- leave: Leave joined room
It also can start chat-example in multi nodes and connect over LAN or Internet
Start node1:
cargo run --example chat_example --node-id 0
Start node2:
cargo run --example chat_example --node-id 1 --neighbours /p2p/0/ip4/[IP_HERE]/udp/50000
The project is continuously being improved and updated. We are always looking for ways to make it better, whether that's through optimizing performance, adding new features, or fixing bugs. We welcome contributions from the community and are always looking for new ideas and suggestions.
For more information, you can join our Discord channel
First version will be released together with Media Server at end of 2023.
Details on our roadmap can be seen TBA.
This project is licensed under the MIT License - see the LICENSE file for details.
We would like to thank all the contributors who have helped in making this project successful.
$ claude mcp add atm0s-sdn \
-- python -m otcore.mcp_server <graph>