You know couchapp / erica? If i don't get you wrong, it does exactly what you want.
https://github.com/benoitc/erica http://couchapp.org/page/index 2013/11/8 Hank Knight <[email protected]> > From a Linux command line, I would like to be able to be able to > automatically upload an entire website including all pages, images, > CSS files and scripts from a given directory into CouchDB. > > Before I go to the trouble of developing such a tool I wanted to see > if such a tool already exists. > > If not, are there any considerations I should be aware of when > developing this tool? I would probably either use shell scripting or > Perl. >
