This bot enables you to manage your Google Calendar from Telegram with text thanks to the power of GPT.
- Create a new Google Cloud Platform (GCP) project
- You will need to enable the “Google Calendar API” for your project in order to use the API. You can do this by navigating to the Google Calendar API page and clicking “Enable”.
- Configure the OAuth consent screen
- Create a OAuth client ID credential and download the
config.json
file - Place config.json in
infrastructure/function_services/creds/config.json
- Run file get_credentials.py
- Follow the instructions in the file
- Install docker and docker-compose
- Copy .env.dist to .env and fill in the variables (BOT_TOKEN, OPENAI_API_KEY)
- Run
docker-compose up -d