logankilpatrick/ChatGPT-Simple
Build a simple locally hosted version of ChatGPT in less than 100 lines of code
Provides a lightweight Flask web server that proxies requests to OpenAI's API, managing conversation context and API authentication through environment variables. Demonstrates prompt engineering and API integration patterns by exposing a chat interface that maintains multi-turn conversation state without requiring complex backend infrastructure.
364 stars. No commits in the last 6 months.
Stars
364
Forks
49
Language
HTML
License
MIT
Category
Last pushed
Apr 02, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/logankilpatrick/ChatGPT-Simple"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
jaanauati/react-dfp
A React implementation of the Google DFP/GPT api. https://react-dfp.surge.sh
KijijiCA/react-advertising
A JavaScript library for display ads in React applications.
googleads/google-publisher-tag-samples
Google Publisher Tag (GPT) code samples.
ichiroc/chatgpt2scratch
ChatGPT for Scratch
googleads/google-publisher-tag-playground
An interactive code playground for Google Publisher Tag (GPT) samples.