Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.38 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.38 KB

gpt-html

GPT website generator

About

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.

Usage

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.

License

Licensed under either of

at your option.