From d4f93ae130f749fd9acc34e20775c0e6938622d0 Mon Sep 17 00:00:00 2001 From: ansuz Date: Sun, 12 Jun 2016 10:40:28 +0200 Subject: [PATCH] got bored and did a little data entry now you can `require("peers")` --- index.js | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..1c07ea2 --- /dev/null +++ b/index.js @@ -0,0 +1,95 @@ +var Fs = require("fs"), + R = function (p) { + return JSON.parse(Fs.readFileSync(p, 'utf-8')); + }, + P = module.exports.peers = { + AS: { + hk: { + 'hk.hub.icfreedom.net.k': R('./AS/hk/hk.hub.icfreedom.net.k'), + }, + sg: { + singapore: { + 'sg.hub.icfreedom.net.k': R('./AS/sg/singapore/sg.hub.icfreedom.net.k'), + 'weuxel.sing.k': R('./AS/sg/singapore/weuxel.sing.k'), + }, + }, + }, + EU: { + de: { + bavaria: { + 'hype.jazzanet.com.k': R('./EU/de/bavaria/hype.jazzanet.com.k'), + }, + }, + fr: { + 'nord-pas-de-calais': { + 'hub.icfreedom.net.k': R('./EU/fr/nord-pas-de-calais/hub.icfreedom.net.k'), + 'play.fallofanempire.com.k': R('./EU/fr/nord-pas-de-calais/play.fallofanempire.com.k'), + }, + strasbourg: { + 'magik6k.net.k': R('./EU/fr/strasbourg/magik6k.net.k'), + }, + }, + gr: { + rethymno: { + 'kaotisk.rethymno-meshnet.k': R('./EU/gr/rethymno/kaotisk.rethymno-meshnet.k'), + }, + }, + md: { + chisinau: { + 'eu-east.hub.icfreedom.net.k': R('./EU/md/chisinau/eu-east.hub.icfreedom.net.k'), + }, + }, + nl: { + amsterdam: { + 'mrowr.me.k': R('./EU/nl/amsterdam/mrowr.me.k'), + 'weuxel.ams.k': R('./EU/nl/amsterdam/weuxel.ams.k'), + }, + }, + ru: { + moscow: { + 'h.bunjlabs.com.k': R('./EU/ru/moscow/h.bunjlabs.com.k'), + }, + }, + se: { + lulea: { + 'bliss.willeponken.me.k': R('./EU/se/lulea/bliss.willeponken.me.k'), + }, + }, + uk: { + london: { + 'ansuz.science.k': R('./EU/uk/london/ansuz.science.k'), + }, + }, + }, + NA: { + ca: { + quebec: { + 'ca.hub.icfreedom.net.k': R('./NA/ca/quebec/ca.hub.icfreedom.net.k'), + }, + beauharnois: { + 'derp.fusion.k': R('./NA/ca/beauharnois/derp.fusion.k'), + }, + }, + us: { + california: { + 'igel-california.usa.k': R('./NA/us/california/igel-california.usa.k'), + }, + newyork: { + 'jacobhenner.usa.k': R('./NA/us/newyork/jacobhenner.usa.k'), + 'weuxel.usa.k': R('./NA/us/newyork/weuxel.usa.k'), + }, + northcarolina: { + 'igel-northcarolina.usa.k': R('./NA/us/northcarolina/igel-northcarolina.usa.k'), + + }, + oregon: { + 'h.us-west.hub.icfreedom.net.k': R('./NA/us/oregon/h.us-west.hub.icfreedom.net.k'), + }, + pennsylvania: { + 'nat.usa.k': R('./NA/us/pennsylvania/nat.usa.k'), + }, + }, + }, +}; + +//console.log(JSON.stringify(P, null, 2));