Provides a quick and simple PHP and HTML front-end to OpenAI's ChatGPT.
- A functional web server with PHP 5.4.0 or above
- Composer
- An OpenAI API key
Copy all files to a web server with PHP support
Run composer install
in the directory you copied the files to.
In chat.php
replace YOUR API KEY
with your OpenAI API key.
Open index.html
in your web browser.