Nacre/PLAN.md
astar76 63b39d7b7e webkit-spike: hidden run result, D-035..D-040, plans 08 WebKit engine S044-S055
GTK 4 host + transparent egui GLArea over WebKitGTK proven hidden (Xvfb + nested
niri): pick fall-through, real input and IME, egui menus over video, pacing equal
with and without the overlay. Spike fixes: IM client widget, wl-input Y flip,
SPIKE_EGUI=0 layout, URL trim.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 02:01:11 -06:00

2.3 KiB

Nacre — vision

Goal

A daily-driver web browser in Rust on Servo 0.7 with an egui UI, 1:1 in features with the user's Python/QtWebEngine Nacre (new tab page, settings, permissions, vault/autofill, ad blocker, VPN/DNS bridge, downloads, Discord presence, media, import of old profiles). Recipient: the user, replacing their current browser; releases go to their Forgejo (astar76/Nacre).

Current state

About 19k lines written across storage, networking, ad blocker, media, importer, updates, keys, Servo glue and a plain egui UI. Reviewed by reading only; never compiled. Architecture: docs/DESIGN.md; features: docs/FEATURES.md; open checks: docs/REVIEW.md; redesign spec: docs/UI-BRIEF.md.

Phases

  1. First build — make it compile (nice cargo build --release -j 2), fix errors in place, get the binary to start.
  2. Verify — run the unit tests, smoke test offscreen (page renders, tabs, settings), check the shared-GL painter question; fix what breaks.
  3. Gaps — work through docs/REVIEW.md, fix the user's review items, add MPRIS media keys (other candidates deferred, D-002).
  4. UI redesign — Material You (tonal-spot schemes, spring motion, expressive shapes) and the animated new tab page per docs/UI-BRIEF.md, using the app-taste skill. Starts only after the framework works.
  5. Polish pass (Plans/07 Polish pass, input docs/review/phase5.md) — the crash, load speed, SVG/masks, small fixes, flyouts and context menu, custom download manager, a DevTools window, motion rules, a little-things sweep and site passes; ends with the phase 5 review (S042).
  6. WebKit engine (Plans/08 WebKit engine, D-032–D-040, runs first) — GTK 4 host with the egui overlay over WebKitGTK 6.0 views, engine callbacks, ad block via content filters + web process extension, network/privacy/downloads, profile and sealed cookies, tuning defaults, Servo removal, site pass vs Chromium; Widevine later.
  7. Packaging and release (Linux AppImage/tar.gz, Windows installer and zip) when the user asks.

Each of phases 1–4 ends with a user review plan (D-003).

Out of scope

Chrome extensions, Widevine/DRM, printing, per-WebView private mode, third-party cookie blocking (Servo 0.7 limits, shown as unavailable); anything copied from the older Nacre-rust repo.