Skip to content

Initialize JetVeil project with desktop and server components#13

Merged
kiyarose merged 21 commits intomainfrom
krr/rework
Apr 17, 2026
Merged

Initialize JetVeil project with desktop and server components#13
kiyarose merged 21 commits intomainfrom
krr/rework

Conversation

@kiyarose
Copy link
Copy Markdown
Member

This pull request introduces a major overhaul to JetVeil, shifting its focus to a desktop-first architecture with a local proxy server, and brings significant updates to the codebase, build system, and documentation. The most important changes are summarized below.

Desktop App Migration and Architecture Overhaul

  • Introduced a new Electron-based desktop application (desktop/main.js, desktop/package.json) that starts a local ScramJet proxy server on the user's device, launches the browser UI from the local server, and manages its lifecycle (including graceful shutdown). This replaces the previous web/PWA and remote-proxy-centric model. [1] [2]
  • Updated the project documentation (README.md) to reflect the new architecture, local development, and build instructions, and removed outdated deployment and web app instructions.

Project Cleanup and Removal of Legacy Infrastructure

  • Removed Cloudflare Pages and GitHub Pages redirect files (_redirects, docs/index.html, docs/404.html), as the project no longer relies on remote hosting for the web UI. [1] [2] [3]

Assets and UI Enhancements

  • Added a new multi-layered icon asset for the desktop app (assets/jetveilicon.icon/icon.json).
  • Improved the settings screen in the Flutter legacy code by adding an accent color preview and a description for the accent color picker. [1] [2]

Encoded references:
[1] [2] [3] [4] [5] [6] [7] [8] [9]

Resolves #7

kiyarose and others added 8 commits April 13, 2026 17:10
- Added desktop package.json for Electron app configuration.
- Created main package.json to manage scripts for both server and desktop.
- Introduced server package-lock.json with dependencies for the ScramJet proxy server.
@kiyarose kiyarose self-assigned this Apr 16, 2026
@kiyarose kiyarose added bug Something isn't working enhancement New feature or request labels Apr 16, 2026
@kiyarose kiyarose added the help wanted Extra attention is needed label Apr 16, 2026
@github-project-automation github-project-automation Bot moved this to Planning Phase in Product Launchpad Apr 16, 2026
@kiyarose kiyarose marked this pull request as ready for review April 16, 2026 04:04
Copilot AI review requested due to automatic review settings April 16, 2026 04:04
@kiyarose kiyarose marked this pull request as draft April 16, 2026 04:08
Copy link
Copy Markdown

Copilot AI left a 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 reorients JetVeil to a desktop-first architecture by introducing an Electron wrapper that boots a bundled local Scramjet/bare proxy server and serves a revamped local browser UI, while removing legacy web/PWA hosting artifacts.

Changes:

  • Added an Electron desktop app that starts/stops the local JetVeil server and loads the local UI.
  • Updated the server to support new asset/transport routes, local packaging, and added client/server debug logging surfaces.
  • Removed legacy web hosting/PWA files (Cloudflare/Vercel/GitHub Pages redirects) and updated documentation/build tooling.

Reviewed changes

