A website where the HTML content for any given request path is generated by GPT using the OpenAI API. Inspired by LiveOverflow's video building something similar.
The application is deployed at gpt.dtcristo.com but it is protected by HTTP Basic authentication. Please contact me directly if you want the credentials to try it out. Otherwise, get your own OpenAI API key from platform.openai.com and run it yourself.
Get an OpenAI API key. Run locally in Docker.
# Set OpenAI API key as environment variable.
export OPENAI_API_KEY="your_api_key_here"
# Build and run in Docker.
docker run --rm --env OPENAI_API_KEY --publish 8080:8080 "$(docker build --quiet .)"
Application live at localhost:8080.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT License (LICENSE-MIT)
at your option.