Skip to content
Projects

yzr278892/arxiv-daily-researcher

View on GitHub

About

Open your notifications every morning to find high-quality paper summaries ready for you. Ciallo~(∠・ω< )⌒☆

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original
ArXiv Daily Researcher

ArXiv Daily Researcher

Track papers, filter by research interests, and generate research reports in Chinese

Release License: AGPL v3 Python 3.12+ Docker 中文

Daily literature tracking, topic research, and paper archives.

Quick start · Interface preview · Usage · Release notes


ArXiv Daily Researcher regularly searches arXiv and optional journal sources, filters papers by keywords and personal preferences, and produces Chinese summaries, PDF analyses, and Markdown / HTML reports. Configure, run, and read in a browser, with results also available through email and messaging services.

✨ Features

— Discovery and filtering —

📡 Multiple paper sources

Track new arXiv papers and revisions, plus PRL, PRA/PRB, Nature, Science, Hugging Face Papers, and custom OpenAlex journals. Link the same paper across sources while retaining each source's records and analyses.

🎯 Research interest scoring

Choose core relevance, weighted keywords, weighted keywords with penalties, or learned preferences. Configure topics of interest, unwanted topics, and preferred authors; inspect individual scores and qualification reasons.

— Reading and research —

🔍 Chinese summaries and full-text analysis

Generate translated abstracts, short TL;DRs, and keywords. Qualifying papers can receive further PDF analysis of their methods, findings, and limitations. Supports local PyMuPDF, MinerU, and optional translation of Semantic Scholar TL;DRs.

📈 Topic and keyword trends

Research a topic by keyword, date range, and arXiv category to summarize changes in research directions and methods. Keyword trend reports show how topics develop within the collected papers.

— Archives and delivery —

🗃️ Reports, favorites, and history

Browse Markdown / HTML reports, search papers, and record likes or dislikes. Automatically save qualifying papers, rerun past dates, import old reports, and repair historical records. Unfinished papers remain queued.

🔔 Notifications and management

Supports email, WeCom, DingTalk, Telegram, Slack, and generic webhooks. The WebUI provides Chinese and English interfaces, light/dark themes, logs, token statistics, database backups, and WebDAV synchronization.


📑 Contents

Section
🚀 Quick start
🛠️ Configuration tools
🐳 Deployment
📖 Usage
📁 Project structure
❓ FAQ
📝 Changelog

🚀 Quick start

Use a Linux host with Docker Compose and an OpenAI-compatible model service. The host needs network access to your chosen paper sources and model APIs.

1. Get the project

git clone https://github.com/yzr278892/arxiv-daily-researcher.git
cd arxiv-daily-researcher
cp .env.example .env
mkdir -p data logs runtime

Run id -u and id -g, then set PUID and PGID in .env to your user's IDs. That user must own and be able to write to these directories and .env.

2. Start the services

docker compose pull
docker compose up -d
docker compose ps

Open http://HOST:8501, replacing HOST with your server address, and create an administrator account. Use HTTP directly only on a trusted LAN or Tailscale; use an HTTPS reverse proxy for public access.

3. Configure and run

Under Configuration → API, enter the API key, base URL, and model name for both the low-cost and high-capability LLM, then test each connection. The former handles scoring and translation; the latter handles detailed analysis and trend summaries. Both roles may use the same model.

Enter your research background and primary keywords under Keywords, select sources and a scoring strategy, and click Save All Changes in the sidebar. For an initial run, set the daily processing limit to 5 papers; adjust the limit and schedule after reviewing the results.

Start a task under Run → Daily Research and read its results under Content → Reports.


🛠️ Configuration tools

🖥️ WebUI

Group Pages
Run Daily research, past daily reports, trend tasks
Content Reports, favorites, paper search
Configuration Keywords, data sources, scoring, API, notifications, advanced settings, accounts
System Backup and sync, history maintenance, diagnostics, usage statistics, logs

Use Save All Changes for configuration edits. Source switches control which settings are shown, and each notification channel has its own test action. The sidebar shows the installed version and links to a release when an update is available.

🧙 Command-line wizard

Configure models, research topics, sources, and notifications from a terminal:

docker compose exec arxiv-daily-researcher python src/utils/setup_wizard.py

🖼️ Interface preview

Daily research tasks and queue
Daily research
Task progress and pending papers
Four paper scoring strategies
Scoring
Relevance, weights, and penalties
Semantic Scholar TL;DR translation settings
API configuration
Source services and TL;DR translation
Regular input, cached input, and output token usage
Usage statistics
Input, cache, and output
History import and maintenance scheduling
History maintenance
Import, repair, and scheduling
Database backups and restore
Backup and sync
Database snapshots and recovery

Screenshots use demonstration settings and simulated usage data.


🐳 Deployment

Docker Compose

The root docker-compose.yml starts two services. Both images support linux/amd64 and linux/arm64:

Service Image Purpose
Worker ghcr.io/yzr278892/arxiv-daily-researcher:4.7 Scheduled runs, paper processing, and notifications
WebUI ghcr.io/yzr278892/arxiv-daily-researcher-config-panel:4.7 Management interface, mapped to 8501:8501

The worker uses host networking; the WebUI uses a bridge network. For a model or proxy running on the host, use a host address reachable from both containers. localhost refers to a different location in each network.

The WebUI binds to all host interfaces by default. For an HTTPS reverse proxy on the same host, set ADR_WEBUI_BIND_ADDRESS=127.0.0.1 and WEBUI_COOKIE_SECURE=true in .env, then recreate the WebUI. Secure cookies require the browser to use HTTPS; do not enable them over plain HTTP. Public HTTP without TLS exposes sign-in details and panel data.

