crystowl-nest
crystowl-nest
Crystowl-Nest is a telegram bot which implements a shopping list.
Installation
Install crystal, download the repository and then execute the following commands in the folder:
shards install
crystal build src/crystowl-nest.cr
Usage
Run the program using:
./crystowl-nest XXX:XXX CONFIG_NAME
Replace XXX:XXX
with the Telegram bot API key and CONFIG_NAME
with the name of your configuration.
Make also sure to create a whitelist with the following content:
---
content:
XXXXXXXXX : true
YYYYYYYYY : true
Save it as whitelist_CONFIG_NAME.yml
in a folder called configs
.
Here, XXXXXXXXX
and YYYYYYYYY
are Telegram user IDs of users you want to allow access to the bot. You can get these IDs by sending a /register
command to the bot and checking the command line standard output.
Currently, the bot texts are written in German. To translate them, edit them in src/crystowl-nest.cr
to your liking.
Features:
- Shopping list creator
- Whitelist
- Checklist
- Cache
Contributing
- Fork it (https://github.com/Hadeweka/crystowl-nest/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Hadeweka - creator and maintainer
crystowl-nest
- 0
- 0
- 0
- 0
- 1
- over 4 years ago
- June 24, 2020
MIT License
Mon, 18 Nov 2024 02:35:03 GMT