A geographically sorted list of public peering credentials for joining Hyperboria Mirror of https://github.com/marek22k/hyperboria-peers
Marek Küthe 8deeac710a remove offline node | 2 年 前 | |
---|---|---|
eu | 2 年 前 | |
na | 2 年 前 | |
.gitignore | 8 年 前 | |
README.md | 2 年 前 | |
addAll.py | 2 年 前 | |
index.js | 7 年 前 | |
package.json | 2 年 前 | |
testAvailable.py | 2 年 前 | |
tests.js | 2 年 前 | |
tests.py | 2 年 前 |
A geographically sorted list of public peering credentials for joining Hyperboria.
Hyperboria uses cjdns to construct an end-to-end-encrypted ipv6 mesh network. Connections between nodes are established manually, and traffic is restricted to the resulting social graph.
This repository exists for those who don't already know somebody on Hyperboria.
Primary repository: https://github.com/marek22k/hyperboria-peers Mirror: https://notabug.org/mark22k/hyperboria-peers (only code)
First, set up a cjdns node.
To connect your node to one of these public peers, follow the steps in the cjdns README.
If you've created a public node, and would like to have it listed here, fork the repo, add a keyfile, run ./tests.py
(make sure your file passes the test), and submit a PR. Alternatively, it is also possible to open an issue.
We won't merge or add your credentials until our tests are passing.
Credentials are sorted geographically, by continent code. Nodes may be classified further, at the discretion of the node operator, and the administrators of the repository.
The suggested format is /continent/country/region/municipality
. For example, /na/ca/ontario/toronto/
.
Region and municipality codes are based on self identification, not any ISO standard. An operator might prefer to list their node in Cascadia instead of Washington state. For simplicity's sake, we'd prefer that new credentials conform to existing structures.
We have tried to standardize the structure of the actual credential files, as such, they have the strictest requirements of anything in this repository.
If you are hosting it on a major server provider, please provide the name and shorthand for server.
digitalocean sfo2
linode uswest
or linode tokyo2
EX: useastnorthernvirginia,useastohio,southamericasaopaulo
{
"192.168.1.5:10326":{
"contact":"alice@bob.com",
"gpg":"FC00FC00FC00FC00",
"login":"default-login",
"password":"nq1uhmf06k8c5594jqmpgy26813b81s",
"peerName":"your-name-goes-here",
"publicKey":"ssxlh80x0bqjfrnbkm1801xsxyd8zd45jkwn1zhlnccqj4hdqun0.k"
}
}
Credential files must end with .k
.
Otherwise, you can name your file whatever you want, but for simplicity's sake, avoid characters which will need to be escaped at the command line (or within the javascript api).
Maps of the Hyperboria Network:
Note: refers to the original Hyperboria peers repo
Peering credentials in this repository can be accessed via a simple Javascript API (using Nodejs).
It's available as a module on npm:
npm install hyperboria-peers
var Peers = require("hyperboria-peers");
/* return a list of public peers located in North America */
Peers.filter(function (creds, path) {
return path.indexOf('NA') !== -1;
});
/* return a list of public keys */
Peers.map(function (creds, path) {
return creds[Object.keys(creds)[0]].publicKey;
});
/* the underlying data is exposed in a nested json structure */
console.log(Peers.peers);
console.log(Peers.peers.na.us.california);