Skip to content

feat(blanc): add Blanc minimal ad-blocking web browser (com.blancbrowser.Blanc) - #542

Merged
jing2uo merged 1 commit into
mainfrom
add/com.blancbrowser.Blanc
Oct 6, 2026
Merged

jing2uo merged 1 commit into
mainfrom
add/com.blancbrowser.Blanc

Conversation

@jing2uo

@jing2uo jing2uo commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

What — Blanc (bnfy/blanc, 101★, MIT), a minimal Electron web browser with a floating "Island" toolbar and built-in ad/tracker blocking, as com.blancbrowser.Blanc. Closes #541.

Why this fills a gap

  • Not on Flathub.
  • Upstream's only Linux build is an AppImage, which has no update channel outside its own updater.
  • Very active: 1.27.0 on 10-04, 1.26.0 on 10-02, 1.25.0 / 1.24.0 on 10-01, 1.23.0 on 09-27.

Packaging

  • org.freedesktop.Platform//26.08 + org.electronjs.Electron2.BaseApp//26.08, run through zypak-wrapper.
  • App id: reverse-DNS of upstream's domain blancbrowser.com. The issue suggested com.blanc.Browser, but upstream doesn't own blanc.com. Upstream's electron-builder appId is me.bnfy.bowser, a leftover from an older name.
  • extra-data: the official Blanc-<ver>.AppImage (1.27.0, sha256 matches upstream's SHA256SUMS), unmodified, plus appimage-tools-v2 as a second extra-data source. apply_extra follows the AlterSend recipe, with two changes:
    • In this AppDir the BIN= target is the Electron ELF itself, not a shim with a .bin beside it. Both shapes are accepted.
    • The sanity check looks for resources/app.asar, not resources/app/.
  • Self-updater off: the wrapper sets BLANC_UPDATE_CHANNEL=flatpak. In upstream's resolveUpdaterPolicy (src/main/updater-policy.js), any value other than staging disables the updater. The log line is [updater] disabled for this launch: unsupported BLANC_UPDATE_CHANNEL: flatpak.
  • Resolver: releases/latest, exact asset name Blanc-<version>.AppImage.
  • Icon: the AppDir's 1024px icon, scaled to 512. The desktop MimeType is upstream's own set (http/https/blanc-import). Argv handling only accepts web URLs, so text/html is not claimed.

Sandbox

  • ipc, network, wayland + fallback-x11, dri, pulseaudio, cups, Notifications, Secret Service/KWallet (Chromium's cookie/password key), org.mpris.MediaPlayer2.chromium.*, xdg-download, xdg-run/pipewire-0 (screen sharing via the portal).
  • Withheld, documented as overrides in the metainfo: "Import from another browser" reads ~/.config/{google-chrome,chromium,BraveSoftware/Brave-Browser,microsoft-edge,vivaldi}. Each can be granted :ro per browser.
  • Blanc refuses to start when Chromium sandboxing is disabled (linux-sandbox-launch.js). Under zypak it starts normally, with zygote and renderer processes and no --no-sandbox.
  • 1Password integration is macOS-only upstream (isOnePasswordAvailable → darwin), so nothing is needed for it.

Verification

  • read-descriptor / audit-descriptor exit 0
  • scripts/build-app.sh; appstreamcli compose prints Success!
  • scripts/check-apply-extra.sh: apply_extra OK as root with no capabilities
  • flatpak install from the local repo (--user, temporary remote). ldd over blanc, libffmpeg.so, libvulkan.so.1 and libvk_swiftshader.so finds 0 missing libraries.
  • Launches on a private Xwayland display and renders https://example.com (passed on the command line) in the Island UI. The updater logs itself disabled. Data lands in ~/.var/app/com.blancbrowser.Blanc/config/Blanc. The main window's WM class is Blanc, which matches StartupWMClass.
  • Not verified: native Wayland session, downloads, media/MPRIS, screen sharing, printing, browser import with the override, setting it as the default browser through the desktop.

🤖 Generated with Claude Code

…ser.Blanc)

Blanc ships for Linux only as an electron-builder AppImage, so this
unpacks it offline with the appimage-tools extra-data (the AlterSend
recipe) and runs the Electron binary through zypak. The app's own
updater is switched off through its BLANC_UPDATE_CHANNEL policy knob,
which disables updates for any channel other than "staging".

Closes #541

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jing2uo
jing2uo merged commit 70df0a9 into main Oct 6, 2026
@jing2uo
jing2uo deleted the add/com.blancbrowser.Blanc branch October 6, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request: Blanc Browser

1 participant