A Java GUI that interfaces ChatGPT API.
- Chat Streaming
- Just like the website, responses will generate in real time
- You can terminate a response while it is in progress
- Chat History
- See and interact with previous chats
- Saves chats as .json for easy external modification and viewing
- Accessible through the "Load Chat" button
- Chat Titles
- Autogenerate titles like ChatGPT website
- Manually name chats if preferred
- Revert Chats
- Be able to void previous prompts and responses from chat
- You can revert multiple times
- Proxy Support
- Supports SOCKS and HTTP proxies
- Easily configurable via config.properties
- HTML Viewer
- View your chat content in HTML
- Supports Markdown Language syntax
- Import premade prompts
- Save chats to file
- Support for ChatGPT 4, and 3.5 models
- Cross platform
To get started download the latest release.
Afterwords, extract the archieve
Then open the config.properties file in a text editor
Add your ChatGPT API-Key on line 4 after "apikey="
Run JavaGPT.jar and enjoy! 😁
apikey=ENTER_CHAT_GPT_API_KEY_HERE
model=gpt-3.5-turbo #Model used for ChatGPT Client (Supported Models: gpt-4, gpt-3.5-turbo, etc) > All supported models here "https://platform.openai.com/docs/models/gpt-3-5"
maxTokens=1024 #Max ammount of tokens allowed per ChatGPT API request
timeout=30 #Adjust allowed wait time for prompt response from ChatGPT API
proxyip= #Proxy IP
proxyport= #Proxy port number
proxytype= #Options: SOCKS,HTTP,HTTPS
autotitle=true #Adjusts wether new chats will automatically generate file name titles based on the context of the chat
autoscroll=true #Adjusts wether chat will scroll as new text is added
EnterToSubmit=true #Adjusts wether the Enter key should be used to submit or to create new lines
chat_history= #Adjust wether chats will save automatically
chat_location_override= #Overrides default "chat_history" folder path (Original path is set to the location of the jar file on runtime)
WindowSize= #Adjusts JFrame (Window) size. Options: small,medium,large (Set to "medium" by default)
FontSize= #Adjusts font size of chat content
Theme=dark #Themes JFrame (Window) to set config. Options: dark,light
- Java 8 or higher
If your on a legacy Windows system such as 98, ME, 2000, and XP, there are additional steps involved to get Java 8 to run properly.
I made a guide on how to get Java 8 to run on these various OSs in a reddit thread. Link can be found here.
If you enjoy JavaGPT and would like to support me in future updates and projects, please feel free to show your support by buying me a ☕
Also, shoutout to TheoKanning and his contributors for making OpenAI-Java : A ChatGPT API wrapper for Java
Made my life much easier 😁👍