Synopsis
> knid config
Config created in ~/.knid/config.json
Please update with your database credentials.
Then run `knid ddoc`.
> knid ddoc
Design doc created at http://localhost:5984/knid/_design/knid
> knid p http://cloudhead.io/cradle A nifty CouchDB library for Node.js
Link posted to http://localhost:5984/knid/_design/knid/_rewrite/
>
A design doc will be checked for & created & updated at _design/knid
.
Info will be posted to a stream at http://localhost:5984/knid/_design/knid/_rewrite/. The above example will appear as a link.
Current Status and Demo
Right now only posting links, with text is supported. No date is shown but it's sorted by date.
I have a demo at stream.benatkin.com. Public create permissions are on, so if you do the following you might be able to post to it:
- run
npm install knid
- run
knid config
- open
~/.knid/config.json
and replacehttp://localhost:5984/
withhttp://bat.cloudant.com/knid
- run
knid p http://example.com/ a comment
TODO
- Add error handling for
knid ddoc
- Implement posting plain text from stdin, ala bcat
- Add setup instructions
- Implement pagination
- Implement daily archive