from Hacker News

Show HN: ReclinerJS – Local CouchDB inside your Browser

by jsdeveloper on 3/9/24, 12:59 PM with 1 comments

Introducing Recliner-JS: a CouchDB-like database that runs directly in your browser!

Get ready to experience the power of a seamless document and attachment management system, just like CouchDB, but with the added convenience of being accessible through a familiar REST API.

Imagine effortlessly retrieving your docs and attachments with a simple URL:

<img src=`/recliner/dbname/doc_id/attachment_name`>

But that's not all! This library takes things to the next level with its cutting-edge partial content streaming capabilities. Lazy Cloud Attachments ensure that your browser only downloads the attachments you need, when you need them, optimizing performance and efficiency.

Built from the ground up using pure, vanilla JavaScript, this library is a testament to my commitment to simplicity and robustness.

Don't just take my word for it – head over to the GitHub repo and explore the usage examples and working demos for yourself! Get ready to revolutionize your web development experience.

  • by uptonking on 3/18/24, 5:12 AM

    why not just use pouchdb? the most powerful part of pouch/couch is syncing, you may consider integrate with it