-
Notifications
You must be signed in to change notification settings - Fork 527
feat: Added Electron support, build for linux, mac and windows #196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
@dnviti @dviti-vargroup would you be able to resolve the conflicts here? |
Sadly i don't have much time right now, i will try to check those conflicts when i'll less busy. |
🎯 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
