In March 2022, the Guarantor's directive forced OpenAI to halt ChatGPT services in Italy. By April 11, the data privacy agency had outlined the necessary changes for OpenAI to relaunch ChatGPT in the country.
What chance to have fun with a new learning project, make fun of my country, and build a chatbot using the OpenAI API?
Of course, with a nice Italian interface.
Starting from the scaffold by JS Mastery from this YouTube tutorial, I then:
- Converted the client to React.
- Added Tailwind CSS and DaisyUI for the interface.
- Added Supabase authentication and logged in with a magic link.
- Log in with Google Account and Discord. ( ... TO DO )
- Added Account Management with profile picture.
- Added conversation autosave/autoload to/from local storage
- Added the possibility to load/save the conversation in a local JSON file.
- Added Select between GPT 3.5 or 4 and expose system instructions.
The server runs on Render.com and the client on Vercel at: https://my-gpt-ruby.vercel.app/ If it is not working, I shut down the server to save money.
If you want to see a better implementation, check out this repo by McKay Wrigley.