alinush / ck

A Python tool to manage and tag your bibliography (.bib and .pdf) files on Dropbox
13 stars 3 forks source link

CK

A command-line tool for managing your bibliography (i.e., .bib files and .pdf files) across multiple machines using Dropbox.

Features:

Setup

./install-deps.sh

Fill in ck.config and put it in your user_config_dir folder.

For auto tag-suggesting, you can install pdfgrep (optional):

apt install pdfgrep # Ubuntu/Debian
brew install pdfgrep # Mac OS

To install bash auto-completion, run

source bash_completion.d/ck

Other dependencies:

brew install pango libffi # Mac OS

Other useful, related repositories

Just search GitHub for more: "ieeexplore downloadcitations"

How to use

# add a paper to your library given a paywall URL (e.g., ACM DL, SpringerLink, IEEEXplore)
# or an eprint url (e.g., IACR eprint)
ck add <paper-url> <citation-key>

# add a bib file to your library without a PDF
ck open <citation-key>.bib
# ...and edit the .bib file and save it

# open a paper's PDF
ck open <citation-key>
ck open <citation-key>.pdf

# open a paper's .bib file
ck open <citation-key>.bib

# tag the paper with <tag> (or enter tag manually from keyboard)
ck tag <citation-key> [<tag>]

# search all your .bib files and print matching papers' citation keys
ck search <query>

Best practices

Q: How to deal with multiple published versions of the same paper (eprint, conference, journal)?
A: Have each version as a different CK, since it might contain additional info that needs to be cited.

TODOs

Bugs

Features

Add PDF and BibTeX separately

Might want separate addbib and addpdf commands, to support adding the PDF and .bib file from different locations. Then, ck add can just call both of them, with overwrite=false

Add support for adding PDF from local file too.

Add support for downloading a webpage as a PDF and adding it.

Uncategorized