Skip to main content

A Terminal User Interface for browsing arXiv papers

Project description

ArTui - Stay up to date with recent ArXiv submissions!

License: MIT PyPI Python 3.8+ Commits Built with Textual arXiv INSPIRE-HEP

A Terminal User Interface (TUI) application to stay up to date with recent arXiv submissions. Built with Python and Textual, featuring a persistent SQLite database. This tool was built with the help of AI to test AI capabilities and to build something useful for myself. The code is not pretty and I simply wanted to create a usable tool for myself.

The main goal of the tool is to stay up to date with recent publications in your field

Disclaimer

This tool is not associated with arXiv and we thank arXiv for use of its open access interoperability. We also thank INSPIRE for providing their API free of charge for educational and informational use. The tool has been developed with the help of a mix of Claude Sonnet 4 and Gemini 2.5 Pro.

How it works

Feed — Your main view. Shows recent arXiv papers (last 7 days) from all subscribed categories. New submissions appear automatically after each fetch. Read articles are tracked and cleaned up after a configurable retention period to keep your feed fresh.

Categories — arXiv subject areas you want to follow (e.g. hep-th, cs.AI, astro-ph.HE). Every article that falls under a subscribed category will show up in your feed. Configure them in the config file.

Filters — Optional keyword rules applied on top of categories. A filter targets one or more categories and keeps only articles whose title or abstract match your criteria — useful for narrowing a broad category to your specific topics of interest.

Library — Articles you explicitly save are kept here indefinitely. Unlike the feed, saved articles are never auto-removed. Enrich them with custom tags and markdown notes for easy organisation and reference.

Global Search — Search the full arXiv database beyond your subscribed categories. Any article found this way can be added directly to your library.

Citation Network — Browse citations of a given article using inspire-hep without leaving the terminal.

Screenshots

ArXiv Reader Screenshot

The ArXiv Reader interface showing the category sidebar, article list, and abstract panel

Notes Screenshot

The Notes interface showing the markdown editor for taking notes on articles

Inspire information

The INSPIRE citation interface showing BibTeX citation information

Installation

Requirements

  • Python 3.8+
  • Internet connection for fetching articles

Recommended: pipx (isolated, no venv management)

pipx installs CLI tools into their own isolated environment and makes them available system-wide — no manual virtual environment needed.

pipx install artui

To install pipx itself:

# macOS
brew install pipx && pipx ensurepath

# Linux / Windows (via pip)
pip install --user pipx && pipx ensurepath

Alternative: pip

pip install artui

From source (development)

git clone https://github.com/fjonasALICE/arTui
cd artui
pip install -e .

Configuration

User Data Directory

ArTui stores all user data in a centralized location for better organization and portability:

Default Location: ~/.artui/

Directory Structure:

~/.artui/
├── config.yaml          # Configuration file
├── arxiv_articles.db     # SQLite database
├── articles/             # Downloaded PDF files
└── notes/               # Article notes (markdown files)

Custom User Data Directory

You can customize the user data directory location in several ways:

  1. Environment Variable:
export ARTUI_DATA_DIR="/path/to/custom/directory"
artui
  1. Command Line Parameter:
artui --user-dir "/path/to/custom/directory"

User Directory Management

View user directory information:

artui userdir info

Migrate existing data from current directory:

artui userdir migrate

Configuration File

Create or edit config.yaml in your user data directory to configure categories and filters:

# Feed retention period in days - articles older than this are hidden from feed views unless unread
feed_retention_days: 30

categories:
  # Display Name: arXiv category code
  "Machine Learning": "cs.LG"
  "Artificial Intelligence": "cs.AI"
  "HEP Theory": "hep-th"
  "HEP Experiments": "hep-ex"
  "Quantum Physics": "quant-ph"

filters:
  # Custom filters with advanced criteria
  "ALICE Experiment":
    categories:
      - hep-ex
      - hep-ph
    query: "ALICE"
  
  "Deep Learning":
    categories:
      - cs.LG
      - cs.CV
    query: "deep learning OR neural network"
  
  "COVID Research":
    query: "COVID-19 OR coronavirus OR SARS-CoV-2"

Usage

Running the Application

artui

On first launch a config wizard will open — set your categories, save, and the app starts fetching. After that, r manually triggers a refresh.

The application will:

  1. Create the database file if it doesn't exist
  2. Start the TUI interface
  3. Automatically refresh articles (fetching the last 7 days)
  4. Load the first configured category/filter automatically

Key Bindings

Key Action
s Save/Unsave the selected article
u Mark article as unread
o Download and open PDF
i Show BibTeX citation from Inspire-HEP
t Manage tags for the selected article
n Create/edit notes for the selected article
f Focus search box
g Enable web search and focus search box
c Show category/filter selection popup
r Refresh and fetch new articles
q Quit application
Ctrl+d Toggle dark/light mode
↑/↓ Navigate article list
Enter Select article (shows abstract)
Mouse Click to navigate and select

Status Indicators

In the article list, the first column shows status:

  • - New/unread article
  • (space) - Article has been viewed
  • s - Article is saved/bookmarked
  • t - Article has tags
  • n - Article has note

License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright 2025 Florian Jonas

Support

For issues and feature requests, please use the GitHub issue tracker.

Dependencies

This project depends on the following Python packages:

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

artui-1.1.1.tar.gz (50.8 kB view details)

Uploaded Source

Built Distribution

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

artui-1.1.1-py3-none-any.whl (51.0 kB view details)

Uploaded Python 3

File details

Details for the file artui-1.1.1.tar.gz.

File metadata

  • Download URL: artui-1.1.1.tar.gz
  • Upload date:
  • Size: 50.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for artui-1.1.1.tar.gz
Algorithm Hash digest
SHA256 17671e5408e358a994b71db81437ce0df4a295b8faf8e70f95fa333f040fd86a
MD5 33427e092e39d4571251ff5d4721b2bd
BLAKE2b-256 38441e5f18d676db3be34f2636dfa7d9c04b95d169cd91a3468af43acd47af37

See more details on using hashes here.

Provenance

The following attestation bundles were made for artui-1.1.1.tar.gz:

Publisher: publish.yml on fjonasALICE/arTui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file artui-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: artui-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 51.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for artui-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23ab140335b08a91af3fab2fd10e17bcea91acc9434dbe918b844d2b03b9ce9b
MD5 61e8e7ef5f9648c0e07b2d1c9c2987ab
BLAKE2b-256 cc30681938205b822bc85cf37e1caac74bbda9f2b715a5f158ca58bcd3763ea6

See more details on using hashes here.

Provenance

The following attestation bundles were made for artui-1.1.1-py3-none-any.whl:

Publisher: publish.yml on fjonasALICE/arTui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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