gptea-github-news
gptea-github-news copied to clipboard
Get AI newsletter recommendations tailored to developers and startups using ChatGPT prompt.
trafficstars
ChatGPT Newsletter
AI newsletter via ChatGPT prompt for developers and startups.

Technical Details

Building your own custom ChatGPT involves four steps:
- Scrape newsletters data.
- Store embeddings in Postgres with pgvector.
- Perform vector similarity search to find the most relevant content to the question in the scraped newsletters data.
- 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_HOSTin the newly created.envfile. - Set your
OPENAI_API_KEYin the newly created.envfile. - Set your
DATABASE_URLin the newly created.envfile. - Set your
DIRECT_URLin the newly created.envfile. - Set your
JWT_SECRET_KEYin the newly created.envfile. - Set your
NOVU_API_SECRETin the newly created.envfile.
Start the Next.js App
In a new terminal window, run
pnpm dev
Deploy
Credits
- It would not be achievable without OpenAI's ChatGPT.