Copilot reviewed 22 out of 30 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
web/vercel.json Removes Vercel SPA rewrite config for the legacy web app.
web/manifest.json Removes legacy PWA manifest.
web/index.html Removes legacy Flutter web entrypoint.
web/_redirects Removes Cloudflare Pages SPA fallback rules.
web/_headers Removes Cloudflare Pages security headers file.
server/src/index.js Adds packaged assets + bare-as-module3 transport routing, debug logs endpoint, and reusable server start API.
server/public/styles.css Updates UI styling for new browser chrome, tabs, debug panel, and preferences panel.
server/public/scramjet.sw.js Adds a Scramjet service worker with enhanced error handling and debug messaging.
server/public/index.html Updates UI shell: icons, tab strip, debug panel, and browser settings panel.
server/public/browser.js Major rewrite: tabs, bypass-hosts direct mode, debug panel/logging, robust Scramjet init + recovery.
server/package.json Bumps version and adds @mercuryworkshop/bare-as-module3 dependency.
server/package-lock.json Locks server dependencies for reproducible installs.
scripts/run-package-command.mjs Adds helper to run sub-package scripts with auto-install.
pubspec.yaml Bumps version and adds assets/ to Flutter asset bundle (legacy).
package.json Adds repo-level scripts to drive desktop/server workflows.
lib/services/bookmark_service.dart Minor formatting change.
lib/screens/settings_screen.dart Enhances accent color picker UI and adds live preview in legacy Flutter settings.
docs/index.html Removes GitHub Pages redirect page.
docs/404.html Removes GitHub Pages redirect 404 page.
desktop/package.json Adds Electron + electron-builder packaging config and bundling of server/assets.
desktop/package-lock.json Locks desktop dependencies for reproducible installs.
desktop/main.js Adds Electron main process: splash, server lifecycle, window creation, quit handling.
assets/jetveilicon.icon/icon.json Adds multi-layer icon definition asset.
_redirects Removes repo-root Cloudflare redirect rules.
README.md Updates documentation to match new desktop-first local-server architecture.
.gitignore Adds Node/Electron ignores (node_modules, desktop dist) and runtime logs.
Files not reviewed (1)
  • server/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread server/public/browser.js
Comment thread server/src/index.js
Comment thread server/src/index.js
Comment thread server/public/browser.js
Comment thread server/public/scramjet.sw.js Outdated
Comment thread desktop/main.js
Comment thread README.md
Comment thread README.md
Comment thread server/public/scramjet.sw.js Outdated
Comment thread server/src/index.js
@kiyarose kiyarose marked this pull request as ready for review April 16, 2026 04:22
@kiyarose kiyarose marked this pull request as draft April 16, 2026 04:30
@kiyarose kiyarose marked this pull request as ready for review April 16, 2026 04:30
@kiyarose kiyarose marked this pull request as draft April 16, 2026 04:31
@kiyarose kiyarose marked this pull request as ready for review April 16, 2026 22:36
@kiyarose kiyarose marked this pull request as draft April 16, 2026 22:38
@kiyarose kiyarose marked this pull request as ready for review April 16, 2026 22:45
@kiyarose kiyarose moved this from Planning Phase to In progress in Product Launchpad Apr 16, 2026
@kiyarose kiyarose marked this pull request as draft April 17, 2026 00:00
@kiyarose kiyarose marked this pull request as ready for review April 17, 2026 00:02
@kiyarose kiyarose marked this pull request as draft April 17, 2026 00:17
@kiyarose
Copy link
Copy Markdown
Member Author

I don't have real hardware to test Windows version.
@krystalenby can you help me test the Windows version at some point.
I can test Linux build on steamOS.
The Workflow build versions are being weird with signing rn for some reason.

@kiyarose kiyarose requested a review from krystalenby April 17, 2026 00:18
@kiyarose kiyarose marked this pull request as ready for review April 17, 2026 00:47
@kiyarose kiyarose marked this pull request as draft April 17, 2026 01:00
@kiyarose kiyarose marked this pull request as ready for review April 17, 2026 01:12
@kiyarose kiyarose marked this pull request as draft April 17, 2026 01:21
@kiyarose kiyarose marked this pull request as ready for review April 17, 2026 01:29
@kiyarose kiyarose marked this pull request as draft April 17, 2026 01:36
@kiyarose kiyarose marked this pull request as ready for review April 17, 2026 02:01
@kiyarose kiyarose marked this pull request as draft April 17, 2026 02:11
@kiyarose kiyarose marked this pull request as ready for review April 17, 2026 05:45
@kiyarose kiyarose merged commit fda8193 into main Apr 17, 2026
6 checks passed
@kiyarose kiyarose deleted the krr/rework branch April 17, 2026 05:59
@github-project-automation github-project-automation Bot moved this from In progress to Archived in Product Launchpad Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Projects

Status: Archived

Development

Successfully merging this pull request may close these issues.

bug: Failure to authenticate.

2 participants