A collection of scripts for managing my digital library assets across various cloud storage providers.
To setup the libree
CouchDB database run:
$ grunt
This uses Grunt
with the grunt-couchdb
plugin to create and setup the database if it doesn't
already exist using contents from couchdb/bootstrap
.
The under listed environment variables are required for the database creation. Create a .env
file with these variables.
// file: .env
export LIBREE_COUCHDB_URL=http://localhost:5984
export LIBREE_COUCHDB_USER=
export LIBREE_COUCHDB_PASS=
Use the libree/main.go
script to manage records within the libree
database. Here is the
output for --help
flag for the script:
Usage: libree [OPTIONS] COMMANDS
Options:
-h, --help Show this message and exit (false)
Commands:
index Index entries to the database
trim Remove duplicate entries from filesystem and database