Before upgrading, back up .env, runtime/, data/, and customized configs/templates/; keep logs/ if needed. Read the release notes. A routine upgrade uses:

git pull --ff-only
docker compose pull
docker compose up -d
docker compose ps

Mounted directories preserve your data. A legacy configs/config.json is migrated to runtime/config.json on first startup.

Source development

tests/docker-compose.yml builds the worker and WebUI from source, with the worker handling only manually submitted tasks. It mounts the current workspace's settings and data by default; running services are not disposable test fixtures. Use a separate working copy and data for development checks.

docker compose -f tests/docker-compose.yml up -d --build
docker compose -f tests/docker-compose.yml ps

The repository also includes the main.py command-line entry point and GitHub Actions workflows for daily and trend research.


📖 Usage

🎯 Scoring strategies

Strategy Qualification
Core relevance V2 Primary keyword relevance determines qualification; reference keywords and author preferences help rank papers.
Weighted keywords V1 Keyword relevance × weight, plus author bonuses, is compared with a dynamic threshold.
Weighted keywords with penalties Uses the weighted keyword score and threshold, subtracting unwanted keyword relevance × its individual weight.
Learned preferences V1 Adjusts weighted scores using signals from likes, dislikes, and previously qualifying papers.

Selecting the penalty strategy shows unwanted keyword settings on the Keywords page. Each penalty weight ranges from 0 to 1; a primary keyword cannot also be a penalty term.

📄 Research tasks and reports

Daily research handles new papers and the unfinished queue. Past daily reports rerun specified dates; trend tasks summarize papers for a topic and date range. The paper limit applies to each run, with failed or unprocessed papers available for later runs.

Browse reports by actual batch. Other Reports contains keyword trends and supplements generated by history maintenance. Qualifying papers can be saved automatically or added together from the favorites page.

📜 History maintenance

Action Purpose
Import old history Import papers and results from old HTML reports and compatible history records.
Repair historical data Fill missing content in existing records and update reports.
Scan historical omissions Search for missing papers within the dates covered by imported reports.
Migrate existing supplements Organize old supplement filenames, directories, and associated records.

The first three tasks can run while the worker is idle or during a chosen window, defaulting to 00:00–06:00. History maintenance and daily research have separate processing limits.

📊 Usage and backups

Usage statistics show regular input, cached input, and output tokens by model and time. Historical report statistics can be imported; input without a recorded cache breakdown counts as regular input.

Local backups take consistent SQLite snapshots with configurable retention and a daily copy limit. WebDAV can synchronize settings, reports, and databases. Migrating the entire service also requires .env, runtime/, data/, and customized templates.


📁 Project structure

arxiv-daily-researcher/
├── docker-compose.yml         Released image deployment
├── tests/docker-compose.yml   Source development deployment
├── main.py                    Command-line entry point
├── src/                       Sources, scoring, analysis, reports, and WebUI
├── configs/                   Examples and report/notification templates
├── runtime/config.json        Active runtime configuration
├── data/                      Paper database, reports, PDFs, and backups
├── logs/                      Runtime logs
└── .env                       Model credentials, notifications, and accounts

❓ FAQ

What if the WebUI is unreachable or I cannot sign in?

Check config-panel with docker compose ps, and confirm host port 8501 is accessible and not already in use. Read its logs with docker compose logs --tail=100 config-panel. First access requires an administrator account; existing accounts are stored in .env and survive container recreation. An authenticated owner can manage other accounts under Configuration → Accounts.

Why is a submitted task still waiting?

Confirm the worker is running. Daily research, past reports, and history maintenance queue according to their mutual exclusion rules; maintenance also follows its configured time window. The status panel shows why a task is waiting. Inspect worker logs with docker compose logs --tail=100 arxiv-daily-researcher.

How do I change which papers pass the filter?

Read the keyword scores and qualification reasons in a report, then adjust primary keywords, weights, or thresholds. Penalties help reduce nearby but unwanted topics; core relevance requires a substantive match with primary keywords. New settings apply to subsequent processing; existing reports retain their original scores.

What should I check after a timeout, HTTP 429, or PDF analysis failure?

Find the failing stage under System → Diagnostics and test connections under Configuration → API. Check API keys, model names, base URLs, quotas, and proxy settings. Reduce concurrency for rate limits. For PDF failures, check the source link or MinerU settings. After fixing the cause, run again; completed stages are reused.

Why are some Semantic Scholar TL;DRs still in English?

Enable TL;DR translation under Configuration → API → Semantic Scholar; it is on by default. Failed translations retain the original text in a collapsed section. Disabling translation displays the original directly. The setting applies to subsequent processing; saving it does not rewrite existing reports.

How do I fix an unwritable mounted directory?

Match PUID / PGID in .env to the mounted directories' owner. Before the first deployment, create data/, logs/, and runtime/ as that user and make sure .env is writable. Restart the containers after correcting permissions.

What should I copy when moving to another host?

Wait for tasks to finish and stop the old services. Copy .env, runtime/, data/, and customized configs/templates/, plus logs/ if needed. Check user IDs and directory permissions on the new host before starting both services. A database export from the WebUI covers the database only, so retain the other files separately.


📜 License

Licensed under AGPL-3.0.

💬 Feedback

Use GitHub Issues for problems and suggestions. Include your deployment method, reproduction steps, and sanitized logs.

🙏 Acknowledgments

Thanks to arXiv, OpenAlex, Semantic Scholar, and MinerU for their data and tools.

📝 Changelog

See CHANGELOG.md for release history and upgrade notes.

Explore related projects

Loading…