Proof of concept, just for fun, to stream ChatGPT conversation chunks back to the client through Turbo Streams.
- Create a ChatGPT API key and fund the account with a few dollars
- Create a Google OpenID client and populate the environment variables: GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET
- Set DEVELOPMENT_EMAIL to your Google email
- Visit
/logins/new
and sign in - Add your API key to
users/1/edit
./bin/setup
./bin/dev