A shell for research papers
Well, ask reason.
………printfprintf will create an HTML book from your notes.
Invoking reason will start a new command prompt. It accepts unix-like commands that instead work on research papers in your paperbase.
Works now:
ls filters and prints papers in table format. Default columns are title, first author(by1), venue(at), and year(in).cd adds an AND filter to the default set of filters (which is empty upon startup).pwd shows the current default filter set by cd.touch creates a new entry in your paperbase.curl imports papers from the web, e.g. arXiv or usenix.org. It also downloads paper PDFs if available. Also experimentally supports downloading raw PDF urls and inferring metadata fields.rm removes entries from your paperbase.set sets paper attributes, including custom labels that can also be used to give colors to papers in ls.printf creates an HTML page of your notes using mdbook.open opens the paper with your PDF viewer (configurable, defaults to zathura).ed opens your editor (configurable, defaults to vim), in which you can edit your notes.wc counts the number of papers.man plus a command will print documentation for that command.exit or Ctrl-d quits reason.Not yet, but hopefully soon (Contributions are more than welcome!):
grep returns a list of papers whose notes contain the query string that you specify.sort sorts papers by given columns.stat prints the metadata and notes of papers.top prints out a summary of your paperbase.You can grab binaries from Releases, or you can run cargo install reason-shell.
reason currently supports Linux and MacOS. Windows is excluded because the owner does not currently own a Windows machine.
In order to share data between multiple platforms, users are encouraged to locate reason metadata, PDF files, and markdown notes in a location synced by cloud storage services such as Google Drive. I use the official Google Drive app on MacOS and Insync on Linux. This offers an extra benefit - you can read PDFs with your iPad, also synced with the cloud storage.
If you already have reason, run man man to view the top-level documentation.
If you're just exploring whether to use reason, take a look at the man directory.
The configuration file is kept at ~/.config/reason/config.toml. If not present, reason will generate one populated with default settings.
For more information, open reason and run man config, or read man/config.md.
No open issues yet, or sync has not completed.