nmc2couch
v0.2.1
Published
Scrapes Namecoin into CouchDB, fairly hackish at the moment.
Downloads
11
Readme
nmc2couchdb
Scrapes Namecoin into CouchDB, fairly hackish at the moment.
Setup Instructions
nmc.js first checks for a passed config object, then it checks for a local
nmc.js/settings.json file and it finally falls back to searching for the
config file at ~/.namecoin/namecoin.conf. This should "just work" on most
Unix systems. *
It dump.js assumes that you have a local CouchDB install which is world writable and it pushes everything into a DB called 'bit'. This is currently hardcoded into dump.js.
To a manually specify settings:
cp settings-example.json settings.json- Fill in config information in
settings.json
or
echo '{
"host": "localhost",
"port": 8334,
"user": "YOUR USERNAME",
"pass": "YOUR PASSWORD"
}
' > settings.json- It technically looks for the
/.namecoin/namecoin.conffile in whatever directory is listed in theprocess.env.HOMEvariable.
