Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Couchdb snippets app with a Couchfuse backend.
JavaScript Ruby CoffeeScript Other
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
couchapp
features
src/main/clojure/com/narkisr
template
.couchapprc
.gitignore
.rvmrc
LICENSE-2.0.txt
README.md
pom.xml
watch-and-push.sh

README.md

SnippetApp is the next logic step of couchfuse ;), mount your couchdb edit your snippets and publish them via SnippetApp.

This application enables currently a read only view of the snippets (see demo)

Installation:

# Use couchdb 1.1/1.0 (older version replication fails)
$ curl -X PUT http://localhost:5984/snippet-app
$ curl http://localhost:5984/_replicate -d '{"source":"http://narkisr.cloudant.com/snippet-app-clean","target":"snippet-app"}' -H "Content-Type: application/json"
# checkout http://localhost:5985/snippet-app/_design/snippets/tagcloud.html

# creating snippets using couch-fuse
$ mkdir mount_point && couchfuse -db snippet-app -path mount_point
$ mkdir mount/snip-1 && touch mount_point/snip-1/snip-1.txt
    # Add properties to the json  {"Tags":"java","Created":"2008-03-17 11:49:49","Comment":"Cool snip","Language":"Java","Title":"snip-1"}
$ vim mount_point/snip-1/snip-1.json

TBD:

  • Deployment guide.
  • Packaing (with couch-fuse).

Feel free to provide feedback.

Something went wrong with that request. Please try again.