Skip to content

A delightful cross-platform desktop chat application powered by AI, built with ๐Ÿ’– using Electron, Flask, and the magic of LLMs!

License

Notifications You must be signed in to change notification settings

NacreousDawn596/LLMchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽ€ LLMchat - Your AI Desktop Companion

App Screenshot

A delightful cross-platform desktop chat application powered by AI, built with ๐Ÿ’– using Electron, Flask, and the magic of LLMs!

โœจ Features

  • ๐Ÿง  AI-Powered Conversations (GPT-4o, GPT-3.5, Claude, and more!)
  • ๐ŸŒ Web Search Integration for enhanced responses
  • ๐Ÿ”„ Response Regeneration with version history
  • ๐ŸŽจ Sleek Glassmorphism UI with dark mode
  • ๐Ÿ“š Session History persistence
  • โšก Real-time Streaming responses
  • ๐Ÿ–ฑ๏ธ Context Menu Actions (Copy/Regenerate)
  • ๐Ÿ“ฑ Responsive Design for all screen sizes
  • ๐Ÿ”ง Model Configuration on the fly

๐Ÿš€ Quick Start

Prerequisites

  • Python 3.9+
  • Node.js 16+
  • npm

Installation

  1. Clone the repository
git clone https://github.com/NacreousDawn596/LLMchat.git
cd LLMchat
  1. Install Node.js and PIP dependencies
npm install
pip install --user -r requirements.txt
  1. Start the application
npm start

๐ŸŒˆ Usage

  • ๐Ÿ’ฌ Type your message and press Enter
  • ๐Ÿ” Toggle web search with the switch
  • โš™๏ธ Select different AI models from the dropdown

๐Ÿงฉ Tech Stack

Frontend

๐ŸŽ€ Electron | ๐ŸŽจ Tailwind CSS | ๐Ÿ’ซ JavaScript

Backend

๐Ÿ Flask | ๐Ÿง  gpt4free

Utilities

๐Ÿ”Œ IPC Communication | ๐Ÿ“ฆ Process Management | ๐Ÿ—ƒ๏ธ Session Storage

๐Ÿ“‚ Project Structure

LLMchat/
โ”œโ”€โ”€ main.py            # Flask backend
โ”œโ”€โ”€ app.js             # Electron main process
โ”œโ”€โ”€ preload.js         # Electron preload script
โ”œโ”€โ”€ main.js            # Renderer process
โ”œโ”€โ”€ style.css          # Main styles
โ”œโ”€โ”€ index.html         # Main window
โ””โ”€โ”€ requirements.txt   # Python dependencies

๐Ÿค Contributing

We ๐Ÿ’– contributions! Here's how to help:

  • Fork the project

  • Create your feature branch (git checkout -b feature/AmazingFeature)

  • Commit your changes (git commit -m 'Add some AmazingFeature')

  • Push to the branch (git push origin feature/AmazingFeature)

  • Open a Pull Request

๐Ÿ“œ License

Distributed under the MIT License. See LICENSE for more information.

๐ŸŒŸ Acknowledgments

  • gpt4free for the AI magic
  • Electron community for awesome desktop app framework
  • Flask for simple yet powerful backend
  • You, for being awesome! ๐Ÿ˜Š

Made with โœจ๐Ÿฆ„๐Ÿ”ฎ by NacreousDawn596 - Because every desktop deserves some AI magic!

About

A delightful cross-platform desktop chat application powered by AI, built with ๐Ÿ’– using Electron, Flask, and the magic of LLMs!

Topics

Resources

License

Stars

Watchers

Forks