Skip to content
metaskillsPublic

About

Just the website. A tiny, frameless WebKit window for macOS.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

WebWindow icon

WebWindow

Just the website.

Public domain macOS 13+ 1.6 MB Made with love and Claude Opus 5.5


WebWindow floating over the desktop, showing a Twitch stream with no browser chrome at all


Every browser wants to be your workspace. Tabs, toolbars, sidebars, extensions, a URL bar that never stops asking for attention.

WebWindow wants to be a window. One site, one native macOS window, nothing around it. Park a stream next to your editor, pin a dashboard on a second monitor, keep a chat open without a browser eating half the screen. It's ~400 lines of Swift on top of the WebKit engine that already ships with your Mac.


Now you see it. Now you don't.

The title bar is gone until you want it. Touch the top edge of the window and a frosted bar fades in with the traffic lights and the page title. Drag it to move the window, double-click it to zoom. Move away and it disappears.

Cursor moves to the top edge, a title bar fades in, cursor moves away and it fades out


Install

You need the Xcode Command Line Tools (xcode-select --install if you don't have them).

git clone https://github.com/metaskills/webwindow.git
cd webwindow
make install

That builds the app and copies it to /Applications, where Spotlight, Launchpad, and the Dock treat it like any other app. Type ⌘ Space and "WebWindow".

Prefer not to touch /Applications? Install for just your user:

make install PREFIX=~/Applications

To remove it: make uninstall (same PREFIX if you used one).


Use

Launch it and it asks where to go. The first time, that is https://www.twitch.tv. After that it offers whatever page you were on when you quit, so Return puts you right back. Type example.com and it adds the https:// for you.

Keys Does
⌘ L Open a new location
⌘ R Reload
⌘ [ / ⌘ ] Back / forward (two-finger swipe works too)
⌃ ⌘ F Full screen
⌘ W / ⌘ Q Close / quit

Links that try to open a new tab load in the same window. Sign-in popups (like "Sign in with Google") open in their own small window and close when done. Video fullscreen and autoplay work.


Your logins

macOS keeps Safari's cookies private to Safari, so no other app can borrow them. WebWindow keeps its own persistent cookies, cache, and local storage instead. Sign in once and you stay signed in. Everything lives in:

~/Library/WebKit/com.kencollins.webwindow
~/Library/HTTPStorages/com.kencollins.webwindow.binarycookies

Delete those to log out of everything.


Your audio

WebKit plays page sound from a shared Apple helper process, so per-app audio mixers (Wave Link, SoundSource, and friends) usually can't tell it came from WebWindow and lump it in with Safari. On macOS 14.2 and later, WebWindow taps its own helpers, mutes them, and plays the sound back itself, so it gets its own channel. The first time it runs, macOS asks for "System Audio Recording" permission. WebWindow only taps its own page audio, never other apps. Say no and the sound still plays, just filed under Safari again.


What it isn't

No tabs. No toolbar. No preferences. No extensions. No telemetry. No updater. No dependencies. If you need any of those, you already have a browser.


How it's made

main.swift The whole app. AppKit + WKWebView, no Xcode project.
Info.plist Bundle metadata.
Makefile build, install, uninstall, run, clean.
AppIcon.icns Built from icon/AppIcon-1024.png.
icon/ The icon source and the two variants that didn't make it, with the prompts that made them.
docs/devlog/ Dev notes on how the trickier parts were worked out, like per-app audio.

The icon was generated by Google's Nano Banana, prompted by Gemini through the Gemini CLI. The code, the README, and the art direction were made with Claude Code.


Notes for agents working in this repo

  • Build with make build, run with make run. There are no tests; verify changes by launching the app.
  • Keep it one file and zero dependencies. Resist adding UI: the product is the absence of UI.
  • The bundle ID com.kencollins.webwindow keys the cookie store. Changing it logs every user out.
  • The audio relay (AudioRelay) needs the System Audio Recording permission. Ad-hoc signed rebuilds can make macOS ask again.
  • To rebuild the icon after editing icon/AppIcon-1024.png, render an .iconset with sips at 16/32/128/256/512 (plus @2x) and run iconutil -c icns.

License

Public domain, via The Unlicense. Copy it, fork it, sell it, rename it. No credit needed.



Made with ❤️ and Claude Opus 5.5

About

Just the website. A tiny, frameless WebKit window for macOS.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages