nmc2couch

0.2.1 • Public • Published

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:

  1. cp settings-example.json settings.json
  2. 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.conf file in whatever directory is listed in the process.env.HOME variable.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.1
    0
  • 0.2.0
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i nmc2couch

Weekly Downloads

2

Version

0.2.1

License

AGPLv3

Last publish

Collaborators

  • indolering