Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PurpleGray/telegram-google-calendar-bot
Telegram bot for managing public google calendars for working chats. It has text recognition (by yandex api).
https://github.com/PurpleGray/telegram-google-calendar-bot
Last synced: 6 days ago
JSON representation
Telegram bot for managing public google calendars for working chats. It has text recognition (by yandex api).
- Host: GitHub
- URL: https://github.com/PurpleGray/telegram-google-calendar-bot
- Owner: PurpleGray
- Created: 2017-11-30T09:53:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-27T15:07:47.000Z (over 6 years ago)
- Last Synced: 2024-08-01T19:56:55.173Z (3 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# telegram-google-calendar-bot
Telegram bot for managing public google calendars for working chats. It has fluent text recognition (by yandex api or google itself).Consists of:
- Flask webserver (for tg webhooks + handling google oauth2 routine)
- PeeWee orm and sqlite to store user data
- telebot lib
- ouath2 client for google apiAlso because of oauth2 you should configure ssl certificate on your hosting machine (i've been using letsencrypt). Bot has been implemented to be hosted as an webapp under nginx or any other reverse-proxy web-server.
### Main use case:
Bot can be used by a group of people that are sharing google calendar between them to have actual
data about their time and employment. Main achievement of this bot over manual calendar control is the method of
interaction with calendar that bot can give you: after bot was invited in your chat, it should be configured
by one of the chat's administrators (bot should be attached to google calendar which will be used to work with).
After it any user from chat can write in private messages to bot about their plans in fluent form, examples:
"Tomorrow at 16:00 meeting in Starbucks", "From 20.01 to 25.01 on a business trip", "Today available by phone from 14:00 to 14:50"
and bot will correctly parse time markers & meaning of what you write and will add those events in attached G calendar.UPDATE:
In developing 2 years ago API of telegram and google calendar could greatly change over time, so do not consider this bot as
"BUILD-RUN-WORK DONE" solution.License
----MIT