@AbstractExtractorBot
The main purpose of this bot is to find links to PubMed And Nature journals in group/private chats on Telegram, get their abstracts and reply with a Telegraph link, containing this summary of this text and it's translation to russian language. This could help to read and understand very fast what is paper about
- Clone this repo:
git clone https://github.com/Moldoteck/AbstractExtractorBot
- Launch the mongo database locally
- Create
.env
with the environment variables listed below - Add
google_api.json
file in the root folder and enable translate API in google console - Run
yarn install
in the root folder - Run
yarn develop
And you should be good to go! Feel free to fork and submit pull requests. Thanks!
TOKEN
— Telegram bot tokenMONGO
— URL of the mongo databaseSMMRY_TOKEN
— Token from SMMRY APITELEGRAPH_TOKEN
— Token from Telegraph APINATURE_TOKEN
— Token for Nature/Springer Api
Also, please, consider looking at .env.sample
.
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!
Inspired from https://github.com/backmeupplz/telegraf-template