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

metya 3709695f77 feat: add database and summarizer hace 2 años
.github-not_work_yet 01526d03b4 feat: add bot's business-logic files hace 4 años
assets 4e84fdb9b7 feat: add docker-compose and update README hace 4 años
.dockerignore 18d677cef4 build(docker): add .dockerignore hace 2 años
.gitattributes 3709695f77 feat: add database and summarizer hace 2 años
.gitignore c091e6e798 --amend hace 2 años
.pre-commit-config.yaml 3ebc071159 --amend hace 2 años
CHANGELOG.md 3709695f77 feat: add database and summarizer hace 2 años
Dockerfile 3709695f77 feat: add database and summarizer hace 2 años
README.md 4e84fdb9b7 feat: add docker-compose and update README hace 4 años
config.py 3709695f77 feat: add database and summarizer hace 2 años
db.py 3709695f77 feat: add database and summarizer hace 2 años
develop.yml 3709695f77 feat: add database and summarizer hace 2 años
dialog.py 3709695f77 feat: add database and summarizer hace 2 años
docker-compose.yaml 2427cb0f35 feat: add paper summarizer hace 2 años
papers.db 3709695f77 feat: add database and summarizer hace 2 años
progress.py 3709695f77 feat: add database and summarizer hace 2 años
pyproject.toml 32c23b4512 refactor(Delete-poetry-for-fuck-sake): Delete poetry for fuck sake hace 2 años
requirements.txt 3709695f77 feat: add database and summarizer hace 2 años
summarize.py 3709695f77 feat: add database and summarizer hace 2 años
vanitybot.py 3709695f77 feat: add database and summarizer hace 2 años

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