Recommend new arxiv papers of your interest daily according to your Zotero libarary.
Recommend new arxiv papers of your interest daily according to your Zotero libarary.
Recommend new arxiv papers of your interest daily according to your Zotero library.
[!IMPORTANT] Please keep an eye on this repo, and merge your forked repo in time when there is any update of this upstream, in order to enjoy new features and fix found bugs.
Track new scientific researches of your interest by just forking (and staring) this repo!
Zotero-arXiv-Daily finds arxiv papers that may attract you based on the context of your Zotero library, and then sends the result to your mailbox. It can be deployed as Github Action Workflow with zero cost, no installation, and few configuration of Github Action environment variables for daily automatic delivery.
Fork (and star) this repo.
Set Github Action environment variables.
Below are all the secrets you need to set. They are invisible to anyone including you once they are set, for security.
| Key | Description | Example |
|---|---|---|
| ZOTERO_ID | User ID of your Zotero account. User ID is not your username, but a sequence of numbersGet your ID from here. You can find it at the position shown in this screenshot. | 12345678 |
| ZOTERO_KEY | An Zotero API key with read access. Get a key from here. | AB5tZ877P2j7Sm2Mragq041H |
| SENDER | The email account of the SMTP server that sends you email. | [email protected] |
| SENDER_PASSWORD | The password of the sender account. Note that it's not necessarily the password for logging in the e-mail client, but the authentication code for SMTP service. Ask your email provider for this. | abcdefghijklmn |
| RECEIVER | The e-mail address that receives the paper list. | [email protected] |
| OPENAI_API_KEY | API Key when using the API to access LLMs. You can get FREE API for using advanced open source LLMs in SiliconFlow. | sk-xxx |
| OPENAI_API_BASE | API URL when using the API to access LLMs. | https://api.siliconflow.cn/v1 |
Then you should also set a public variable CUSTOM_CONFIG for your custom configuration.
Paste the following content into the value of CUSTOM_CONFIG variable:
…Set source.arxiv.include_cross_list: true if you want cross-listed papers included.
[!NOTE]
${oc.env:XXX,yyy}means the value of the environment variableXXX. If the variable is not set, the default valueyyywill be used.
Here is the full configuration, ??? means the value must be filled in:
…That's all! Now you can test the workflow by manually triggering it:
[!NOTE] The Test-Workflow Action is the debug version of the main workflow (Send-emails-daily), which always retrieve 5 arxiv papers regardless of the date. While the main workflow will be automatically triggered everyday and retrieve new papers released yesterday. There is no new arxiv paper at weekends and holiday, in which case you may see "No new papers found" in the log of main workflow.
Then check the log and the receiver email after it finishes.
By default, the main workflow runs on 22:00 UTC everyday. You can change this time by editting the workflow config .github/workflows/main.yml.
Supported by uv, this workflow can easily run on your local device if uv is installed:
# set all the environment variables
# export ZOTERO_ID=xxxx
# ...
cd zotero-arxiv-daily
uv run main.pyThis project is in active development. You can subscribe this repo via Watch so that you can be notified once we publish new release.
Zotero-arXiv-Daily firstly retrieves all the papers in your Zotero library and all the papers released in the previous day, via corresponding API. Then it calculates the embedding of each paper's abstract via an embedding model. The score of a paper is its weighted average similarity over all your Zotero papers (newer paper added to the library has higher weight). The TLDR of each paper is generated by LLM, given the text extracted by pymupdf4llm.
MAX_PAPER_NUM can lead the execution time exceed the limitation of Github Action runner (6h per execution for public repo, and 2000 mins per month for private repo). Commonly, the quota given to public repo is definitely enough for individual use. If you have special requirements, you can deploy the workflow in your own server, or use a self-hosted Github Action runner, or pay for the exceeded execution time.Distributed under the AGPLv3 License. See LICENSE for detail.
If you find this project helpful, welcome to sponsor me via WeChat or via ko-fi.
No open issues yet, or sync has not completed.