/cron-ai

A natural language to cron expression generator

Primary LanguageTypeScript

Cron AI

Words to cron expression, using AI

Remove Background App

How it works

To generate cron expressions, this project uses OpenAI's text-davinci-003 model.

Running locally

Create a OpenAI account to get API key.

  1. Visit OpenAI to create an account.
  2. Click here to get your API key.

Storing API keys in .env.local

Create a .env.local file in the root of the project. And store your API key in it, as shown in the .env.local.example file.

Install dependencies:

pnpm install

Run the dev server:

pnpm dev

Open http://localhost:3000 with your browser to see the app running.