Skip to content

tsui66/gptea-github-news

Repository files navigation

ChatGPT Newsletter

AI newsletter via ChatGPT prompt for developers and startups.

GPTea News Portal

Technical Details

GPTea News Portal

Building your own custom ChatGPT involves four steps:

  1. Scrape newsletters data.
  2. Store embeddings in Postgres with pgvector.
  3. Perform vector similarity search to find the most relevant content to the question in the scraped newsletters data.
  4. Use the found content to generate text completion through OpenAI GPT-3.5/4 API and store results in Postgres database.

Local Development

Configuration

  • cp .env.example .env
  • Set your OPENAI_API_HOST in the newly created .env file.
  • Set your OPENAI_API_KEY in the newly created .env file.
  • Set your DATABASE_URL in the newly created .env file.
  • Set your DIRECT_URL in the newly created .env file.
  • Set your JWT_SECRET_KEY in the newly created .env file.
  • Set your NOVU_API_SECRET in the newly created .env file.

Start the Next.js App

In a new terminal window, run

pnpm dev

Deploy

Deploy with Vercel

Credits

  • It would not be achievable without OpenAI's ChatGPT.

About

Get AI newsletter recommendations tailored to developers and startups using ChatGPT prompt.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published