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

metya 3df67c6e2d refactor(linter): ignore some mypy warnings 2 年之前
.github-not_work_yet 01526d03b4 feat: add bot's business-logic files 4 年之前
assets 4e84fdb9b7 feat: add docker-compose and update README 4 年之前
.gitignore c091e6e798 --amend 2 年之前
.pre-commit-config.yaml 3ebc071159 --amend 2 年之前
CHANGELOG.md 569fd05bbf feat: add docker files for convinient deploy 4 年之前
Dockerfile 2427cb0f35 feat: add paper summarizer 2 年之前
Dockerfile-poetry 569fd05bbf feat: add docker files for convinient deploy 4 年之前
README.md 4e84fdb9b7 feat: add docker-compose and update README 4 年之前
config.py 2427cb0f35 feat: add paper summarizer 2 年之前
develop.yml 2427cb0f35 feat: add paper summarizer 2 年之前
dialog.py 3df67c6e2d refactor(linter): ignore some mypy warnings 2 年之前
docker-compose.yaml 2427cb0f35 feat: add paper summarizer 2 年之前
poetry.lock 3a2587065d build(deps): bump certifi from 2020.12.5 to 2022.12.7 3 年之前
pyproject.toml 2427cb0f35 feat: add paper summarizer 2 年之前
requirements.txt 2427cb0f35 feat: add paper summarizer 2 年之前
summarize.py 2427cb0f35 feat: add paper summarizer 2 年之前
vanitybot.py 2427cb0f35 feat: add paper summarizer 2 年之前

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