Skip to content

Add medRxiv as a paper source #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

KravornN
Copy link

@KravornN KravornN commented Jun 7, 2025

This PR adds support for fetching and recommending papers from medRxiv, in addition to the existing arXiv source.

To control this new functionality, the following environment variables have been added:

  • MEDRXIV_DAYS: Specifies the lookback period for medRxiv papers. If set to 0, medRxiv is disabled. If set to a positive integer, the feature is enabled.
  • MEDRXIV_SUBJECTS: Allows filtering medRxiv papers by subject category. The syntax is the same as ARXIV_QUERY.
  • MAX_PAPER_NUM_ARXIV: Sets a specific limit for the number of recommended arXiv papers. If not set, it will be automatically obtained from MAX_PAPER_NUM.
  • MAX_PAPER_NUM_MEDRXIV: Sets a specific limit for the number of recommended medRxiv papers.

The final email digest is also updated to group papers by their source for better readability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant