Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samiz-dat/dat-cardcat
An aggregated card catalogue for many Calibre libraries
https://github.com/samiz-dat/dat-cardcat
Last synced: 5 days ago
JSON representation
An aggregated card catalogue for many Calibre libraries
- Host: GitHub
- URL: https://github.com/samiz-dat/dat-cardcat
- Owner: samiz-dat
- Created: 2017-03-20T04:34:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-16T09:33:44.000Z (about 6 years ago)
- Last Synced: 2024-10-12T02:55:22.941Z (28 days ago)
- Language: JavaScript
- Homepage:
- Size: 1.23 MB
- Stars: 16
- Watchers: 4
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-starred - samiz-dat/dat-cardcat - An aggregated card catalogue for many Calibre libraries (others)
README
# Dat Card Catalogue
An aggregated card catalogue for many Calibre libraries (or any collections with a directory structure that is __Creator/Creation/Files.ext__).
## Setup
**Note: dat-cardcat requires node 6 or greater**
```bash
# install npm dependencies
npm install# run in development
# this will watch dat-cardcat for any changes and instantly recompile
# the library so that cli and other projects immediately receive updated code.
npm run dev```
While not published on NPM yet you can integrate this into other projects or make it available on the command line via npm link.
```bash
# in the directory of this module
npm link# after which you can run the cli directly
datcat
# which should print out some info about the cli#or link it for use in other projects via
cdnpm link dat-cardcat
```
For testing, the first time you run, you should do:
```bash
# Import an already existing card catalogue
datcat import-cat 96171cc0845174e7e3c73592479cd9ca8d4caf1d039e6f38a0c06f48dff88bd1 "South Asian Scholarship"
# Check something out from it
datcat checkout "Ackbar Abbas" "Hong Kong Culture and the Politics of Disappearance (58)"
# Import a local directory to create a new cardcat
datcat create-cat "/Path/To/Some/Calibre Library" "My Library"
# query
datcat query "hong kong"
# List all authors
datcat author list
# List all authors and show title count
datcat author -c list
# List all authors beginning with a
datcat author list a
# Get titles for an author
datcat author titles "Ackbar Abbas"
```