https://github.com/agrueneberg/crumbs
A CouchApp that imports CSV files to CouchDB.
https://github.com/agrueneberg/crumbs
Last synced: 2 months ago
JSON representation
A CouchApp that imports CSV files to CouchDB.
- Host: GitHub
- URL: https://github.com/agrueneberg/crumbs
- Owner: agrueneberg
- License: mit
- Created: 2011-07-27T22:09:47.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2015-10-29T15:31:35.000Z (over 9 years ago)
- Last Synced: 2025-01-04T23:15:37.596Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 249 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Crumbs
======[](http://www.repostatus.org/#inactive)
Crumbs is a CSV importer for [CouchDB](http://www.couchdb.org).
Crumbs is different from other import solutions in that it is served as an attachment to a CouchDB design document. The [File API](http://www.w3.org/TR/FileAPI/) of HTML5 allows the browser to read one or more input files directly from the local machine without any uploads and additional server-side logic. Crumbs is even able to process large files without affecting the user experience; its implementation as a [Web Worker](http://www.w3.org/TR/workers/) pushes the workload in the background.
Installation
------------Clone this repository and use [CouchApp](http://couchapp.org) to push Crumbs to `/`:
git clone https://github.com/agrueneberg/Crumbs.git
couchapp push Crumbs/ http:///Alternatively, replicate [an existing deployment of Crumbs](https://couchdb.gutpassfilter.de/crumbs/) to `/` using `curl`:
curl\
-X POST\
-H "Content-Type:application/json"\
-d "{\"source\":\"https://couchdb.gutpassfilter.de/crumbs\",\
\"target\":\"http:///\",\
\"filter\":\"vacuum/rw\"}"\
http://localhost:5984/_replicateImport
------After installing Crumbs, point your browser to `//_design/crumbs/import.html`, select one or more CSV files and click `Import files`.