Skip to main content

A personalized AI-driven arXiv digest based on your research profile

Project description

aiXiv logo

${\color{f27171}\textit{ai}}\text{Xiv}$

A personalized AI-driven arXiv digest driven by your own research profile.


aiXiv reads a description of your research interests, builds an interest profile from it with an LLM, and uses that profile to rank recent arXiv abstracts by relevance to you. You can rate the rankings, and those ratings are fed back to the model to refine the profile over time.

What it does

  • Builds a profile from free text. Paste a bio, past abstracts, keywords, or anything describing what you work on. An LLM extracts a name, summary, and set of keywords, which are stored in a local database.
  • Fetches abstracts from arXiv. Browse any arXiv category (e.g. astro-ph.HE) over a chosen date range and import the results into a library.
  • Ranks papers by relevance. The model scores each imported paper against your profile (0–10) and gives a short reason for the score.
  • Lets you vote. Rate any ranked paper 0–10 with a slider. Once you have votes, a "refine from votes" action feeds them back to the model to update your profile.
  • Bookmarks. Save papers to a separate bookmarked list from either the ranked or unranked views.
  • Multiple profiles. Keep several profiles and switch between them; each has its own rankings, votes, and bookmarks.
  • Math rendering. Titles and abstracts render LaTeX via KaTeX.

How it works

  1. Create a profile — click + new profile, give it a name, and paste in text describing your interests. The model analyzes it and you save the resulting profile.
  2. Browse arXiv — on the browse arXiv tab, pick a category and date range (or use the last-day / week / month presets) and import papers into your library.
  3. Rank — in the library under unranked, select papers and click rank selected. Ranked papers move to the ranked tab with a relevance score and a one-line reason.
  4. Vote and refine — click a paper's vote score to open a slider and rate it. When you have votes, use refine from votes to update the profile from your feedback.
  5. Bookmark — use the bookmark control on any paper's card to save it to the bookmarked tab.

Requirements

Install

uv tool install aixiv-digest 
# or
pip install aixiv-digest

Running

aiXiv
# or to view options
aiXiv --help

Then open the URL it prints (by default http://127.0.0.1:8000).

Flag Meaning
--host Host to bind the server to
--port, -p Port to bind the server to
--db, -d Path to the SQLite database file

Development

Running from a clone additionally needs Node.js/npm — the front-end assets (HTMX, KaTeX, Lucide icons) are vendored from node_modules into the package, and the stylesheet is compiled from Sass:

# 1. Python package (editable)
uv venv && source .venv/bin/activate
uv pip install -e .

# 2. Front-end assets (vendored copies are committed;
#    re-run after upgrading npm packages or editing scss/)
npm i
npm run vendor
npm run css

# 3. Dev server (auto-reload)
fastapi dev aiXiv/main.py

npm start runs the Sass watcher and the dev server together.

Configuration

LLM settings are managed in-app through the settings dialog (the gear icon in the top bar) and stored in the database. The relevant options are the provider, the model, and — for Ollama — the API URL.

Every LLM call logs two lines to the server console (claude-cli ▶ requesting model=… / claude-cli ◀ answered by model=…), reporting both the requested model and the model that actually answered, so you can verify the backend is using what you configured.

Ollama (local). Runs against a local Ollama server. Defaults live in aiXiv/settings.py:

Setting Default
Provider ollama
Model gpt-oss:20b
Ollama API URL http://localhost:11434

Point the API URL at your Ollama instance and pull a model beforehand (e.g. ollama pull gpt-oss:20b). The model dropdown lists whatever that server has installed.

When accessing the Ollama instance running on Windows from the app running on WSL2, use ip route | grep default | awk '{print $3}' to determine the host (Windows) ip, and use that instead of the localhost.

Claude CLI (subscription). Shells out to a locally-installed, logged-in Claude Code CLI (claude -p), so it uses your existing Claude subscription instead of an API key. The model field takes an alias (sonnet, haiku, opus) or a full model ID (claude-opus-4-8); leave it empty for the CLI's default.

Codex CLI (subscription). Same idea with the Codex CLI (codex exec), using your ChatGPT login. The model dropdown is read from the model list codex itself caches (~/.codex/models_cache.json); run codex once if it's empty.

The CLI backends are experimental and meant for testing. They spawn one CLI process per request (a ranking run takes several seconds per paper), usage counts against your subscription limits, and driving coding agents this way is an off-label use of those tools.

Claude / OpenAI (API). These providers appear in the settings dialog but are disabled — the client classes are not implemented yet. Using them requires both the corresponding client code and an API key with billing from the provider's developer console.

Project layout

aiXiv/
  main.py            FastAPI app: routes, page rendering, CLI entry point
  settings.py        default settings and LLM prompts
  arxiv/             arXiv fetching and category list
  database/          SQLModel tables and DB setup/migrations
  llm/               LLM abstraction (base, ollama, cli) + profile/paper logic
  utils/             LaTeX-to-HTML and "time ago" helpers
  templates/         Jinja2 templates (HTMX-driven fragments)
  static/            compiled CSS + vendored front-end assets
scss/                Sass sources (compiled into aiXiv/static/css)

Tech stack

FastAPI, SQLModel/SQLite, Jinja2, and HTMX on the back end; Pico CSS (via Sass), KaTeX, and Lucide icons on the front end.

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

aixiv_digest-0.1.1.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

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

aixiv_digest-0.1.1-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file aixiv_digest-0.1.1.tar.gz.

File metadata

  • Download URL: aixiv_digest-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aixiv_digest-0.1.1.tar.gz
Algorithm Hash digest
SHA256 736fa796bb1986efa1392dfb60898e1b8b5643ab07718fb66457e6e1949595e9
MD5 6ddd2b7b080f5d72a437bfa112caf2a1
BLAKE2b-256 f8238ba59ea81093fcc10d1eba5790d7e622d02a4d59df1bf9ad2c3d30dbc28b

See more details on using hashes here.

Provenance

The following attestation bundles were made for aixiv_digest-0.1.1.tar.gz:

Publisher: publish.yml on haykh/aiXiv

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

File details

Details for the file aixiv_digest-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aixiv_digest-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aixiv_digest-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22c136ddf2e882784921ec71f27ade97eafe0baff1fe235b3d82e8847f62b345
MD5 774d82ba5d11f2be753ed74900de80c4
BLAKE2b-256 4940dc0a8baeb9ae368983129e2101bb4f74db49917258d11cbd667621bb0141

See more details on using hashes here.

Provenance

The following attestation bundles were made for aixiv_digest-0.1.1-py3-none-any.whl:

Publisher: publish.yml on haykh/aiXiv

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