A tool to index your papers/interesting links/... and quickly search through them
  • OCaml 99.6%
  • Makefile 0.4%
Find a file
2019-06-12 13:48:38 +02:00
lib Fiddle with opam files 2019-03-15 18:45:19 +01:00
src Fiddle with opam files 2019-03-15 18:45:19 +01:00
tools A tool that relocates the paths of a database. Use it carefully. 2013-08-09 21:34:57 +02:00
.gitignore Convert to dune and freshen up a bit 2019-03-15 17:55:56 +01:00
dune-project Convert to dune and freshen up a bit 2019-03-15 17:55:56 +01:00
LICENSE LICENSE added 2013-08-09 17:38:58 +02:00
Makefile Fiddle with opam files 2019-03-15 18:45:19 +01:00
papiers.opam Upper bound on lambda-term's version 2019-06-12 13:48:38 +02:00
papierslib.opam Fiddle with opam files 2019-03-15 18:45:19 +01:00
README.md Lwt_read_line doesn't exist anymore; use lambda-term instead. 2014-12-22 15:59:00 +01:00

Papiers

Papiers is a tool to index your pdf files/research papers/… and quickly search through them.

Build instructions

  • Install the dependencies (opam install batteries yojson ANSITerminal uri camlzip cmdliner cpdf lambda-term if you have opam)
  • Edit the src/config.ml if you want to change the default reader for the sources (default: xdg-open), or the colors.
  • Then:
./configure  
make && sudo make install

You can build the html documentation for the papierslib library by running:

make doc

After that the generated documentation will be in the papierslib_api.docdir directory.

How to use Papiers

Papiers now works a bit like git: you have papiers repositories; a repository is located in a directory, and index sources that are contained in this directory.

  • Initialize a new repository in the current directory: papiers init
  • Add documents to the database: papiers doc add interesting_paper.pdf
  • Make queries to the database: papiers search keyword1 keyword2
  • Type papiers --help to see the other possibilities

A query is more or less simply a list of keywords, that are searched through the documents informations, like the title, authors, sources and tags.

You may want to refine this keyword based search. It is possible in some way by using prefixes:

  • If you prepend a keyword with tag: or ta:, it will only match tags.
  • Prepend with title: or ti:, it'll search only in titles.
  • With a:, au: or author:, only in authors.
  • With s:, src: or source:, only in sources.
  • With la: or lang:, only for languages.