Skip to content

Cross-platform desktop app wrapper for self-hosted CompanyGPT

License

Notifications You must be signed in to change notification settings

innFactory/ai-chat-app

 
 

Repository files navigation

LibreChat UI

icon

Table of Contents

Overview

LibreChat UI is a native desktop application wrapper for self-hosted LibreChat instances, built using Electron. This application provides a convenient way to access your LibreChat instance directly from your desktop.

Features

  • Native desktop application for LibreChat
  • Keyboard shortcuts
    • cmd+n / ctrl+n to start a new chat
    • cmd+shift+a / ctrl+shift+a to to archive the current chat
  • Cross-platform support (for now it's just macOS, but feel free to request more OS support)
  • Easy access to self-hosted or managed LibreChat instances

Installation

Grab the executable from the Releases page or follow the instructions below to build the application yourself.

macOS

Get the latest version from releases page, open the .dmg file and drag the app to your Applications folder.

Due to current code signing configurations (or lack thereof) the macOS releases may trigger Gatekeeper warnings ("App is damaged" or "Unidentified developer").

If you encounter this:

  1. Move the app to your Applications folder. This is important.

  2. Open Terminal: Open the Terminal application on your Mac.

  3. Remove Quarantine Attribute: Run the following command in the Terminal, replacing /Applications/LibreChat UI.app with the actual path to the LibreChat UI application if you moved it elsewhere:

    xattr -d com.apple.quarantine "/Applications/LibreChat UI.app"
    • Note: xattr is a command-line tool for manipulating extended attributes of files. The com.apple.quarantine attribute is added to downloaded files as a security measure by macOS.
  4. Open the Application: You should now be able to open the application. You may still see a warning about the developer being unidentified, but you should be able to proceed.

Why is this necessary?

Ideally, the application would be properly code-signed to avoid these warnings. However, until code signing is fully configured in the automated build process, this workaround is required.

Manual Installation

Please follow instructions in Contributing to install the dependencies and then Create Distribution Package to build the executable locally on your machine.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Requirements

  • Node.js (version compatible with Electron 33.x)
  • npm or yarn

Clone the Repository

git clone https://github.com/leikoilja/librechat-ui.git
cd librechat-ui

Install Dependencies

yarn install

Development

Start the Application

yarn start

Create Distribution Package

yarn app:dist

Telemetry

This project is collecting anonymous usage data using openpanel to help improve the application by highlighting what OS the app is launched on as well as the version on the app.

## License

This project is licensed under the MIT License.

## Support

If you encounter any issues or have questions, please file an issue on the GitHub repository.

About

Cross-platform desktop app wrapper for self-hosted CompanyGPT

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 68.3%
  • HTML 31.7%