You can access ChatGPT through various methods, including the website, third-party programs, mobile apps, and even Siri shortcuts. Now, a new Java-based app called JavaGPT allows you to directly communicate with the AI on any version of Windows, from Windows 98 to Windows 11.
JavaGPT offers a simple and clean graphical user interface where you can type your questions and requests, and receive the responses— all on the same screen.
Available on GitHub, JavaGPT works similarly to the ChatGPT website. Responses are generated in real time, and each chat is automatically saved so you can review and load all your previous conversations. You can even save your chats as text-based Java JSON files, allowing you to read them in any text editor, such as Notepad.
Your chats are automatically named, but you also have the option to manually name each one if you prefer. If you have already conducted several conversations with ChatGPT or other services, you can export your prompts and import them into JavaGPT. Additionally, you can switch between normal view and HTML view for easier readability of the chat text.
With all the excitement surrounding ChatGPT and AI chatbots, many developers have been taking advantage of this new trend. They have incorporated access to the AI into their own chat apps and services. OpenAI, the creator of ChatGPT, actually encourages this process by providing free API keys that you can easily copy and paste to utilize the ChatGPT AI.
How to use JavaGPT
First, download and install the Java Runtime Environment for Windows if you don't already have it. Next, go to the GitHub page for the latest release of JavaGPT and download the JavaGPT zip file.
You will need an API key to communicate with ChatGPT. Visit the OpenAI platform page and create a new account or log in to your existing account. Click the "Create new secret key" button, followed by the "Create secret key" button in the popup window. The key will appear in the text file. Click the "Copy" button to copy the key.
Extract the contents of the JavaGPT zip file. Open the config.properties file in a text editor, such as Notepad. Look for the line "apikey=" and paste the API key you generated from ChatGPT after the equal sign. You are now ready to start chatting.
Launch the JavaGPT console by double-clicking the JavaGPT.jar file. At the bottom of the window, type the request or prompt you want to send to ChatGPT, then click "Submit". The response will appear.
Click "Reset" to write and submit a different prompt. Use the "Save chat" button to save the chat as a separate file. Use the "Import prompt" button to import a prompt from another source.
At the top of the window, click the "Load Chat" button to view your previous chats. Click on a specific chat to load it in the console window. You can also switch from Normal view to HTML view by selecting "HTML View" from the Options menu.
Adjust the window size by selecting "Form Size" and choosing between Large, Medium, or Small. To rename each chat, go to "Rename" and decide whether you want the chats to be automatically named or manually named with a title of your choice. Simply type the title. Finally, click "Delete" to remove the current chat.