Telegram bot for better & faster interaction with Clockify Timetable
Just search in Telegram Messenger for @clockify_bot
- Clone this repository:
$: git clone https://github.com/geexup/clockify-telegram-bot.git && cd ./clockify-telegram-bot
- Install dependencies:
$: npm i
OR
$: yarn
- Get mongoDB up and running
- Go to Bot Father (@BotFather) in Telegram and get your bot token
- Paste token into
BOT_TOKEN
insrc/environment/presets/dev.ts
- Run bot:
$: yarn dev
Here you can find ready images
To build docker image just execute this command:
$: docker build -t <IMAGE_TAG_NAME> .
Simple run:
docker run --cap-add=SYS_ADMIN --name clockify-bot geexup/clockify-telegram-bot
You can pass into container your own environment preset with bot token and mongoDB address as well:
docker run -it --cap-add=SYS_ADMIN \
-v <PATH_TO_CONFIG>:/srv/environment/presets/preset.js \
-e BOT_CURRENT_PRESET=<PRESET_NAME> \
geexup/clockify-telegram-bot
- Add tests
- Add state machine to scenes
- Add Google Authenticator for Admin proof