Repository navigation
feat(blanc): add Blanc minimal ad-blocking web browser (com.blancbrowser.Blanc) - #542
Merged
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Packaging
org.freedesktop.Platform//26.08+org.electronjs.Electron2.BaseApp//26.08, run throughzypak-wrapper.blancbrowser.com. The issue suggestedcom.blanc.Browser, but upstream doesn't ownblanc.com. Upstream's electron-builderappIdisme.bnfy.bowser, a leftover from an older name.Blanc-<ver>.AppImage(1.27.0, sha256 matches upstream'sSHA256SUMS), unmodified, plusappimage-tools-v2as a second extra-data source.apply_extrafollows the AlterSend recipe, with two changes:BIN=target is the Electron ELF itself, not a shim with a.binbeside it. Both shapes are accepted.resources/app.asar, notresources/app/.BLANC_UPDATE_CHANNEL=flatpak. In upstream'sresolveUpdaterPolicy(src/main/updater-policy.js), any value other thanstagingdisables the updater. The log line is[updater] disabled for this launch: unsupported BLANC_UPDATE_CHANNEL: flatpak.releases/latest, exact asset nameBlanc-<version>.AppImage.MimeTypeis upstream's own set (http/https/blanc-import). Argv handling only accepts web URLs, sotext/htmlis not claimed.Sandbox
org.mpris.MediaPlayer2.chromium.*,xdg-download,xdg-run/pipewire-0(screen sharing via the portal).~/.config/{google-chrome,chromium,BraveSoftware/Brave-Browser,microsoft-edge,vivaldi}. Each can be granted:roper browser.linux-sandbox-launch.js). Under zypak it starts normally, with zygote and renderer processes and no--no-sandbox.isOnePasswordAvailable→darwin), so nothing is needed for it.Verification
read-descriptor/audit-descriptorexit 0scripts/build-app.sh;appstreamcli composeprintsSuccess!scripts/check-apply-extra.sh: apply_extra OK as root with no capabilitiesflatpak installfrom the local repo (--user, temporary remote).lddoverblanc,libffmpeg.so,libvulkan.so.1andlibvk_swiftshader.sofinds 0 missing libraries.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 isBlanc, which matchesStartupWMClass.🤖 Generated with Claude Code