高中生开发 35 MB 原生 Mac 浏览器 Zigzag

原标题:Show HN: Zigzag, a native Mac browser for people leaving Arc
38AI 研判分

上海高中生 Zigao 因 Arc 宣布关停,用 Swift 与 WebKit 自建原生 Mac 浏览器 Zigzag,安装包约 35 MB,无账号、无遥测,并支持从 Chrome 商店安装扩展。项目开源免费,主打侧边栏标签分组与低资源占用,是 Arc 用户迁移的一个轻量替代选项。

报道正文

本文目录4 个章节

Download for Mac or brew install --cask zigaowang/tap/zigzag Free and open source. macOS 15.4 or later.

Your tabs in a sidebar, grouped into spaces. A native Mac app in Swift on WebKit, about 35 MB installed, with no account and no telemetry.

Why I built it

Hi, I'm Zigao, a high school student in Shanghai. I used Arc every day. When The Browser Company said it's shutting Arc down on December 22, I really didn't want to go back to tabs along the top, and the alternatives I tried were either Chromium forks or browsers built around AI. So I made my own, and I've used it as my main browser ever since.

Why WebKit and not Chromium? I actually started by forking Helium. The source was about 100 GB and every build took 3 to 4 hours on my Mac, which isn't something I can keep up by myself. WebKit already comes with macOS, it's lighter on battery and memory, and Apple ships its security fixes with macOS updates. You still get Chrome extensions, installed straight from the Chrome Web Store.

Why not Zen or Orion? I tried both before starting this, and they're good. Zen runs on Firefox, so it uses Firefox extensions and doesn't feel like a Mac app to me. Orion is closer, but it isn't open source. I wanted something that works like Arc, feels native, is open source, and runs my Chrome extensions.

Coming from Arc

Your Arc comes with you. File › Import from Another Browser…, pick Arc, and your spaces, pinned tabs, pinned folders, Favorites, history, passwords, sign-ins and extensions come over. Your open tabs can come too, split views and all, and wait to load until you click them; leave Open Tabs unchecked to start clean. If your spaces are on more than one Arc profile, each Arc profile comes over as a Zigzag profile of its own.

1Password works. Install it from the Chrome Web Store inside Zigzag, like you would in Arc. It talks to the 1Password app. The first time, add Zigzag in 1Password › Settings › Browser. Bitwarden works too.

It can't be switched off. There's no account, and Zigzag doesn't depend on a server of mine. The only things I host are the update feed and a short list of ad blocking fixes, and if they went away, Zigzag would keep working. Privacy lists everything Zigzag connects to on its own.

See it

<table> <tr> <td width="50%"><img src="site/assets/clips/split.jpg" alt="Split view: Fonts In Use beside Grilli Type"><br><b>Split View.</b> Drag a tab onto the page to open it beside, up to four at once.</td> <td width="50%"><img src="docs/all-tabs.jpg" alt="Every tab across three spaces shown as cards"><br><b>Every tab at once.</b> ⇧⌘\ shows every space. Type to filter.</td> </tr> <tr> <td width="50%"><img src="site/assets/win-peek.webp" alt="A Wikipedia article on typography peeked over the page"><br><b>Peek.</b> Shift-click a link to glance at it without losing your place.</td> <td width="50%"><img src="site/assets/clips/reader.jpg" alt="An essay from The Public Domain Review in Reader"><br><b>Reader.</b> Long reads, without the clutter.</td> </tr> </table>

More, in motion, at zigzagbrowser.com .

What it does

