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

metya eca4cb603e Merge pull request #9 from metya/dependabot/pip/pycares-4.2.0 3 سال پیش
.github-not_work_yet 01526d03b4 feat: add bot's business-logic files 4 سال پیش
assets 4e84fdb9b7 feat: add docker-compose and update README 4 سال پیش
.gitignore 4594cc74d6 feat: //WIP before пр actions 4 سال پیش
.pre-commit-config.yaml 01526d03b4 feat: add bot's business-logic files 4 سال پیش
CHANGELOG.md 569fd05bbf feat: add docker files for convinient deploy 4 سال پیش
Dockerfile 7f502e313c fix: fix dockerfile 4 سال پیش
Dockerfile-poetry 569fd05bbf feat: add docker files for convinient deploy 4 سال پیش
README.md 4e84fdb9b7 feat: add docker-compose and update README 4 سال پیش
config.py 4594cc74d6 feat: //WIP before пр actions 4 سال پیش
docker-compose.yaml 4e84fdb9b7 feat: add docker-compose and update README 4 سال پیش
pipchillreq.txt 4594cc74d6 feat: //WIP before пр actions 4 سال پیش
poetry.lock 83e320a2dd build(deps): bump pycares from 3.1.1 to 4.2.0 3 سال پیش
prod-requirements.txt 4594cc74d6 feat: //WIP before пр actions 4 سال پیش
pyproject.toml 82ed53781e build(deps): bump ujson from 5.1.0 to 5.2.0 3 سال پیش
requirements.txt 4594cc74d6 feat: //WIP before пр actions 4 سال پیش
vanitybot.py 2adc1d00b3 fix: fix spaces in descriptions 4 سال پیش

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