Site icon Android Tutorial Online

An extensible GUI ChatGPT toolbox

An extensible GUI ChatGPT toolbox

chtgpttlbx

Overview

Please keep in mind that this a work in progress.

This is a GUI ChatGPT toolbox, which is meant to make performing the same operations over and over as simple as possible. It’s feature set is currently quite limited, but can easily be expanded by third-party contributions through its easy to use programming interface – so feel free to make a merge request, if you are missing a tool.

Prebuilt installers for Windows (.exe), Linux (.deb) and macOS (.dmg) can be found under Releases.

Tools

Dependencies

I generally try to minimize dependencies, but I’m a one man crew and can therefore only support Debian-based Linux distributions as I’m running one myself. Anyway, you need to have the following packages installed for everything to work properly:

How to use it

Build the JAR via gladle clean standalone and then run it via java -jar build/libs/chtgpttlbx-1.0-standalone.jar. You will also need to enter your own OpenAI key on first launch, in order to start a chat and make requests. If you don’t already have one, you can get it from the OpenAI developer platform. Please keep in mind that the text and video summarizers are limited to 12.500 characters due to the context limitation of GPT-3.5-Turbo.

How to a commit a tool

This application was built with extensibility in mind, which makes adding new tools quite a breeze. Simply create a new class in /tools implementing the Tool abstract class and add a new entry to the ETool enum in /model. A good minimal example is the standard chat tool (StandardChat), but feel free to reach out, if you have questions or issues. Once the new tool is working and tested, open a merge request and it I will add it to the main project shortly.

How to build the native installers

Most of the needed information can be found in this excellent Baeldung article, this Nokoriware article and on the docs page of jpackage, but here we go. If you are on Windows, you first have to install Wix v3. If you are on Ubuntu, make sure to have fakeroot installed. Then build the JAR as described under How to use it. Finally execute one of these commands depending on your plattform to build the installer:

Credits

All ChatGPT related credits and copyright goes to OpenAI. The beautiful workbench image is courtesy of Hal Gatewood.

GitHub

View Github

Exit mobile version