shvgn / work-schedule-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Work Schedule Bot

This is a telegram bot aimed to fill time in work schedule spreadsheet in Google Docs. This is specific solution that saved my time and calmness.

Deployment

My name is hardcoded. Not very 12-factor, but I had no reason to parametrize it yet.

The bot expects SPREADSHEET_ID in env. Also it is useful to set timezone with TZ env variable.

Also, the bot expects the following secrets in files:

secrets/
├── credentials.json    # google account credentials to access Spreadsheet API
└── telegram_token      # text file with the token of your telegram bot

In provided docker file, the full path of secrets dir must be /data/secrets.

Liscence

MIT

About


Languages

Language:Go 92.3%Language:Dockerfile 7.7%