Skip to main content

ArXiv Reader App

Project description

An arXiv Reading App (aara)

A super simple Textual application for reading the latest posts on the arXiv in the terminal. This scrapes the arXiv "new" page from the category you specify. I found the arXiv search API to be lacking in functionality and the RSS feeds are blank if there was no update that day (e.g. like on a Saturday or Sunday). So, I wrote my own terminal app to read the arXiv.

Installation

To install:

pip install aara

For development only (using uv):

git clone https://github.com/jsnguyen/aara
cd aara
uv run aara astro-ph

Usage

Just run:

# For astro-ph
aara astro-ph

More generally:

aara <arXiv category>

Config

Configs are stored at ~/.config/aara/aara.ini.

You can change the save name parameter by changing num_words, which currently takes the first 4 words of the title by default.

You can also change the save directory by modifying the downloads_folder variable to a valid path.

Bindings

Basic vim bindings are implemented, hjkl, g, G, and {}. The arrow keys can also be used for navigation. Note that scrolling in abstract window using the vim bindings doesn't work quite yet, but this is a pretty rare occurrence.

a opens the abstract of the article using your web browser

s will save the pdf to the location specified in the config, but if you haven't set anything it goes to ~/Downloads by default. The naming scheme is <arxiv id>_<year>_<first author last name>_<first four words title>.pdf.

d will open the pdf of the article directly

q to quit

Misc

There is also a state file stored at ~/.config/aara/state.ini that tracks what pdf files you have already saved. This is not designed to be human-editable and is automatically loaded if it exists. It will overwrite every time you close the application.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aara-0.0.6.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aara-0.0.6-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file aara-0.0.6.tar.gz.

File metadata

  • Download URL: aara-0.0.6.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for aara-0.0.6.tar.gz
Algorithm Hash digest
SHA256 1db7f7091a7d8566824f99534a3f922fa93ad181ba5d032e5bc889490c6e4f96
MD5 fadc1317986adfa27ca349526f5b303b
BLAKE2b-256 824adfb1eabb080a16b7e2d133a8b5aeabed0970b374c91a939233e00cc6a0d7

See more details on using hashes here.

File details

Details for the file aara-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: aara-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for aara-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ac584482e502a902433a6add806f57954e4ab868a2504e41d48befaf7b45f532
MD5 611821b3aac227d65ef2f69b049c6f2e
BLAKE2b-256 0f07d1d51e8275a57d2c0b8b51d66e05dde3508cf20c4aab19e4e1e7381bd25a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page