This project is still in development phase
Octopus makes creation of decentralized networks super easy.
TODO: Describe the installation process
Verify that octopus is installed by running octopus --version
$ octopus node create
Name: snwfdhmp
Port (2048): <Enter>
You can find a list of open nodes here.
Once you've decided which node to connect to, run octopus ts <ip> <port (default: 2048)>
$octopus ts 192.168.1.42
Connecting to 192.168.1.42:2048...
Tap 192.168.1.42
Response token : 8d5faab2
Shake 192.168.1.42
Name media-center
Connection successful to media-center
Create your networks and add your nodes
$ octopus net home
Created network home
$ octopus net home tap snwfdhmp
Invited snwfdhmp to network 'home'
snwfdhmp joined 'home'
Or let you be tapped to existing networks
$ octopus logs
...
> tap from 14.233.27.9 to dev-team
...
$ octopus nets
NAME STATUS
dev-team pending
friends joined
local joined
$ octopus join dev-team
Accepted invitation to dev-team
Joining dev-team
Connect to (5/9) nodes...
You can start a shell that will run on remote nodes ...
$ octopus sh media-center
media-center> echo $HOME
/home/media
media-center> reboot
$ octopus sh media-center "echo $HOME"
/home/media
... or on an entire network
$ octopus sh local
local> echo $HOME
media-center: /home/media
snwfdhmp: /Users/Martin
You can fusion several networks to make a bigger one. This will invite every node of each network to the new network created.
$ octopus net game -f home friends
Fusioning 'home' and 'friends' into 'game'
home/snwfdhmp joined
friends/lucas joined
home/NAS joined
home/webserver joined
friends/landry joined
5 nodes in 'game'
Situation: Lucas has 2 computers, each one running octopus.
Its first computer (named "lucas") is connected to the internet.
Its second computer (named "second") is just connected to LAN.
You're not connected to Lucas' LAN but you have octopus running connected to lucas' Node.
$ octopus ts second -w lucas
Asking 'lucas' permission to access 'second'
'lucas' sent token 3fa06a2d
Shake 192.168.12.56 through 'lucas'
Name second
Connection successful to second through lucas
$ octopus ping computer
ping ... OK (25ms)
$ octopus sh computer
computer> ...
Duck integration
We're working on duck integration.
This will permit to run lings on several machines.
TODO: write usage examples (duck+octopus)
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
TODO: Write history
TODO: Write credits
TODO: Write license