An AI-powered content curator for AI Engineers.
-
Install Dependencies:
npm install
-
Configure Environment: Copy
.env.localand fill in your keys:OPENAI_API_KEY: For Hype Filtering.YOUTUBE_API_KEY: For fetching videos.RESEND_API_KEY: For sending emails.CRON_SECRET: A random string to secure the cron endpoint.
-
Run Development Server:
npm run dev
- Curator Engine:
src/lib/curator.ts- Orchestrates fetching and filtering. - Hype Filter:
src/lib/openai.ts- Uses GPT-4o-mini to score videos. - Cron Job:
src/app/api/cron/send-digest/route.ts- Triggered daily to send emails.
You can manually trigger the email by visiting:
http://localhost:3000/api/cron/send-digest
(Make sure to set the Authorization: Bearer <CRON_SECRET> header)