| Crates.io | telereads |
| lib.rs | telereads |
| version | 0.1.7 |
| created_at | 2018-10-24 09:06:33.994675+00 |
| updated_at | 2023-08-07 19:37:37.589897+00 |
| description | @TelereadsBot is an inline bot that allows you to search for books and quickly share them in a conversation. |
| homepage | |
| repository | https://github.com/harababurel/telereads |
| max_upload_size | |
| id | 92354 |
| size | 72,351 |
@TelereadsBot is an inline bot that allows you to search for books and quickly share them in a conversation.
![]()
![]()
You can deploy your own instance of this bot. You will need a few things:
Once you have both of these keys, you need to store them as environment variables:
$ export TELEGRAM_TOKEN="123456789:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
$ export GOODREADS_TOKEN="XXXXXXXXXXXXXXXXXXXX"
And then install and run TelereadsBot:
$ git clone https://github.com/harababurel/telereads.git
$ cd telereads
$ RUST_LOG=info cargo run --release
Aditionally, this repo includes a systemd service file (telereads.service) which can be used to deploy the bot. After setting the proper variables in the service file:
$ systemctl start telereads
$ cargo install telereads
$ RUST_LOG=info telereads
Contributions are welcome. You can also help by reporting or fixing bugs.