Skip to content

andromedarabbit/readwise_telegram_bot

 
 

Repository files navigation

build dockerimage

Telegram Bot for ReadWise

Telegram bot for https://readwise.io

How to Run?

pip install -r ./requirements.txt
python ./app.py

You can deploy this bot anywhere.

How It Works?

sequenceDiagram
    User->>+TelegramBot: Forwards post to highlight it
    TelegramBot->>+ReadWise API: Using ReadWise API token sends post text and link to the ReadWise
    TelegramBot-->>-User: Responses "Message from channel was highlighted"
Loading

Features

  1. Forward post from someone or some channel in Telegram and this bot will the post to the ReadWise Reader.
  2. Add a commentary to the forwarded post to send text and link (and the first link in the post itself) to ReadWise.

Security considerations

  1. To make this bot work you have to provide to the bot ReadWise API token.
  2. Because I don't want to store your tokens, you have to set up a separate bot for yourself.
  3. From my perspective Telegram Bot API doesn't provide secure way to store sensitive data, that is why you have to create your own bot.

About

Bot for integration with https://readwise.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.8%
  • Dockerfile 5.2%
  • Shell 2.0%