https://github.com/nilsding/dradiwabo
A Telegram bot for notifying you about nice deals of a certain web site
https://github.com/nilsding/dradiwabo
bad-dragon crystal telegram-bot
Last synced: 12 months ago
JSON representation
A Telegram bot for notifying you about nice deals of a certain web site
- Host: GitHub
- URL: https://github.com/nilsding/dradiwabo
- Owner: nilsding
- License: mit
- Created: 2018-09-16T18:38:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-14T19:24:27.000Z (almost 7 years ago)
- Last Synced: 2025-02-06T13:51:33.743Z (about 1 year ago)
- Topics: bad-dragon, crystal, telegram-bot
- Language: Crystal
- Homepage: https://t.me/DragonDickWatchbot
- Size: 42 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# DraDiWaBo
[](https://semaphoreci.com/nilsding/dradiwabo)
This is a Telegram bot which periodically checks Bad Dragon's clearance
section for nice deals. Or something like that.
## Installation
### Dependencies
* Crystal 0.26.1
* Redis
* `openssl-devel`
### Compiling
Since it's Crystal...
```sh
shards build
```
## Usage
Server side:
```sh
# set the telegram token in ENV
export TELEGRAM_API_TOKEN=some.token
# start the bot
./bin/DragonDickWatchbot start
# check the clearance section and notify interested users
./bin/DragonDickWatchbot notify
# start the workers which send the notifications to the users
./bin/DragonDickWatchbot worker -q send_notification,1 -q notify,1
# (optional) start a web UI to see the worker status
WEB_SESSION_SECRET=heast ./bin/DragonDickWatchbot web
```
Telegram side:
```
Start the bot:
/start
Add a new toy to your watchlist:
/addWatch nova extralarge
Remove a toy from your watchlist:
/removeWatch nova small
Display a list of commands:
/help
```
## Development
¯\\\_(ツ)\_/¯
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Contributors
- [nilsding](https://github.com/nilsding) Georg Gadinger - creator, maintainer