2025-10-28 16:59:20 -04:00
2025-10-28 14:33:24 -04:00
2025-10-28 16:59:20 -04:00
2025-10-28 16:59:20 -04:00
2025-10-28 14:33:24 -04:00
2025-10-28 14:33:24 -04:00
2025-10-28 16:59:20 -04:00
2025-10-28 16:59:20 -04:00
2025-10-28 14:33:24 -04:00
2025-10-28 14:33:24 -04:00
2025-10-28 14:33:24 -04:00
2025-10-28 14:33:24 -04:00
2025-10-28 14:33:24 -04:00
2025-10-28 14:33:24 -04:00

Recipe-AI Web

This app takes a TikTok or Instagram share link, resolves it to a direct video, uploads the video to OpenAI, and asks the model to return only:

  • Ingredients
  • Prep steps
  • Cooking steps

It uses environment variables for keys and optional RapidAPI resolvers.

requires ffmpeg on server

Getting Started

  1. Create your environment file:
cp .env.example .env.local
# set OPENAI_API_KEY, and optional RAPIDAPI_* values
  1. Run the development server:
npm run dev

Open http://localhost:3000/recipe to use the analyzer.

API

  • POST /api/analyze with JSON body { "url": "<share link>" } returns { platform, analysis } where analysis contains ingredients, prep_steps, cooking_steps.

Notes

  • The app includes first-party scrapers for TikTok and Instagram (HTML parsing of embedded JSON/meta). No RapidAPI is required.
  • Resolution of direct video URLs is still best-effort; platforms change often. RapidAPI is optional as a fallback.
  • OpenAI costs apply for file uploads and analysis; keep videos short.
Description
No description provided
Readme 10 MiB
Languages
TypeScript 88.2%
Python 10.3%
JavaScript 0.8%
CSS 0.7%