|---|---| | Spaces | Each with its own color, icon, pinned tabs and folders. Swipe on the sidebar, or nudge the mouse wheel sideways, to switch. | | Favorites | Your most used sites as tiles, above every space. Any tab, pinned tab or favorite can wear its own emoji or symbol. | | Profiles | Keep work and personal apart. Each profile has its own extensions, sign-ins, history and favorites, and every space is on one. | | Command bar | ⌘T or ⌘L. Finds open tabs, history and sites. Type you, press Tab, and you're searching YouTube. Drag the bar anywhere in the window and it opens there from then on. | | Tab groups | Pick some tabs and choose Group Tabs, and they become a folder in the sidebar that opens and closes, renames, and moves as one. | | Split view | Up to four tabs: drag a tab onto the page's edges for a half, or its corners for a quarter. Drag a page by its strip to move it, and pin a split to keep it. | | Windows | Drag a tab to another window and it moves as it is, without loading again. Turn on Settings › Tabs › Windows share a space's tabs and every window on a space lists the same tabs, as in Arc. The sidebar sits on the left or the right. | | Web apps | Install as App makes a site an app of its own, in your Applications folder, the Dock and ⌘Tab, with a toolbar in the site's color. | | Peek | Shift-click a link to read it over the page you're on. | | Mini player | Leave a tab while its video plays and the video follows you in a small player. Resize it from any edge and put it anywhere, even outside the window over other apps. Turn it off from its menu if you'd rather not have it. Switch to another app and the video floats over it in Picture in Picture. | | Now Playing | Every tab playing sound in the background gets a card at the foot of the sidebar, up to three, to pause or mute it. | | All tabs | ⇧⌘\ shows every space at once. Type to filter, drag a tab to another space. | | Clear | Closes the tabs you've drifted away from and keeps the ones you're working with. Point at it to see which it would close. A split view stays or goes whole. Undo brings them back. | | Zigzag Mini | ⌃⌘N opens a small window for one quick page, and ⌘O moves it into your browser window. Links from other apps can open in it, like Little Arc, and Open in Zigzag Mini moves a tab into one. | | Passwords | In your Mac's Keychain, synced by iCloud Keychain. Touch ID, a generator, and a check for weak and reused ones. Passkeys work. | | Dark pages | Light sites drawn dark by Dark Reader's engine, with its fixes for thousands of sites, so photos stay true. Sites with a dark look of their own keep it. Pure black if you like it darker. On everywhere or per site. | | Ad blocking | Built in and on: about 130,000 EasyList, EasyPrivacy and EasyList China rules, compiled into WebKit content rule lists, plus uBlock Origin's filter lists, which update on their own. | | WebRTC | Turn on Protect IP address from WebRTC, and sites can't learn your real IP address through WebRTC while you use a proxy or VPN. Calls work on the sites you allow, and a site that tries WebRTC while it's blocked says so, with Allow for This Site. | | Cookie pop-ups | Turned down for you, never accepted, with DuckDuckGo's Autoconsent rules. Leave them alone everywhere

(注:更多技术实现细节与完整 API 文档请查阅原项目 README)


作者发帖说明(HN):

Hello HN! I am Zigao, a high school student from Shanghai. I am new to HN so hello to y’all!

I used Arc everyday, and I never had any issues with it. So when The Browser Company announced that they will shut down Arc on Dec 22 I was devastated. I don’t want to switch back to boring tabs along the top. Everything else i’ve tried is either a Chromium fork or an AI integrated browser that I don’t want. Therefore, I’ve been building my own browser for the last three weeks. Its name is Zigzag, a free and open source Mac browser that works just like Arc, written in Swift and based on WebKit. It is lightweight and fast.

Zigzag has:

  • The stuff you missed from Arc (obviously, that’s the point)...

  • Import from Arc (or any other browser) brings everything (your spaces, pins, history, passwords, cookies, etc)

  • Chrome extension support! Even though its based on WebKit, you can install them from the Chrome Web Store. Extensions such as 1Password, Bitwarden, dark reader, Return Youtube Dislike, Tampermonkey all work)

And most importantly:

  • Privacy: no account, no telemetry, no analytics

  • Free and open source: no one can shut it down, anyone can contribute and fork their own copy!

  • It’s tiny and fast! Around 18 MB installed (Arc is over 800 MB), no Chromium, no Electron (eww)

Some minor features that are nice-to-haves:

  • Built in ad blocker using uBlock origin’s and Easylist’s filter lists

  • Cookie popups turned down for you automatically, never accepted

  • Split view up to...