Skip to content
amiralibgPublic

About

A native macOS browser where pages are columns in a trail, not tabs in a bar. SwiftUI + WebKit.

Resources

Stars

18 stars

Watchers

0 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

Repository files navigation

Wake icon

Wake

A browser for macOS, Windows and Linux where pages are columns in a trail, not tabs in a bar.

Wake is a native browser with no Electron and no bundled browser engine: it uses the web engine your system already has. On macOS it's built with SwiftUI, AppKit and WebKit. On Windows and Linux it's a small Rust app with a TypeScript interface, on Microsoft Edge WebView2 (Windows) and WebKitGTK (Linux). WebView2 is Chromium-based; the Mac and Linux apps use WebKit.

A Wake window: the Kelvin wake pattern article scrolled off to the left, the Lord Kelvin article, and the Wake repository open as columns side by side

The Deck: four threads as live cards, one marked Updated Developer mode on localhost: the page beside a DevTools column showing the Elements tree and styles The welcome tour: a paper boat and its wake on dark water, under the words Browse in a wake
The Deck (⌘K) Developer mode The welcome tour

What's in it

  • The trail. Links open as columns to the right, Niri-style. One column fills the window, two share it, more scroll. Each column resizes on its own edges without squeezing its neighbours.
  • Threads and the Deck. Each window works on a thread of pages. ⌘K raises the Deck: every thread as a live card that floats by how recently you used it and sinks when you don't. Cards show one live chip each (a failing CI run, a price drop, media time, unread count, an HTTP error).
  • Finding your pages. Type in ⌘K to jump to any open page by title or address, in any thread. ⇧⌘A lists every column in the thread, and ⌥⌘← / ⌥⌘→ move between columns (Alt+Shift+← / → on Windows and Linux).
  • Site widths. Give a site a minimum column width (github.com/* → 800), from View ▸ Keep This Width on This Site or Settings ▸ General.
  • Local files. ⌘O opens a file, or type its path, and its images and styles load with it. On the Mac you can also use Finder's Open With.
  • Moments. ⌘D saves where you were on a page: scroll position, your selection and why you saved it. Opening a moment scrolls back and re-highlights. Moments resurface by date or when you're on their site. Wake checks saved pages in the background and tells you what changed. Moments you never open fade and archive themselves.
  • Pop Out. Pick any part of a page and float it, live, in its own small always-on-top panel.
  • Apps. Pin web apps to a slim capsule with unread badges.
  • Developer mode. Turns on automatically for localhost: local dev servers found on common ports, and a DevTools column with Elements (live DOM tree, picker, styles, computed values, box model, attribute and HTML editing), Console (with a JavaScript prompt, $0, history and completion), Network (every resource with a waterfall, headers, payloads, timing, replay, cURL, mocks and HAR export), Sources, Storage (local and session storage, cookies, IndexedDB, caches, service workers) and Performance (Web Vitals, frame rate, page weight and an audit). One click opens WebKit's full Web Inspector, the one Safari uses, for the debugger and Timelines. Also: open-in-editor through source maps, device previews at real iPhone and iPad sizes, emulation (appearance, user agent, JavaScript and styles off), a component inspector, a JSON viewer, git branch and HMR status.
  • History and searches. ⌘Y shows every page you visited, grouped by day; ⌥⌘Y shows what you searched for, from ⌘K or from any search engine's own box.
  • Bring your data. File ▸ Import from Another Browser copies history, searches, cookies (so you stay signed in) and site storage from Chrome, Arc, Dia, Brave, Edge, Vivaldi, Opera, Helium, Firefox, Zen and Safari. On Windows and Linux: Chrome, Edge, Brave, Vivaldi, Opera, Chromium, Firefox, Zen, Waterfox, LibreWolf and Floorp.
  • Passwords. Wake saves and fills passwords itself: saved logins appear under a sign-in field (↑/↓, ↩), sign-up forms get a strong password, and Settings ▸ Passwords lists them behind Touch ID with reused and weak ones flagged. Import from Chrome, Arc, Brave and Edge, or a CSV from Safari, Firefox, 1Password or Bitwarden.
  • Ad and tracker blocking. On by default: EasyList and EasyPrivacy run inside WebKit, so blocked requests never load. Go ▸ Allow Ads on This Site for a site that breaks, or turn it off in Settings ▸ Privacy.
  • Your keys. Settings ▸ Shortcuts (⌘/) changes any shortcut, warns about clashes with other commands and extensions, and finds a command by pressing its keys. ⌘K runs any command or opens any setting by name (start with > for commands only). ⌘F finds in the page.
  • Search your way. DuckDuckGo by default; Google, Brave, Bing, Ecosia, Startpage, Kagi, Perplexity, Yahoo or any URL with %s.
  • Welcome tour. A first-launch tour over live water (a shader with a paper boat and its wake: Metal on the Mac, WebGL elsewhere) that sets your look and search engine. On the Mac it continues into a practice thread: three lesson pages that tick off as you try columns, the Deck, Moments and threads. Settings ▸ General shows both again.
  • Zen, glass and settings. Chrome floats as Liquid Glass islands on macOS 26 (frosted glass on Windows and Linux) and appears only when you need it. On the Mac you can switch the islands to frosted or solid, set how see-through the glass is, and let the desktop show through the window. The theme editor (right-click the window, or ⌘K ▸ Edit Theme) edits every part on a live picture of your window and suggests themes from your wallpaper, the page you're on or a photo.

Shortcuts above are the Mac's. On Windows and Linux, ⌘ is Ctrl, and ⌥⌘ shortcuts are Ctrl+Shift (⌥⌘I is Ctrl+Shift+I).

Building

macOS

Requirements: macOS 14 or later to run; Xcode 26 or later (the macOS 26 SDK, for Liquid Glass) and XcodeGen.

xcodegen generate
xcodebuild -project Wake.xcodeproj -scheme Wake -configuration Debug -derivedDataPath build/DerivedData build
open build/DerivedData/Build/Products/Debug/Wake.app

The Xcode project is generated from project.yml and isn't checked in.

The app icon (a page leaving a wake of itself) is drawn in code; to regenerate it, run swift Scripts/make-icon.swift.

Windows and Linux

The app in desktop/ needs Rust and Node; Linux also needs WebKitGTK 4.1. See desktop/README.md for building, the architecture, and a Docker container for working on the Linux build from a Mac.

Installing

Wake is in beta (every 0.x release): expect rough edges, and please report what you find in Issues. The Windows and Linux versions are newer than the Mac one.

macOS

Wake isn't signed with an Apple Developer ID yet, so macOS blocks a copy downloaded in a browser. The easiest way around that is to install from Terminal, with Homebrew:

brew install --cask amiralibg/wake/wake

or without it:

curl -fsSL https://raw.githubusercontent.com/amiralibg/wake/main/install.sh | bash

Both put Wake in Applications, and it opens straight away.

To use the disk image instead, download the latest .dmg from Releases and drag Wake to Applications. macOS then refuses to open it ("can't be opened" or "is damaged") until you run this once:

xattr -cr /Applications/Wake.app

It removes the quarantine flag macOS puts on downloaded files. Alternatively, try to open Wake, then choose Open Anyway in System Settings ▸ Privacy & Security. (On macOS 15 and later, Control-clicking the app and choosing Open no longer gets past this.)

Wake checks for updates once a day (Wake ▸ Check for Updates… or Settings ▸ General) and installs them when you say so. Updates don't need any of the above again.

If Wake 0.2.1 or earlier says "Wake cannot be opened because of a problem" or quits right after launching, install the latest version with one of the commands above. Those builds were signed in a way that some Macs refuse to load. If something else goes wrong, please open an issue rather than choosing Report… in the macOS dialog: those reports go to Apple, not to Wake.

Windows

Download Wake-<version>-windows-x64-setup.exe from Releases and run it. It installs for your account only (no administrator prompt), into %LOCALAPPDATA%\Programs\Wake, and adds Wake to the Start menu. The installer isn't code-signed yet, so SmartScreen may warn you first: choose More info ▸ Run anyway. Wake needs Microsoft Edge WebView2, which Windows 11 includes; on Windows 10 the installer adds it if it's missing.

Linux

Three ways, all on Releases, for x86_64 and ARM64:

  • Debian, Ubuntu, Mint, Pop!_OS: Wake-<version>-linux-x86_64.deb. Install it with sudo apt install ./Wake-*.deb, which also brings in WebKitGTK.

  • Fedora, openSUSE, RHEL: Wake-<version>-linux-x86_64.rpm. Install it with sudo dnf install ./Wake-*.rpm (or zypper install).

  • Anything else: Wake-<version>-linux-x86_64.AppImage, one file with WebKitGTK inside. Make it executable and run it:

    chmod +x Wake-*.AppImage && ./Wake-*.AppImage

    If it doesn't start, your system may lack FUSE: install libfuse2, or run it with APPIMAGE_EXTRACT_AND_RUN=1.

They run on distributions from 2022 on (Ubuntu 22.04, Debian 12, Fedora 36 or later). The packages need WebKitGTK 4.1, version 2.40 or later.

Both update themselves: Wake checks once a day and installs a new version when you say so. On Linux, the AppImage replaces itself; a .deb or .rpm install downloads the new package and opens it in your software installer, which asks for your password.

Releasing

Releases are built by .github/workflows/release.yml and published to GitHub Releases with a Sparkle appcast, which installed copies read to update themselves.

One-time setup: add the update signing key as a repository secret named SPARKLE_PRIVATE_KEY. Its public half is SPARKLE_PUBLIC_ED_KEY in project.yml; a release signed with any other key is refused by installed copies, so keep the private key safe.

gh secret set SPARKLE_PRIVATE_KEY < ~/.wake-release/sparkle_private_key

To release, tag the commit and push the tag (or run the workflow from the Actions tab with a version):

git tag v0.1.0 && git push origin v0.1.0

The workflow builds a Release app with that version, signs it, packages a .zip (for updates) and a .dmg (for downloads), signs the zip for Sparkle, writes release notes from the commits, and attaches appcast.xml to the release.

Without a Developer ID, releases are signed with a self-signed certificate. macOS doesn't trust it (so Gatekeeper still asks before the first launch of a browser download), but every release has the same identity, so macOS keeps Wake's data, keychain items and privacy permissions across updates. Make it once and add it as secrets:

Scripts/make-signing-certificate.sh
base64 -i ~/.wake-release/signing-certificate.p12 | gh secret set SELF_SIGNED_CERTIFICATE
gh secret set SELF_SIGNED_CERTIFICATE_PASSWORD < ~/.wake-release/signing-certificate-password

Keep the .p12: a new certificate is a new identity. Without these secrets the app is signed ad hoc, which also works but has a different identity on every build.

These builds must not use hardened runtime. It turns on library validation, which only loads frameworks signed by the app's own Team ID; ad hoc and self-signed code has none, so macOS refuses Sparkle and Wake dies at launch. The workflow signs them without it and fails the release if it's still on.

To sign with a Developer ID and notarize, add DEVELOPER_ID_CERTIFICATE (a base64 .p12), DEVELOPER_ID_CERTIFICATE_PASSWORD, APPLE_TEAM_ID, APPLE_ID and APPLE_APP_PASSWORD. That build uses hardened runtime and opens without any prompt.

The Homebrew cask lives in amiralibg/homebrew-wake and moves to each new release on its own, within three hours.

The same tag also runs .github/workflows/desktop-release.yml, which builds the Windows installer and the Linux AppImages, .deb and .rpm packages, signs them with minisign for the in-app updater, and attaches them to the release once release.yml has published it. One-time setup: make a key with minisign -G -W, add the secret key file's contents as the secret WAKE_MINISIGN_KEY, and the public key (the second line of the .pub file) as the repository variable WAKE_UPDATE_PUBLIC_KEY. Without them the packages are still published, but can't update themselves.

Layout

  • Wake/: the macOS app. One feature per folder under Wake/Features (Trail, Deck, Threads, Moments, PopOut, Live, Developer, Apps, Settings, …), with app wiring in Wake/App and shared helpers in Wake/Support. HANDOFF.md describes the architecture in more detail.
  • desktop/: the Windows and Linux app: host/ (Rust: windows, web views, storage), ui/ (TypeScript, React and MobX: the app itself) and packaging/. See desktop/README.md.
  • shared/: what both apps use: the JavaScript Wake runs in pages and the data model. See shared/README.md.

License

MIT. See LICENSE.

About

A native macOS browser where pages are columns in a trail, not tabs in a bar. SwiftUI + WebKit.

Resources

Stars

18 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages