A Terminal User Interface for browsing arXiv papers
Project description
ArTui - Stay up to date with recent ArXiv submissions!
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
The ArXiv Reader interface showing the category sidebar, article list, and abstract panel
The Notes interface showing the markdown editor for taking notes on articles
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:
- Environment Variable:
export ARTUI_DATA_DIR="/path/to/custom/directory"
artui
- 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:
- Create the database file if it doesn't exist
- Start the TUI interface
- Automatically refresh articles (fetching the last 7 days)
- 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 vieweds- Article is saved/bookmarkedt- Article has tagsn- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file artui-1.1.0.tar.gz.
File metadata
- Download URL: artui-1.1.0.tar.gz
- Upload date:
- Size: 50.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b240303702945c6317c06e03d0b553b1e05fd9871956caa359a8d08a7c31b75e
|
|
| MD5 |
8a31fad0948d61b74a35a95c0025a93b
|
|
| BLAKE2b-256 |
6414910e7668322f8b3fed91e17e608f068e23e6333cd9fadba1cac2a7cfe8a9
|
Provenance
The following attestation bundles were made for artui-1.1.0.tar.gz:
Publisher:
publish.yml on fjonasALICE/arTui
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
artui-1.1.0.tar.gz -
Subject digest:
b240303702945c6317c06e03d0b553b1e05fd9871956caa359a8d08a7c31b75e - Sigstore transparency entry: 1092834280
- Sigstore integration time:
-
Permalink:
fjonasALICE/arTui@6fe4308bb5b39425bb8573e022b26507fd5d6221 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/fjonasALICE
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6fe4308bb5b39425bb8573e022b26507fd5d6221 -
Trigger Event:
release
-
Statement type:
File details
Details for the file artui-1.1.0-py3-none-any.whl.
File metadata
- Download URL: artui-1.1.0-py3-none-any.whl
- Upload date:
- Size: 50.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0f8c9c2c31c725f54b5a87b356335f759e0308690b5b764d8fc4112d4a5297a
|
|
| MD5 |
c6830d374bb4abcab9fcdf7c01186252
|
|
| BLAKE2b-256 |
4204d05aa4f4ea4320389b99fe340e3af6777bc3f0965c3009375a74ed11d7d4
|
Provenance
The following attestation bundles were made for artui-1.1.0-py3-none-any.whl:
Publisher:
publish.yml on fjonasALICE/arTui
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
artui-1.1.0-py3-none-any.whl -
Subject digest:
e0f8c9c2c31c725f54b5a87b356335f759e0308690b5b764d8fc4112d4a5297a - Sigstore transparency entry: 1092834328
- Sigstore integration time:
-
Permalink:
fjonasALICE/arTui@6fe4308bb5b39425bb8573e022b26507fd5d6221 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/fjonasALICE
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6fe4308bb5b39425bb8573e022b26507fd5d6221 -
Trigger Event:
release
-
Statement type: