https://github.com/rsheremeta/read-adviser-bot
A Telegram Bot which consumes/stores/gives articles for you to read
https://github.com/rsheremeta/read-adviser-bot
bot go golang telegram telegram-bot telegram-bot-api
Last synced: 14 days ago
JSON representation
A Telegram Bot which consumes/stores/gives articles for you to read
- Host: GitHub
- URL: https://github.com/rsheremeta/read-adviser-bot
- Owner: RSheremeta
- Created: 2023-04-12T15:35:31.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-12T17:58:48.000Z (about 3 years ago)
- Last Synced: 2025-02-26T19:41:09.707Z (over 1 year ago)
- Topics: bot, go, golang, telegram, telegram-bot, telegram-bot-api
- Language: Go
- Homepage:
- Size: 78.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# read-adviser-bot
A Telegram Bot which consumes/stores/gives the pages for you to read
---
### FAQ
Available commands:
- /start
- /help
- /rnd (pick a random link from the saved list)
**Important:**
Picking up links is a one-time action!
If you make the Bot to pick any link for you, this link will be removed from the storage immediately.
### Usage
1. Get (or retrieve created) the Telegram Bot token value.
2. Set it as an env variable called `TG_TOKEN`.
3. There are 3 ways in order to run the Telegram Bot service:
- ```make start-sqlite``` command in terminal (uses sqlite as a storage source)
- ```make start-files``` command in terminal (uses Gob encoded in files as a storage source)
- just ```make start``` (uses **sqlite** by default)
Hint: the `make` commands do build the binary and run the service whenever you invoke any of it, but you can also use a pre-built one [here](https://github.com/RSheremeta/read-adviser-bot/tags)
### Demo
