Skip to content

localgpt-toolbar is a lightweight, system-tray-based application that brings the power of OpenAI's language models to your desktop while keeping your data under your control. Built with PyQt6, it provides instant access to AI chat capabilities while maintaining all conversations and contexts in a local SQLite database.

Notifications You must be signed in to change notification settings

wtbates99/localgpt-toolbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localgpt-toolbar

Toolbar Chat is a chat application that uses OpenAI's API to answer questions. The idea is to have a chat window that can be accessed from the system tray, and stores the chat history in a database that is completely local to the user.

Features

  • Chat with OpenAI's API
  • Context manager
  • Search history
  • Settings

IMPORTANT: o series models are still in development.

Usage

Set your openapi key as an environment variable: export OPENAI_API_KEY=your_key

Make sure that you have python installed, then run the following command to install the dependencies: pip install -r requirements.txt

If on Linux, install the following dependencies: sudo apt install -y libxcb1 libxcb-xinerama0 libxcb-cursor0 libxkbcommon-x11-0 libxcb-render0 libxcb-render-util0

(optional) sudo apt install -y qt6-base-dev qt6-wayland libqt5x11extras5

To use the application, simply run the src/main.py file. The application will start in the system tray. You can then access the chat window by clicking the icon in the system tray.

Images

Here is what the toolbar icon looks like:

Toolbar Icon

Here is what the toolbar dropdown menu looks like:

Toolbar Dropdown Menu

Here is what the chat window looks like:

Chat Window

Here is what the context manager window looks like:

Context Manager Window

Here is what the search window looks like:

Search Window

Here is what the settings window looks like:

Settings Window

About

localgpt-toolbar is a lightweight, system-tray-based application that brings the power of OpenAI's language models to your desktop while keeping your data under your control. Built with PyQt6, it provides instant access to AI chat capabilities while maintaining all conversations and contexts in a local SQLite database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages