MCPcopy Index your code
hub / github.com/deep-diver/hf-daily-paper-newsletter

github.com/deep-diver/hf-daily-paper-newsletter @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
62 symbols 128 edges 18 files 13 documented · 21%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Daily Newsletter for 🤗 Daily Papers

Click to - Subscribe Newsletter

This repository sends out a newsletter at 0 20 * * * collected from 🤗 Daily Papers to the subscribers. If you want to subscribe, please join the newsletter group.

Everything is automated via GitHub Action, so no paid maintanance at all.

How this works?

This whole project works in 2 steps broadly in the perspective of GitHub Action workflow.

  1. collect papers

    1. Download the metadata of daily papers from 🤗 Daily Papers API Endpoint. The target date is the yesterday since it is unclear when the full list of daily paper is fully updated. The target date is dynamically calculated via date command.
    2. Run go run main.go parse command to (1) parse the downloaded the metadata file (JSON), (2) generate summaries and categories/tags of each paper via Gemini 2.5 Flash API, and (3) generate reformatted yaml file for each paper which is suitable for newsletter program. Each yaml file will be stored inside the current directory.
  2. send newsletter

    1. Grasp all the yaml files from the current directory.
    2. Fill in the email HTML template with the contents from the yaml files.
    3. Send out email to the receivers which are specified in the config.yaml file.
    4. Clean up the current directory.

Both summaries and categorization tags are generated by Google's Gemini 2.5 Flash model. This provides fast and accurate paper analysis with a single API provider.

Appearance

419870850_10226366978386165_3334941753134294582_n

Todos

  • [X] Auto Translation to other languages (first target -> Korean)

Core symbols most depended-on inside this repo

fallbackDailyInsight
called by 5
src/internal/gemini.go
createDirIfNotExist
called by 4
src/internal/archive.go
fallbackSummary
called by 4
src/internal/gemini.go
parseTemplate
called by 2
src/internal/email.go
GetSequenceNumberFromDirs
called by 1
src/internal/archive.go
GetTemplatesInDir
called by 1
src/internal/templ_filler.go
parseSummaryResponse
called by 1
src/internal/gemini.go
parseDailyInsightResponse
called by 1
src/internal/gemini.go

Shape

Function 38
Struct 19
Method 5

Languages

Go97%
Python3%

Modules by API surface

src/internal/email.go13 symbols
src/cmd/parse.go8 symbols
src/internal/gemini.go7 symbols
src/internal/newsletter.go4 symbols
src/internal/configs.go4 symbols
src/internal/archive.go4 symbols
src/internal/utils.go3 symbols
src/internal/solar.go3 symbols
src/internal/poster.go3 symbols
src/internal/templ_filler.go2 symbols
src/internal/parser.go2 symbols
src/cmd/root.go2 symbols

For agents

$ claude mcp add hf-daily-paper-newsletter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page