Skip to content

Use structured generation to create .ics files based on text descriptions / emails.

License

Notifications You must be signed in to change notification settings

jrudoler/ics-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ics-generator

Use structured generation via outlines to create .ics files based on text descriptions / emails.

Note: Currently only supports CLI, with manual text input (or copy/paste)

Just a side project for me so not providing multi-OS support. I'm working on an Apple Silicon-based Mac. Requires an OpenAI API key but easily customizable to work with different models.

Installation

Recommended installation with poetry:

  1. Clone this repo
  2. Install poetry following these instructions.
  3. In the repo's root directory, run poetry install
  4. Add the "event" command to your path:
echo "export PATH=$PATH:<path-to-repo>/cli/" >> ~/.zshrc
  1. If using an OpenAI model (default) Define your OpenAI API key (OPENAI_API_KEY) as an environment variable:
echo "export OPENAI_API_KEY=<your-key-here>" >> ~/.zshrc
  1. Run source ~/.zshrc

Usage

On the command line, run event "<text describing event>" The program will generate a corresponding .ics file and open it using your default calendar app.

Example

Screen.Recording.2024-10-31.at.4.49.27.PM.mov

About

Use structured generation to create .ics files based on text descriptions / emails.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published