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

metya a720c5b690 Merge pull request #11 from metya/dependabot/github_actions/actions/checkout-3 %!s(int64=2) %!d(string=hai) anos
.github b4fcc6b902 :arrow_up: bump actions/checkout from 2 to 3 %!s(int64=2) %!d(string=hai) anos
assets 4e84fdb9b7 feat: add docker-compose and update README %!s(int64=4) %!d(string=hai) anos
.dockerignore 1603a690bb 🚧 build(docker): add cron and backup logic of db inside docker %!s(int64=2) %!d(string=hai) anos
.gitattributes 3709695f77 feat: add database and summarizer %!s(int64=2) %!d(string=hai) anos
.gitignore 6110da56d8 bump: version 0.2.0 → 1.0.0 %!s(int64=2) %!d(string=hai) anos
.pre-commit-config.yaml a68b0216ed ci(github-actions): add github actions %!s(int64=2) %!d(string=hai) anos
CHANGELOG.md 52ccaa3143 bump: version 1.0.1 → 1.0.2 %!s(int64=2) %!d(string=hai) anos
Dockerfile d55e470663 🛸 ci: final details in actions %!s(int64=2) %!d(string=hai) anos
README.md 4e84fdb9b7 feat: add docker-compose and update README %!s(int64=4) %!d(string=hai) anos
backup_db.sh d55e470663 🛸 ci: final details in actions %!s(int64=2) %!d(string=hai) anos
config.py 1603a690bb 🚧 build(docker): add cron and backup logic of db inside docker %!s(int64=2) %!d(string=hai) anos
db.py 1603a690bb 🚧 build(docker): add cron and backup logic of db inside docker %!s(int64=2) %!d(string=hai) anos
develop.yml a3842a16b2 🛸 ci: fix some details in actions %!s(int64=2) %!d(string=hai) anos
dialog.py 3709695f77 feat: add database and summarizer %!s(int64=2) %!d(string=hai) anos
docker-compose.yaml 1603a690bb 🚧 build(docker): add cron and backup logic of db inside docker %!s(int64=2) %!d(string=hai) anos
papers.db d55e470663 🛸 ci: final details in actions %!s(int64=2) %!d(string=hai) anos
progress.py 3709695f77 feat: add database and summarizer %!s(int64=2) %!d(string=hai) anos
pyproject.toml eea46e44a1 bump: version 1.0.2 → 1.0.3 %!s(int64=2) %!d(string=hai) anos
requirements.txt 3709695f77 feat: add database and summarizer %!s(int64=2) %!d(string=hai) anos
script.exp 1603a690bb 🚧 build(docker): add cron and backup logic of db inside docker %!s(int64=2) %!d(string=hai) anos
summarize.py 1603a690bb 🚧 build(docker): add cron and backup logic of db inside docker %!s(int64=2) %!d(string=hai) anos
vanitybot.py 1603a690bb 🚧 build(docker): add cron and backup logic of db inside docker %!s(int64=2) %!d(string=hai) anos

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

Ready to use bot: t.me/arxiv_vanity_bot

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 enviroments variable 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 disscuss arxiv papers and enjoy. Or use my bot t.me/arxiv_vanity_bot

Illustration