No description
Find a file
2014-11-06 23:22:00 +01:00
bin convert to python3 2014-09-09 14:41:31 +02:00
example update example 2014-09-01 14:29:36 +02:00
peerlink fix cert creation 2014-11-06 23:22:00 +01:00
.gitignore convert to python3 2014-09-09 14:41:31 +02:00
README.md add README and setup.py 2014-09-30 18:07:52 +02:00
requirements.txt add README and setup.py 2014-09-30 18:07:52 +02:00
setup.py add README and setup.py 2014-09-30 18:07:52 +02:00

get peerlink

git clone https://git.0x2620.org/peerlink.git

install dependencies

pip3 install -r requirements.txt

start peerlink

python3 bin/peerlink

register your application

register application POST http://[::1]:8842/add { "name": "yourappname", "url": "http://[::1]:YOURPORT/remote/" }

now peers can make requetss to

GET|POST http://[::1]:8842/<peer id>/PATH

that get proxied and end up on <peer id> at

GET|POST http://[::1]:YOURPORT/remote/PATH

requests have a From: header to indicate the remote peer id making the request

local peer discovery

peerlink discovers peers in the local network,

GET http://[::1]:8842/info

contains info on currently visible peers