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
These bindings are configurable in config.yaml via the optional keyboard_shortcuts section. If omitted, defaults below are used.
| 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 |
All possible keyboard_shortcuts overrides:
keyboard_shortcuts:
save_article: s
mark_unread: u
download_and_open_pdf: o
open_arxiv_link: l
focus_search: f
global_search_and_focus: g
show_selection_popup: c
refresh_articles: r
show_inspire_citation: i
manage_tags: t
manage_notes: n
mark_all_read: x
quit: q
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:
Metadata
Release files for artui 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| artui-1.1.2.tar.gz | 54.9 kB | With provenance | Details for artui-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| artui-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for artui-1.1.2-py3-none-any.whl |
Total release size: 110.0 kB
Release files / artui-1.1.2.tar.gz
| Download URL | artui-1.1.2.tar.gz |
|---|---|
| Size | 54.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15e1de8d97477b2e7a418e0cb249fd177527b56342ebdf3ec8872da80a6982f7
|
|
BLAKE2b-256 checksum How to use checksums |
d6902eceb2da143b95a1f92d1e70e587de747609c3ae7ccbf369cf47d6ad1393
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.
Transparency logRelease files / artui-1.1.2-py3-none-any.whl
| Download URL | artui-1.1.2-py3-none-any.whl |
|---|---|
| Size | 55.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
366d324f12589f7d41eea3e0828facf9d386a914861f3045a084b6f043b29a59
|
|
BLAKE2b-256 checksum How to use checksums |
8a664ce16aaad66f87c98a6f7b8377686cca5e018f27ab3c8b703a554219c3e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.
Transparency logSecurity for artui 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for artui-1.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.