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.
This whole project works in 2 steps broadly in the perspective of GitHub Action workflow.
-
- Download the metadat 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. - Run
go run main.go parse
command to (1) parse the downloaded the metadata file (JSON), (2) generate categories/tags of each paper via Gemini API, and (3) generate reformattedyaml
file for each paper which is suitable for newsletter program. Eachyaml
file will be stored inside thecurrent
directory.
- Download the metadat 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
-
- Grasp all the
yaml
files from thecurrent
directory. - Fill in the email HTML template with the contents from the
yaml
files. - Archiving each papers'
yaml
file under thearchive
directory - Generate markdown files based on the existing categories/tags. Add link of the corresponding archived paper
yaml
file to each markdown file. - Send out email to the receivers which are specified in the config.yaml file.
- Clean up the
current
directory.
- Grasp all the
Experimentally, summary of each paper is generated by Upstage 's SOLAR-10.7B-Instruct model. Since abstract is too long to be contained in an email, abstracts needed to be shrinken.
- Auto Translation to other languages (first target -> Korean)