Skip to content

daichi-629/eprint-bot

Repository files navigation

Cryptology ePrint RSS Summarizer Bot 📢🤖

A Python-based automation bot that monitors the IACR Cryptology ePrint Archive RSS feed, summarizes academic paper abstracts using an LLM, and posts consolidated notifications to Discord.

✨ Features

  • Consolidated Posts: Aggregates new papers to avoid spamming the Discord channel.
  • OpenAI-Compatible API: Works natively with OpenAI, DeepSeek, Gemini, or local LLMs.
  • Date-filtered First Run: Prevents bulk LLM API costs on first startup.
  • State Persistence: Remembers processed papers in state.json.

🚀 Setup & Execution

1. Configure Environment

Copy .env.example to .env and fill in your keys:

cp .env.example .env

2. Run with uv

Ensure you have uv installed, then run:

# Run the bot
uv run eprint_bot.py

# Run unit tests
uv run test_eprint_bot.py

(Or fall back to: pip install -r requirements.txt && python3 eprint_bot.py)


🐳 Running with Docker

You can run the bot in persistent Daemon Mode:

docker compose up -d
  • Logs can be checked via docker compose logs -f
  • The state is persisted in ./data/state.json

📄 License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors