feat: Linux .deb packaging with GTK tray (Ubuntu/Debian)#992
feat: Linux .deb packaging with GTK tray (Ubuntu/Debian)#992TowsifAhamed wants to merge 2 commits into
Conversation
…Claude - Add Scripts/package_deb.sh to build a .deb for x86_64/arm64 - Add bin/codexbar-tray: Python GTK3+WebKit2 system tray daemon for Linux - Shows only Claude, Codex, Cursor tabs - Serves dashboard at localhost:8081 - Fetches Claude from Swift serve (port 8080); Codex/Cursor via sidecar - Add bin/codexbar-linux-fetcher: Python sidecar for cookie/token-based providers - Codex: auto-reads access_token from ~/.codex/auth.json (codex login) - Cursor: reads WorkosCursorSessionToken from ~/.codexbar/config.json - Handles Chrome 127+ app-bound encryption limitation with clear error messages - Add Sources/CodexBarCLI/CLIWebUI.swift: embedded HTML dashboard served at / - Update CLIServeCommand.swift: add / and /index.html routes serving CLIWebUI - Add .github/workflows/release-deb.yml: CI workflow to build and publish .deb - Update README with Linux .deb install instructions
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8fe3071921
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
- Change matrix asset-arch from x86_64 to x86-64 to match ELF file output on Ubuntu, unblocking the linux-x64 CI job - Replace falsy or-chain with _first_not_none helper so apiPercentUsed and autoPercentUsed of 0 are preserved instead of dropped
|
Thanks for the substantial Linux work. I am closing this PR because the current branch is not a safe or focused extension of CodexBar's Linux CLI surface. It combines several independently large products and maintenance commitments:
At 3,283 added lines, this would create a parallel desktop application and authentication path beside the Swift macOS app and Swift CLI. It also needs independent security review, packaging ownership, provider parity, and long-term GTK/Python support. Useful pieces can still return as focused proposals, especially Linux CLI fixes or packaging for the existing Swift CLI. A new tray application should first establish an explicit cross-platform product direction and architecture rather than landing as one repository-wide feature branch. Thank you for exploring the space. |
Summary
.debpackage for Ubuntu/Debian (x86_64 + arm64) built byScripts/package_deb.shbin/codexbar-tray: Python GTK3 system tray daemon showing Claude, Codex, Cursorbin/codexbar-linux-fetcher: sidecar for token-based providers on Linux~/.codex/auth.json(written bycodex login)claudeCLI sessionWorkosCursorSessionTokenin~/.codexbar/config.json(Chrome 127+ app-bound encryption blocks automatic access)CLIWebUI.swiftwith embedded HTML dashboard served at/.debon release