Coder Social home page Coder Social logo

composio-todo-to-calendar's Introduction

Todo to Calendar Converter

This Python script allows you to easily convert roughly written todo items into Google Calendar events. It leverages the power of Composio, an open-source command-line tool for developers, to automate the process of creating calendar events based on your todo descriptions.

Screenshot from 2024-05-20 18-29-03

Installation

  1. Clone the repository:

    git clone https://github.com/anonthedev/composio-todo-to-calendar.git
    
  2. Go to the cloned repo:

    cd composio-todo-to-calendar
    
  3. Adding API keys

    Create a .env file and add the API keys there.

    Composio API key can be found here - https://app.composio.dev/settings

    OPENAI_API_KEY=sk-
    COMPOSIO_API_KEY=
    

Setup Project

  1. Setup Virtual env

    python3 -m venv env
    
    source env/bin/activate
    
  2. Give execute permission to setup.sh file

    chmod +x ./setup.sh
    
  3. Run the setup.sh file

    Make sure you have python dev essentials installed in your device as chromadb needs it.

    ./setup.sh
    

Usage

  1. Edit your todos:

    Open the main.py file and edit the todos list with your desired todo items in the format start_time - end_time -> description. For example:

    todos = '''
        9AM - 11AM -> Work on project X,
        1PM - 3PM -> Gaming,
        # Add more todos here
    '''
  2. Run the file:

    python main.py
    

composio-todo-to-calendar's People

Contributors

anonthedev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.