Bot for fetching snippet descriptions for arxiv.org and summarizing papers

metya 7b13f72f3a 🎉 feat: add time_out as an env variable 2 yıl önce
.github b84e9c0f38 :arrow_up: Bump actions/checkout from 3 to 4 2 yıl önce
assets 6c96eee6fe 🔧 refactor: clean up everything with folder structures 2 yıl önce
conda 24525a5945 🐛 fix(dialog): fix the behavior when in groups only one user can press the buttons 2 yıl önce
db 24525a5945 🐛 fix(dialog): fix the behavior when in groups only one user can press the buttons 2 yıl önce
docker 7b13f72f3a 🎉 feat: add time_out as an env variable 2 yıl önce
scripts b9d95c1a83 fix: fix backup 2 yıl önce
src 7b13f72f3a 🎉 feat: add time_out as an env variable 2 yıl önce
.dockerignore 6c96eee6fe 🔧 refactor: clean up everything with folder structures 2 yıl önce
.gitattributes 3709695f77 feat: add database and summarizer 2 yıl önce
.gitignore 6c96eee6fe 🔧 refactor: clean up everything with folder structures 2 yıl önce
.pre-commit-config.yaml a68b0216ed ci(github-actions): add github actions 2 yıl önce
CHANGELOG.md fd3b8ec123 bump: version 1.0.3 → 1.1.0 2 yıl önce
README.md 6c96eee6fe 🔧 refactor: clean up everything with folder structures 2 yıl önce
pyproject.toml fd3b8ec123 bump: version 1.0.3 → 1.1.0 2 yıl önce
requirements.txt 3709695f77 feat: add database and summarizer 2 yıl önce
vanitybot.py 24525a5945 🐛 fix(dialog): fix the behavior when in groups only one user can press the buttons 2 yıl önce

README.md

arxiv-vanity-bot for telegram

Telegram for some reason doesn't show snippets for links from arxiv.org site. This bot created to get work around of this problem. It is useful to having this bot in chats where you can share links from arxiv and bot will replying on that messages with some kind of snippets with title and description of paper and link to mobile friendly service for arxiv papers - arxiv-vanity.com

Also there is functionality of get summary of a paper with short highlights and findings. It is useful to get familiar with main findings of a paper and decide to read or not :)

Ready to use bot: https://t.me/arxiv_vanity_bot

TODO

Sometime I implement the functionality of getting Figures from a paper, because pictures is very important to understand what's going on :)

Installation

git clone https://github.com/metya/vanity-bot

After that create file in the root of repository with name "token" and put there text below

API_TOKEN=your_bot_token

And after that just

docker compose up -d

or use environment variables with compose instead of token file

docker-compose run -d -e API_TOKEN=your_bot_token bot

Usage

Add your bot in chat where you discuss arxiv papers and enjoy. Or use my bot https://t.me/arxiv_vanity_bot

Illustration