Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ArXiv Miner

ArXiv Miner helps you find research papers worth reading. It collects recent papers from arXiv, organizes them into a daily feed, and learns from the papers you like and dislike so it can rank future recommendations around your interests.

It is intended for people who want a more manageable way to keep up with research without searching the arXiv site from scratch every day.

What you can do

  • Choose the arXiv subject areas you want to follow.
  • Browse recent papers and open their abstracts or arXiv pages.
  • Like or dislike papers to teach the app what is relevant to you.
  • Train a personal ranking model from your feedback. Training requires at least five selections, including at least three likes.
  • Save papers to a reading list.
  • Optionally create topics from folders of reference PDFs. ArXiv Miner reads those PDFs and finds related papers from arXiv; it does not modify your files.

Getting started

Requirements

  • Python 3.11 or later
  • An internet connection to fetch papers from arXiv

Install

From the project folder, create and activate a virtual environment, then install the app:

python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -e .

For development, install the test and lint tools as well:

python -m pip install -e ".[dev]"

Run the app

Start the app in your default browser:

python -m src.app

To open it in a desktop window instead:

python -m src.app --window

The browser version is served on your own computer and listens only on the local machine. Once it opens, choose your arXiv categories in Settings, then refresh the feed to fetch papers.

The Windows exe

Unzip the release and run ArXiv Miner.exe; a browser tab opens (the first start takes a while).

  • Starting it a second time just opens the copy that is already running.
  • It quits by itself about 3 minutes after the last tab is closed (never while a sync is running), or immediately with Settings, Quit ArXiv Miner. Pass --no-auto-quit to keep it running.
  • The exe has no console. Errors go to arxiv-miner.log in the data folder; attach that file when reporting a problem.
  • The exe is not code-signed, so Windows SmartScreen may warn the first time.

How recommendations work

ArXiv Miner compares paper titles and abstracts to learn which papers are closer to your interests. Your likes and dislikes provide feedback for a personal ranking model. The ranking is a guide for browsing, not a guarantee that a paper will be relevant.

Topics offer a separate way to explore. Add a folder containing papers you consider good examples of a subject, then sync the topic to find related arXiv papers. On the first topic sync, the app may download an embedding model (about 90 MB) if it is not already available on your computer.

Your data

Your selections, reading list, fetched papers, and settings are stored on your computer in a SQLite database:

  • Windows: %LOCALAPPDATA%\ArXiv Miner
  • macOS and Linux: ~/.arxiv-miner

You can set the ARXIV_MINER_DATA_DIR environment variable to use another data folder. Topic folders and PDFs remain where you put them; the app reads them to build topic matches.

File in the data folder What it holds
arxiv_miner.db liked and disliked papers, selections, reading list, topics, and the last 90 days of mined papers
ranker.json your trained like/dislike model
backups\ a copy of the database made before an upgrade changes its structure (newest 5 kept)
arxiv-miner.log startup messages and errors

Privacy and network use. The app contacts arXiv's public API (the categories you chose, and arXiv ids found in your PDFs) and, once, Hugging Face to download the language model. There are no accounts and no telemetry, and your PDFs are never uploaded. The local server only answers requests addressed to localhost, and refuses requests that come from other websites.

Upgrading. The database is migrated automatically, after a backup. An older version of the app refuses to open a database written by a newer one rather than damaging it. Papers are rated by one embedding model; if it ever changes, stored embeddings and the trained ranker are recomputed or reported as needing retraining.

Development

Run the test suite from the project folder. It is offline and takes under a minute; every test gets its own empty data folder, so it can never touch a real installation:

python -m pytest
python -m pytest -m network    # the few tests that need the internet (arXiv, model download)

Build and package the Windows exe (it smoke-tests the result by starting it, syncing a topic and quitting it, then writes release\ArXiv-Miner-<version>-win64.zip plus a SHA-256 file):

python -m pip install -e ".[build]"
python build.py

Rules worth knowing:

  • Schema changes are made only by appending a function to MIGRATIONS in src/db/database.py. Never edit or reorder an existing one.
  • The version is written in one place, src/_version.py. For a release, follow RELEASING.md.
  • Data locations are decided in one place, src/paths.py.
  • One embedding model (DEFAULT_MODEL in src/core/embeddings.py) serves topics and the ranker.

To run the app without opening a browser automatically:

python -m src.app --no-browser

The application is organized into src/api (local web API, feed read-ahead, local-only guard), src/core (arXiv client and throttle, embeddings, PDF reading, rankers), src/db (database and migrations), src/services (application logic), and src/ui (web interface, no build step and no CDN). src/app.py is the entry point. Tests are in tests/.

Known limits

  • The packaged app is for Windows only.
  • Exporting papers (BibTeX, CSV, JSON) is implemented in src/services/exporter.py and tested, but there is no button for it yet.
  • A topic with one or two PDFs matches loosely; add more PDFs to sharpen it.
  • Abstracts are read from the PDF unless an arXiv id lets the app fetch the exact text; a few PDFs lose word spaces in their first line.
  • Application state (the cached feed and background-job status) is one module-level object. That is fine for a single user, and is the first thing to restructure if this ever serves several.

License

ArXiv Miner is released under the MIT License. Third-party licenses are listed in THIRD_PARTY_NOTICES.md.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages