Observed since 20 Oct, 19:54 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A terminal user interface for searching NASA ADS papers
A terminal user interface for searching NASA ADS papers, selecting papers with fzf, downloading PDFs, and managing BibTeX references.
Designed for astronomers who prefer working from the terminal. This may be a preferable workflow when working with a LaTeX document using a terminal emulator for example. It is also useful for quickly searching and downloading papers without opening a web browser.
fzf.bib filepip (You may or may not be able to use your system's pip depending on your system. In the latter case, you can create a virtual environment and install ads-tui there, use a conda environment, or use uv to install it in a environment.)fzfxdg-open (Available on Linux systems. See note below for Other OS)alacritty, kitty, wezterm, ghostty, gnome-terminal, konsole, etc.)fzfsudo apt install fzf
sudo dnf install fzf
Or follow the instructions at fzf GitHub.
xdg-openMost Linux distributions come with xdg-open pre-installed. If not, install the xdg-utils package using your package manager.
ads-tui:pip install ads-tui
Or using uv:
uv tool install ads-tui
Or for development:
git clone https://github.com/Credence473/ads-tui.git
cd ads-tui
pip install -e .
ADS requires an API token.
Create one at:
https://ui.adsabs.harvard.edu/user/settings/token
Set it temporarily:
export ADS_API_TOKEN="your_token_here"
To make it permanent:
echo 'export ADS_API_TOKEN="your_token_here"' >> ~/.bashrc
Alternatively, edit:
~/.config/ads-tui/config.toml
Example:
token = "your_token_here"
Configuration file:
~/.config/ads-tui/config.toml
Example:
token = ""
results = 10
prefer_arxiv = true
cache_days = 30
download_dir = "~/Downloads/Paper"
default_bib = "~/Downloads/Paper/references.bib"
Search ADS papers from the terminal. The query can be a simple string or a comma-separated list of field:value pairs. For example: 'author:Smith,year:2020'. The following shorthands are also available for common fields: 'a' for author, 'fa' for first_author, 'abs' for abstract, 'y' for year, 'ft' for full text, and 'pub' for publication. Additionally, the keyword 'astro' can be used to filter results to the astronomy collection. Example: 'astro,author:Smith,year:2020'.
ads-tui "magneto asteroseismology"
or
ads-tui "first_author:Catala,year:2007,author:Donati,astro"
or
ads-tui "fa:Catala,y:2007,a:Donati,astro"
The default is 10 papers.
For example:
ads-tui "TESS asteroseismology" -n 25
Enable multi-selection:
ads-tui "PLATO stellar oscillations" --multi
Inside fzf:
| Key | Action |
|---|---|
TAB | Select paper |
ENTER | Confirm selection |
After selecting one or more papers:
| Key | Action |
|---|---|
b | Copy BibTeX |
s | Save BibTeX |
a | Append BibTeX to references.bib |
d | Copy DOI |
p | Open PDF link |
u | Open ADS page |
q | Quit |
SQLite cache location:
~/.cache/ads-tui/cache.sqlite
Cached data includes:
Default cache lifetime:
cache_days = 30
Run locally:
python -m ads_tui.cli "asteroseismology"
Planned features:
xdg-open command is replaced with open in the code. You are free to use it that way, but I take no responsibility as I don't own a Mac to test it. If you are willing to maintain a MacOS version, please fork it.This project uses the NASA ADS API.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.3 | 15 Jul 2026 | 6 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:54 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:eeeaa775969f114d92c5b9e862c7eb10e71d1e68330f1d839856a7024b2b0894