Crave of the Day

Crave of the day

Check out the website!

Follow the twitter bot!


Crave of the day is a website and twitter bot that posts a new snack every day. It uses AI to generate the new snacks.

Tech Stack


Snack Generation

A list of snacks is generated using the `scripts/generateMonth.ts script. This script

  1. Generates a list of snacks using gpt-4 and OpenAI function feature
  2. Generates an image for each snack using DALL·E 2 and downloads it to the public/img folder
  3. Generates a recipe for each snack using gpt-3
  4. Stores the list in content/snacks/<Month>.json




  1. Clone the repository
  2. Install dependencies with yarn install

Running the development server

yarn dev

Building for production

yarn build