feat: Added Electron support, build for linux, mac and windows#196
Open
dnviti wants to merge 12 commits intositeboon:mainfrom
Open
feat: Added Electron support, build for linux, mac and windows#196dnviti wants to merge 12 commits intositeboon:mainfrom
dnviti wants to merge 12 commits intositeboon:mainfrom
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces comprehensive Electron desktop application support to Claude Code UI, transforming it from a web-only application into a cross-platform native desktop app with automated build and distribution capabilities.
- Adds complete Electron wrapper with proper server lifecycle management and native desktop integration
- Implements cross-platform build system for Linux, Windows, and macOS with multiple distribution formats
- Includes Flatpak support with comprehensive manifest and GitHub Actions CI/CD pipeline
Reviewed Changes
Copilot reviewed 12 out of 20 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| server/database/db.js | Enhanced SQLite path handling for packaged applications using user config directory |
| package.json | Complete Electron configuration with build scripts, metadata, and cross-platform distribution settings |
| electron.js | Main Electron process managing app lifecycle, window creation, and server startup |
| Makefile | Comprehensive build automation system with targets for all platforms and package formats |
| flatpak/ | Complete Flatpak packaging with manifest, desktop integration, and metadata |
| .github/workflows/release.yml | Automated CI/CD pipeline for building and releasing all platform packages |
| README.md | Updated documentation with Electron installation and build instructions |
| ELECTRON_SETUP.md | Detailed Electron setup and troubleshooting guide |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Log server stderr output for easier debugging
Contributor
|
@dnviti @dviti-vargroup would you be able to resolve the conflicts here? |
Author
|
Sadly i don't have much time right now, i will try to check those conflicts when i'll less busy. |
| "author": "Claude Code UI Contributors", | ||
| "author": { | ||
| "name": "Claude Code UI Contributors", | ||
| "email": "contributors@claudecodeui.com" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Add Electron Desktop Application Support
Summary
This PR introduces full Electron support to Claude Code UI, transforming it from a web-only application into a cross-platform desktop application that can be distributed as native binaries for Linux, macOS, and Windows.
What's Changed
electron.js) with proper server lifecycle management.ico,.icns,.png) for proper OS integrationELECTRON_SETUP.md) and Flatpak build instructionsTechnical Details
Testing
Breaking Changes
None - The web version continues to work as before. Electron support is additive.
Checklist
Screenshots
The application now runs as a native desktop app with system tray integration and native menus
