
Llyfr is a lightweight bibliography manager for scientific papers. Your library is a plain BibTeX (.bib) file and a folder of PDFs, so it works with LaTeX, JabRef, and other tools that read BibTeX.

Search the papers in your .bib file by title, author, year, or journal.
url field, or the adsurl field).bib file.bib file and moves its PDF to the trash, after asking you to confirmSearch the NASA Astrophysics Data System (ADS) and import papers into your library. Type a query in the search bar and press Enter.

Llyfr asks for these settings the first time you open it. You can change them later in Raycast Settings → Extensions → Llyfr.
| Setting | Required for | Description |
|---|---|---|
| Library Folder | Both commands | The folder where your PDFs are stored. |
| BibTeX File | Both commands | Your BibTeX file. It can be anywhere, including inside the folder above. Start with an empty .bib file if you don't have one. |
| ADS API Token | Search ADS | Your personal ADS token (see below). |
PDFs are linked to entries with the file field, in the same format JabRef uses. The path is relative to your library folder:
@ARTICLE{1938Natur.141..333L,
author = {{Landau}, L.},
title = "{Origin of Stellar Energy}",
journal = {\nat},
year = 1938,
adsurl = {https://ui.adsabs.harvard.edu/abs/1938Natur.141..333L},
file = {:Landau_1938_origin_of_stellar_energy.pdf:PDF}
}
When you add a paper, Llyfr names the PDF <authors>_<year>_<title>.pdf, where <authors> is Smith, Smith.Jones, or Smith.etal (undated replaces the year if there is none). It then appends the entry to the end of your .bib file. Existing entries are never modified, and a paper that is already in your library is not added again. Llyfr recognizes it by citation key, DOI, ADS bibcode, arXiv ID, or title.
When reading your library, Llyfr also understands other ways of writing the file field, such as {paper.pdf}, {PDF:paper.pdf}, or an absolute path, and uses the part that ends in .pdf. Entries without a linked PDF still appear in the list, with a dimmed icon.
Search ADS accepts the full ADS search syntax:
| Query | Finds |
|---|---|
author:"Einstein" year:1905 | Papers by Einstein from 1905 |
author:"^Landau" | Papers with Landau as the first author |
title:"stellar energy" | Papers with the phrase in the title |
abs:"magnetic reconnection" year:2020-2024 | Abstract search within a year range |
bibcode:1938Natur.141..333L | A specific paper |
Display list of papers in the local library
Search papers on ADS