kinivi / calendar-ai-gpt

Calendar AI based on custom ChatGPT | Notion and Google Calendar integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CC BY-NC-SA 4.0 Python 3.10+

Medium


📖 Check the Tutorial 📖

Calendar-ai-gpt

Calendar AI is a toolbox to create your time-managment assistant using CustomGPT funcitonality of ChatGPT Plus. It designed to integrate Google Calendar and Notion without any third-party apps.
This project enables users to read and create events in Google Calendar, manage Notion pages and databases, and perform a variety of actions to streamline their scheduling and note-taking processes.

Features

Features

Getting Started

Setting-up the CustomGPT

Go to GPTs and start creation process. Copy instructions from instructions.md and paste them into the CustomGPT field.

Prerequisites

  • Python 3.10+
  • Pipenv or Conda for managing project dependencies
  • Google Cloud Platform account with access to the Calendar API
  • Notion integration token

Installation

  1. Clone the repository:
git clone https://github.com/yourgithubusername/calendar-ai.git
cd calendar-ai
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the root directory of the project and add your Notion integration token:
NOTION_TOKEN='your_notion_token_here'
  1. Set up Google Calendar API credentials:
    • Visit the Google Developers Console.
    • Create a new project and enable the Google Calendar API.
    • Configure the OAuth consent screen.
    • Create credentials (OAuth client ID) and download the JSON file.
    • Rename the downloaded file to credentials.json and place it in the root directory of your project.

Running the Server

To run the Calendar AI API server locally, use the following command:

python api.py

This command starts a local server on port 5000. To make your API accessible over the internet, you can use an HTTPS proxy like localtunnel:

lt --port 5000 --subdomain your-creative-proxy-address

Replace your-creative-proxy-address with a unique subdomain name for your project.

Contributing

Welcome contributions or any possible collaboraitions on to the Calendar AI project or other projects.

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

About

Calendar AI based on custom ChatGPT | Notion and Google Calendar integration

License:Other


Languages

Language:Python 100.0%