How ko-k1/aequera works
Aequera is a Firefox/Gecko browser whose main user workflow is interacting with the browser shell—tabs, workspaces, navigation, and commands—backed by shared browser state. The repository also contains the Ad Veil built-in extension and CLI tooling for managing Firefox upstream revisions and patch series. The README documents the product direction and upstream model; source excerpts establish core command/state behavior and several CLI and engine relationships. Many shell and extension files were not excerpted, so their internal wiring is intentionally left unspecified.
Main entry points: main.rs Aequera CLI · patch.rs Patch pipeline · rebase.rs Candidate rebase · doctor.rs Repository checks
Components 25
Browser shell
- Shell entry
aequera/shell/firefox/aequera-main.js - Tabs and rail
aequera/shell/firefox/rail/aequera-tabs.js - Workspaces
aequera/shell/firefox/workspaces/aequera-workspaces.js - URL bar
aequera/shell/firefox/command/aequera-urlbar.sys.mjs - Command palette
aequera/extensions/shell-chrome/src/palette.js - Preferences
aequera/shell/firefox/aequera-prefs.js - Bookmarks
aequera/shell/firefox/bookmarks/aequera-bookmarks.js - New tab
aequera/shell/firefox/newtab/aequera-newtab.js - Privacy controls
aequera/shell/firefox/privacy/aequera-privacy.js
Browser domain
- Browser state
aequera/core/src/lib.rs - Command actions
aequera/core/src/command.rs - Session snapshots
aequera/core/src/session.rs
Ad Veil
- Ad Veil extension
aequera/extensions/ad-veil/addon/background.js - Content filtering
aequera/extensions/ad-veil/addon/content.js - Engine bridge
aequera/extensions/ad-veil/addon/engine.js - Filter engine
aequera/extensions/ad-veil/engine/src/lib.rs - WASM ABI
aequera/extensions/ad-veil/engine/src/abi.rs
Upstream tooling
- Aequera CLI
tools/cli/src/main.rs - Upstream lock
tools/cli/src/lock.rs - Upstream management
tools/cli/src/upstream.rs - Patch pipeline
tools/cli/src/patch.rs - Candidate rebase
tools/cli/src/rebase.rs - Repository checks
tools/cli/src/doctor.rs
Other components
- Browser user
- Firefox / Gecko
Connections 18
- Browser user → Shell entry: uses browser
README.md - Firefox / Gecko → Shell entry: hosts shell
README.md - Command palette → Command actions: presents actions
- URL bar → Command actions: routes intent
- Command actions → Browser state: executes actions
aequera/core/src/command.rs - Browser state → Session snapshots: snapshots state
aequera/core/src/session.rs - Engine bridge → WASM ABI: calls ABI
aequera/extensions/ad-veil/engine/src/abi.rs - WASM ABI → Filter engine: uses engine
aequera/extensions/ad-veil/engine/src/abi.rs - Aequera CLI → Repository checks: dispatches checks
tools/cli/src/main.rs - Aequera CLI → Upstream management: dispatches upstream
tools/cli/src/main.rs - Aequera CLI → Patch pipeline: dispatches patches
tools/cli/src/main.rs - Aequera CLI → Candidate rebase: dispatches rebase
tools/cli/src/main.rs - Upstream management → Upstream lock: loads pin
tools/cli/src/upstream.rs - Patch pipeline → Upstream lock: checks pin
tools/cli/src/patch.rs - Candidate rebase → Patch pipeline: uses patch pipeline
tools/cli/src/rebase.rs - Candidate rebase → Upstream management: uses candidate
tools/cli/src/rebase.rs - Repository checks → Upstream lock: loads lock
tools/cli/src/doctor.rs - Repository checks → Patch pipeline: validates manifest
tools/cli/src/doctor.rs