A small, quick browser for Mac, iPhone and iPad.
I wanted a browser that felt like Dia but didn't take up over a gigabyte, so I made one. Dew is built on the same engine as Safari, which keeps it fast and easy on the battery, and the whole Mac app is under 6 MB. There's no account to make, nothing to install alongside it, and it doesn't phone home.
New to Dew? The guide shows the main things in short clips, with step-by-step how-tos. It's in the app too: Help › Dew Guide on the Mac, Settings › Dew Guide on iPhone.
Spaces. Keep Personal and Work (or whatever you like) apart in one window. Each space has its own logins, cookies, history and tabs, so being signed in to one Google account at work and another at home just works. ⌃1, ⌃2 and so on switch between them, and you can give each a colour, from bright ones to plain greys and black.
Tabs your way. Along the top like Dia, or down the side. Hide them until you need them for the full window. Group tabs, pin the ones you always have open, or put two pages side by side. Tabs you haven't looked at for a while can quietly free up memory and pick up where they left off.
Chat about what you're reading. ⌘E opens a chat beside the page. Ask about the page you're on, or bring in a few tabs and compare them. It works with Claude, ChatGPT or a model running on your own Mac, using your own key or account. Nothing is sent until you ask.
Quieter browsing. Ads and trackers are blocked before they load. Cookie banners are answered for you (Reject, unless
you'd rather Accept) without flashing up first, and the tracking bits that get tacked onto links (utm_, fbclid and
friends) are stripped before the page opens.
Your logins. Dew saves and fills passwords, kept encrypted and separate for each space, and can import them from Dia, Chrome, Safari, 1Password or Bitwarden.
Across your devices. Bookmarks and spaces sync through your own iCloud, you can open tabs from your other devices, and Handoff passes the page you're on between your Mac and iPhone.
Small touches. The toolbar takes on the colour of the site you're on. Light, dark or follow the system, with an option to darken pages that don't have a dark mode of their own. Five app icons to choose from. History opens in a tab you can search. Bring everything over from Dia in one go.
Chrome extensions on the Mac. Find one in the Chrome Web Store and click Add to Dew. Plenty work, Dark Reader among them. Some don't yet, 1Password included, because they lean on bits of Chrome that Safari's engine doesn't have.
On iPhone and iPad. The address bar can sit at the top or the bottom, there's a Search widget in two sizes for the Home Screen, and passwords from Apple's Passwords app or 1Password fill as they do anywhere else on iOS.
| Size | |
|---|---|
| Mac app, App Store | 3.2 MB |
| Mac app, GitHub download | 6.0 MB (3.2 MB of Dew, plus Sparkle, which keeps it up to date) |
| iPhone and iPad app | 3.2 MB (the App Store download is smaller) |
| Dia, for comparison | about 1.3 GB |
No bundled browser engine: Dew uses the one already on your Mac or iPhone. The only outside code is Sparkle, the updater, and only in the GitHub download.
Dew doesn't have accounts, analytics or crash reporting. Your browsing stays on your device, and anything that syncs goes through your own iCloud. Chat only sends what you ask, to the provider you picked. The details are in the privacy policy.
Mac: download Dew (3.4 MB), open it and drag Dew into Applications. It needs macOS 15.4 or later on an Apple silicon Mac (M1 or later). It's signed and notarised by Apple, so it opens like any other app. New versions are posted on the releases page.
iPhone and iPad: not on the App Store yet. It needs iOS 18 or later.
Building it yourself:
brew install xcodegen
xcodegen generate
open Dew.xcodeproj # schemes: Dew-macOS, Dew-iOSBoth targets use Xcode-managed signing (team UTJ8CD785K, needed for iCloud); pick your own team under Signing &
Capabilities, and from the command line add -allowProvisioningUpdates. Run xcodegen generate again after adding
or removing files.
The rest of this file is notes on how Dew is put together, mostly so I can find things again.
The Mac app is built two ways from one template in project.yml: Dew-macOS for the App Store, and
Dew-macOS-Direct for the GitHub download, which adds Sparkle (2.10.1) so installed
copies update themselves (Apple doesn't allow an updater in App Store apps). The Direct build checks
docs/appcast.xml on GitHub Pages once a day, downloads new versions in the background and installs them when Dew
quits; Dew › Check for Updates… checks now. Updates are signed with an EdDSA key in the login Keychain (account
dew); its public half is DEW_UPDATE_KEY in project.yml, and Sparkle refuses anything not signed with it. Its
installer runs outside the sandbox and reaches Dew through two mach-lookup exceptions in the Direct entitlements.
To release: bump CURRENT_PROJECT_VERSION, commit, then
Tools/release-mac.sh "One or two lines on what's new."
git push # publishes the updated appcast to installed copiesThe script archives the Direct build, has Apple sign it with the team's cloud-managed Developer ID and notarise it,
packs Dew.dmg, signs it for Sparkle, adds it to the appcast and creates the GitHub release (the README's link always
serves the latest release's Dew.dmg). Testing an update without your data: build two Direct copies with
DEW_UPDATE_FEED pointing at a local feed and run the older one with -DewDemo YES -DewUpdateTest YES.
Screenshots come from demo mode (-DewDemo YES): example spaces, tabs, bookmarks and history, private website storage,
and no saving or iCloud sync, so real browsing never appears. -DewDemoTab 2 shows the coloured Python.org tab,
-DewDemoGroups YES adds a tab group, -DewDemoURL <address> opens a page (dew://history for History),
-DewOpenChat YES -DewChatSample YES opens Chat with a sample conversation (no API key or request needed), and setting
keys work as arguments too (-tabsInSidebar YES, -appearanceMode dark). In demo mode the Mac window opens at
1440 × 900. Sizes in docs/screenshots/ fit App Store Connect where it matters: mac/ 2880 × 1800 (Mac App Store),
iphone/ 1320 × 2868 (iPhone 6.9″); duo/ is the iPhone Duo's own size, for this README only. The guide's clips
(docs/gifs/) are screen recordings of demo mode, turned into GIFs at 8 frames a second and 800 px wide. The guide
itself is docs/guide.html, served by GitHub Pages and opened in a tab by Help › Dew Guide (Mac) or Settings › Dew
Guide (iOS), so changing the page or a GIF and pushing updates it in the app without a new build. The icon at the top is
docs/images/dew-halo-*.png, rendered from Tools/AppIcon-Halo*.svg.
Mac: Dew → Settings (⌘,): General, Appearance, Spaces, Passwords, Privacy, AI Chat, Shortcuts. iOS: ⋯ → Settings… (or the cog side button on iPhone Duo): General, Appearance & Layout, then Spaces, Passwords, Privacy & Ad Blocking, then AI Chat. General is behaviour (default browser, search, tab suspension, import, iCloud); Appearance is how Dew looks and where things sit (website colour, bookmarks bar, address bar position, Duo side buttons). The space (profile) menu only has space things; its Manage Spaces… opens Settings at Spaces.
New users see one short welcome screen (Shared/Views/WelcomeView.swift): Spaces, side by side, Chat and privacy, with
Get Started (and on the Mac, Import from Dia and Make Default). It's shown once and never to someone updating with
saved data; Help → Welcome to Dew (Mac) or Settings → Welcome to Dew (iOS) shows it again. Debug: -DewShowWelcome YES.
Each Space has a UUID, and every tab in it uses WKWebsiteDataStore(forIdentifier: space.id), a
persistent, fully separate store for cookies, local storage, IndexedDB and cache. Signing in to Google in
"Work" doesn't affect "Personal". Deleting a space removes its data store from disk.
"Open in Space" on a tab reopens its URL in another space (cookies are never shared).
- iPhone Duo (folded and open): the browser's buttons (back, forward, reload, tabs with count, new tab, space,
menu) are a glass capsule inside the Duo's right-edge status strip, anchored to the bottom and growing upward
(iOS's own toolbar placement starts at the top). No tab bar or tab strip: the tabs button opens the tab view (an
overlapping deck of cards, with + and ✓ in the right-edge column); Settings is in the space menu. The address bar
is a floating capsule over the page (which scrolls underneath;
obscuredContentInsetskeeps fixed page elements clear of it), top or bottom, so moving it never moves the buttons. - Side Buttons (Settings → Appearance & Layout → Side Buttons): choose which buttons the Duo's side column shows and their
order (Back, Forward, Reload, Tabs, New Tab, Chat, Bookmark, Share, Space, Settings, More). Drag to reorder, − to
remove, + to add; More or Settings always stays so Settings is reachable.
iOS/SideButtonsSettings.swift. - Chat on the open Duo sits beside the page like split view (two panes and a drag handle; width remembered); folded, it's a full-height sheet.
- Page under the side status bar (Settings → General, off by default): the page fills the right edge too, with iOS's status pill and the button capsule floating over it. Recognised by the Duo's side status strip. Checked on the device (open).
- Address bar position (Settings → General): Automatic, Top or Bottom. Automatic: top on iPhone Duo and iPad, bottom bar on other iPhones.
- Other iPhones / iPad: toolbar layout (address centred on wide screens, its own row on narrow ones, tab strip under it) or the bottom bar with a tab grid.
- Split view shows side by side at regular width (Duo open, iPad); narrow screens show the focused pane.
- Only size classes, safe areas and standard containers; tabs own their web views, so folding/unfolding keeps the page, scroll position and form input.
- Debug:
-DewOpenURL <url>,-DewOpenSplitURL <url>,-DewForceDuoLayout YES.
- Tabs from your other devices: each device writes one CloudKit record (private database, your own iCloud,
zone
DewSync, containeriCloud.com.local.dew; the container, keychain group and Handoff type keep the originalcom.local.dewnames from before the bundle ID becamecom.automate.dew) listing its open tabs per space; private tabs are never included. Others appear under From Your Other Devices in the Mac's ⌄ popover and under the iOS tab grid, with Open All per space. Tabs open in the space with the same name, else the current one. Syncs a few seconds after tabs change, on launch/activation and every 2 minutes. Toggle in Settings → General → iCloud. Code:Shared/Model/CloudSync.swift. - Bookmarks and spaces: one CloudKit record per bookmark, keyed by space name + URL (space IDs differ per device), carrying the space's colour and icon so a missing space is created. Adds, renames (newest edit wins) and deletions sync. A bookmark missing on one side only counts as deleted if this device had already confirmed syncing it (keys are remembered only after iCloud accepts the upload), so a failed save never wipes anything. Toggle: Settings → General → iCloud → Sync bookmarks and spaces.
- Handoff: the page you're viewing is offered to your other devices (Dock / app switcher); falls back to Safari where Dew isn't installed. Never in private browsing.
- Signing is Xcode-managed (team UTJ8CD785K) because iCloud needs a provisioning profile; build from the command
line with
-allowProvisioningUpdates. The CloudKit schema is in the Development environment; deploy it to Production in the CloudKit Console before TestFlight/App Store builds.
Home Screen widgets in two sizes (small: Dew's drop and a Search capsule; wide: the drop and a full-width
"Search or enter address" bar) and a Lock Screen one: tapping it opens Dew in a new tab with the search box ready
(dew://search). The drop matches the app icon chosen in Dew: the app writes its choice to the App Group
(appIcon) at launch and when it changes, and reloads the widget. Its look is a widget setting: touch and hold it → Edit Widget →
Appearance: Automatic (follows the Home Screen, including tinted icons), Light or Dark.
Settings → General → Search widget → Opens in: a particular space, or the current one. Target Dew-iOS-Widget
(iOSWidget/, embedded in the iOS app). Debug: -DewOpenAppURL dew://search acts as if the widget was tapped.
Tapping the address bar (iOS) opens the address in place (above the keyboard when the bar is at the bottom) with a
round ✕ to cancel; suggestions fill the screen: open tabs, bookmarks and history, then live suggestions from the
search engine (Google and DuckDuckGo have open endpoints; toggle under Settings → General). In private browsing the
field is grey with an eye. Debug: -DewEditAddress <text>, -DewPrivate YES.
Settings → Privacy → Cookie banners: Reject automatically (default), Accept automatically, or Leave them. A script
in Dew's own JS world (all frames) clicks the right button for OneTrust, Cookiebot, Didomi, Quantcast, Usercentrics,
TrustArc, Complianz, CookieYes, Osano, iubenda, Google Funding Choices and others, falling back to a "Reject all" /
"Accept all"-style button (several languages) inside an element that is clearly a cookie banner. Reject mode never
accepts. Sites using Sourcepoint in a cross-origin frame (e.g. spiegel.de) aren't handled yet.
Shared/Model/CookieBanners.swift.
Mac: Set Dew as Default Browser… appears in the Dew menu (and Settings → General) when it isn't the default;
macOS asks to confirm. iOS: ⋯ → Set as Default Browser… opens Settings; iOS only lists Dew there once Apple grants the
managed com.apple.developer.web-browser entitlement. The iOS app already meets Apple's requirements (declares http
and https, uses WKWebView, opens with an address field, opens links directly, no Universal Links or restricted
privacy keys). To finish: request the entitlement at https://developer.apple.com/contact/request/default-browser-entitlement/
(team UTJ8CD785K, bundle ID com.automate.dew); once approved, enable it for the App ID in Certificates, Identifiers & Profiles,
add com.apple.developer.web-browser: true to the iOS entitlements in project.yml, and rebuild. Adding it before approval
breaks signing.
⇧⌘N (File → New Private Tab), or the space menu / ⋯ on iOS. Private tabs use an in-memory WebKit store, record no history or recently closed tabs, aren't saved with the session, don't offer to save passwords and can't be bookmarked. The chrome turns dark. Closing the last private tab wipes its cookies and returns to your space.
Like Dia: 2–4 tabs side by side (Mac, and iOS at regular width). Right-click a tab → Show Beside Current Tab, or New Split Tab (⌥⌘T) for a blank pane; Separate Split View or a pane's header buttons undo it. Drag the handles between panes to resize. Click/tap a pane to focus it; the address bar and navigation act on the focused pane. A split shows as one joined tab in the strip. Splits are saved with the session.
Like Dia's Chat: ⌘E or the ✨ button in the address bar (Mac) opens a panel beside the page; on iOS it's ⋯ → Chat (a sheet). The tab you're on is shared with your question automatically (all panes, in split view); + adds other open tabs from any space, and ✕ on a chip stops sharing one. Anything selected on a page goes along too. Tabs that are suspended or haven't been opened are loaded in the background so they can be read.
- Providers (Settings → AI Chat → Answer with; the model menu in the panel header switches too):
- Claude: an Anthropic API key (Keychain, service "Dew AI"); model (Opus 5.5 default, Sonnet 5.5, Haiku 5.5,
Fable 5.2) and depth (
effort). Anthropic doesn't allow other apps to use Claude subscriptions, so it's key-only. Server-side refusal fallbacks (fallbacks: "default") are on, except for Haiku. - ChatGPT plan: "Continue with ChatGPT" (OpenAI's Sign in with ChatGPT for open-source/local apps). OAuth with
PKCE in the system sign-in sheet, redirected to a one-off server on
127.0.0.1(port 1455, else any free port; the Mac app has thenetwork.serverentitlement for this). First sign-in registers withdynamic_agent_clientand OpenAI issues a client ID that's reused; tokens are in the Keychain, refreshed one at a time (they rotate), and revoked on sign-out. Requests go to/v1/responseswithstore: false, stream: true, the full history each time. Shows "Using ChatGPT plan · Manage usage" and OpenAI's one-time welcome. Debug:-ChatGPTSendHostID YESsendsext_agent_host_id(OpenAI's devkit leaves it off unless the deployment supports it). - Other (OpenAI-compatible): OpenRouter, the OpenAI API, Ollama, LM Studio or a custom
/v1server, via streaming Chat Completions. The model list comes from/models, or type any model ID.
- Claude: an Anthropic API key (Keychain, service "Dew AI"); model (Opus 5.5 default, Sonnet 5.5, Haiku 5.5,
Fable 5.2) and depth (
- How it works:
Shared/Model/Chat.swift(session, page reading),ChatProviders.swift(streaming clients),ChatGPTAuth.swift(sign-in). Page text is read withinnerTextin Dew's own JS world and sent inside<tab>tags; the system prompt says that text is web content, not instructions. Pages over 400,000 characters are cut, and both the model and the chip's tooltip say so. A page already sent and unchanged isn't sent again. The conversation is kept provider-neutral, so you can switch provider mid-chat (Claude's own replies are replayed exactly, thinking included). - Actions (Settings → AI Chat → "Let Chat open, close and switch tabs", on by default): the model can list, read,
open (or search), close and switch tabs, search history and bookmarks, and show tabs side by side
(
Shared/Model/ChatTools.swift). Tabs are named to it by the first 8 characters of their ID. Each action appears in the answer as a row (click to show the tab); closing has Undo, and the model is told about undos with the next question. Up to 10 tool rounds per question. Private tabs are only visible to it in private browsing. The system prompt tells it to act only on the user's own words, never on instructions in page text, and not to put page text into addresses. Works with all three providers (Anthropic tool use with eager input streaming, Responses function calls, Chat Completionstool_calls); local models without tool support answer without them. - Look: your messages are bubbles in the space's colour; answers are soft bubbles with full Markdown (headings,
lists, code blocks with Copy, quotes, tables) via
Shared/Views/MarkdownView.swift. It's a general assistant too, not only for tabs. Debug:-DewOpenChat YESopens the panel,-DewChatSample YESloads a sample conversation (nothing is sent),-DewChatAttachTabs YESshares six tabs. iOS:-DewOpenSettings YES -DewSettingsPage ai. - Nothing is sent until you ask, and conversations aren't saved (the pencil button starts a new chat).
Sidebar: Settings → Appearance → Tabs → Top (default, Dia-style strip) or Side; ⌘S (View → Show Tabs in
Sidebar) switches. The sidebar has the space's name and menu, pinned tabs as icon tiles, then tabs, splits and groups,
New Tab, and the spaces along the bottom. Same right-click menu and drag-to-reorder as the strip. macOS/Sidebar.swift.
Tab groups (like Dia's): right-click a tab → Add to New Group (named "Group 1", "Group 2"…), Add to Group or Remove
from Group. A group is a soft tray holding its label and tabs, in the strip and the sidebar; the selected tab breaks
out of it as usual. Click the label to collapse or expand (a collapsed group never hides the tab you're on);
right-click it to rename, add a new tab, ungroup or close the group. Dragging a tab among a group's tabs adds it;
dragging it out removes it. Groups keep their tabs together, are saved with the session (not synced), and Chat can
make them (group_tabs). Middle-click on a link (Settings → General): opens a new tab, or adds the tab to the
current tab's group (starting one with both tabs if needed); ⌘-click always opens a plain new tab.
Shared/Model/TabGroups.swift, Shared/Views/TabGroupViews.swift. Debug: -DewDemoGroups YES (with -DewDemo).
Through WebKit's own WebExtension support (WKWebExtension, macOS 15.4+), so it adds code but no libraries. Open an
extension in the Chrome Web Store and click Add to Dew in the address bar: Dew downloads the package (a CRX,
whose signed header it strips to get the ZIP WebKit loads), shows what the extension can access, and installs it.
Settings → Extensions lists them (turn on or off, show in the toolbar, options, remove) and adds unpacked folders or
ZIPs. Extension buttons sit in the address bar with their badges and popups; hidden ones are in a puzzle-piece menu.
Extensions see Dew as one window holding every non-private tab, can open and manage tabs, add right-click menu items
and use their keyboard shortcuts. They never run in private browsing. Pages restored at launch wait (at most a
second) for extensions to load, so content scripts apply, as in Chrome. Extensions' own pages (welcome, options)
open in tabs with the extension's name in the address bar. Packages live in Application Support/Dew/Extensions;
demo runs (-DewDemo) use a temporary folder. macOS/Extensions.swift.
Extensions that rely on Chrome APIs WebKit lacks (notifications, offscreen documents…) or on a Mac app (native
messaging, which the App Store sandbox rules out) don't load; 1Password is one. Its app's Universal Autofill (⌘\)
works in Dew instead. Not yet: automatic extension updates (re-add from the store to update), and extensions on iOS.
| ⌘T | New tab (Dew's new tab page: search, URL, open tabs, history) |
| ⌘L | Edit the address of the current tab |
| ⌘W / ⌘⇧T | Close tab / reopen closed tab |
| ⌘1…⌘9, ⌃Tab | Switch tabs |
| ⌃1, ⌃2… | Switch to space 1, 2… (order set in Settings → Spaces) |
| ⌃⌥→ / ⌃⌥← | Next / previous space |
| ⇧⌘N | New private tab |
| ⌥⌘N | New space |
| ⌘E | Show / hide Chat |
| ⌘S | Tabs in the sidebar / at the top |
| ⌘, | Settings: manage spaces (rename, colour, icon, reorder, delete), appearance |
| ⌘D | Bookmark / un-bookmark the page |
| ⌘⇧B | Show / hide bookmarks bar |
| ⌥⌘P | Pin / unpin tab |
| ⌥⌘T | New split tab (blank pane beside the current tab) |
| ⌘[ ⌘] ⌘R | Back, forward, reload |
| ⌘+ ⌘- ⌘0 | Page zoom |
| ⌘-click / middle-click | Open link or bookmark in background tab |
| Middle-click a tab | Close it |
| Right-click a link | Open Link in New Tab / in Background Tab / Chat About Link (iOS: press and hold) |
| Mouse side buttons over the tab strip | Previous / next space (elsewhere: back / forward) |
On iPhone, swipe sideways along the bottom bar to switch space; the space button menu has Rename and Manage Spaces.
⌘T or + opens a blank tab with Dew's new tab page: the Dew mark (the drop and its reflection, static), a large
search box, and the space's bookmarks as tiles. Shared/Views/DewMark.swift.
Icons are fetched for the exact scheme, host and port (local devices like 192.168.1.20:7878 matter). If an icon
address fails (missing, or redirected to a login page), Dew reads the page for the icons it declares, then tries
/favicon.ico, /favicon.png and /apple-touch-icon.png. Visiting a site teaches its bookmarks the real icon.
Local devices with self-signed certificates are allowed for icon fetches only; plain-HTTP icons are allowed
(NSAllowsArbitraryLoads, as a browser needs).
Bookmarks belong to a space. They appear in the bookmarks bar (under the address bar, tinted with the site colour), the Bookmarks menu, the command bar and the start page. Click opens in the current tab, ⌘-click in a background tab. Icons only by default (names in tooltips), like Dia; turn names on with Bookmarks → Show Bookmark Names, right-clicking the bar, or Settings → General. Drag to reorder; drop a tab onto the bar to bookmark it; right-click to rename or delete.
File → Import from Dia… (or Settings → General). Choose Dia's User Data folder (the sandbox needs your
permission; the panel opens there), then map each Dia profile to a new or existing space and pick bookmarks
and/or history. Bookmarks come from Dia's bookmarks bar (folders flattened) with Dia's own favicons; history keeps
visit counts and dates (most recent 5,000 per profile). Cookies and passwords can't be imported: Dia encrypts them
with a key in its own Keychain item, which a sandboxed app can't read. Code: macOS/DiaImporter.swift.
Settings → Passwords (Touch ID / password to view). Saved per space, in one AES-GCM encrypted file whose key
is in your Keychain (Shared/Model/PasswordStore.swift). Clicking into a login field on an HTTPS site shows your saved
usernames for that site in a dropdown (type to narrow, ↑/↓ + Return); Dew also fills automatically when there's exactly
one login, and the 🔑 in the address bar lists them too, and offers to save or update after you sign in.
The autofill script runs in an isolated JS world, so pages can't see or call it.
Import: export a CSV from Dia (its password manager → Export passwords), Chrome, Safari, 1Password or Bitwarden, then Settings → Passwords → Import CSV… and pick the space. Dew offers to move the CSV to the Trash afterwards.
Settings → Privacy, per space:
- Clear History… / Clear Cookies… (cookies clears logins, storage and cache for that space only).
- Clear automatically: Never, When Dew quits, Every day, Every week or Every month, choosing history and/or cookies. "When Dew quits" also runs at the next launch, so it still happens after a force-quit (and on iOS, where apps don't really quit).
On by default; toggle with the shield in the address bar, Dew → Block Ads, or Settings → Privacy. Uses WebKit's
native content blocker (rules compiled once and applied inside WebKit, so it's fast and adds nothing per request).
A small built-in list works immediately; EasyList (ads) and EasyPrivacy (trackers) are downloaded, converted
(FilterListConverter in Shared/Model/ContentBlocker.swift) and refreshed weekly (~115k rules). Scores 100/100
on adblock-tester.com's contextual-advertising test (40 with blocking off).
Settings → Appearance: System (follows the device), Light or Dark, applied app-wide (on the Mac every window,
menu and web view; on iOS every screen and sheet). Private browsing is always dark. With Dew dark, Darken pages
shows websites that have no dark mode of their own in dark colours: their colours are inverted and images, video and
embedded frames flipped back, so photos look normal; pages that are already dark are left alone, and the matched
toolbar colour follows. It works like dark-mode extensions, so a few dark logos on transparent backgrounds can
disappear. Shared/Model/DarkPages.swift.
Like Dia, the selected tab and address bar take on the colour at the top of the current page (sampled by a small script in an isolated JS world that re-checks on scroll/resize), with text switching to light or dark to stay readable. Toggle it under View → Match Toolbar to Website Colour or in Settings → Appearance. On iPhone it tints the status-bar area when it would stay readable.
The tab strip follows Dia: the space name (in its colour) and pinned tabs share one capsule; click the name to
switch spaces, with each space's shortcut shown. Tabs have no chrome until hovered, titles fade out instead of
"…", the selected tab is taller and flows into the page, and tabs condense toward icon-only as you open more.
The ⌄ at the far right opens a Dia-style popover: search, open tabs, recently closed tabs and recent
history, with Show All History (⌘Y) at the bottom: History opens as a tab of its own (dew://history), searchable and grouped by day, for any space; clicking an entry opens it in that tab, ⌘-click in a background tab.
Tabs can be dragged to reorder, including into and out of the pinned group. Right-click a tab for more.
A blue drop and its reflection on a white tile. The source is Tools/AppIcon.svg;
Tools/render-icon.swift renders it with WebKit into the Mac icon (rounded tile on the macOS icon grid, hairline
edge and soft shadow so white reads in the Dock) and a full-bleed, opaque iOS icon (iOS rounds the corners). To regenerate after editing the SVG:
Alternate icons: Settings → Appearance → App icon offers Classic (the blue drop) plus two flat, monochrome
alternatives, Ink (Tools/AppIcon-Ink.svg) and Bead (Tools/AppIcon-Bead.svg), and the drop outlined in a
rainbow sweep, Halo Dark and Halo Light (Tools/AppIcon-HaloDark.svg / -HaloLight.svg). The new tab page's
drop follows the choice. iOS switches the Home Screen icon (alternate icon sets AppIcon-Ink, AppIcon-Bead,
AppIcon-HaloDark, AppIcon-HaloLight); the Mac shows the choice in the Dock while Dew is
open, and a small Dock tile plug-in (macOSDockTile/, loaded by the Dock) keeps it there after Dew quits (Mac apps
can't change their Finder icon). Picker images are AppIconPreview-* in both asset catalogs.
swiftc -O -o /tmp/render-icon Tools/render-icon.swift && /tmp/render-icon Tools/AppIcon.svg /tmp/dewicon
cp /tmp/dewicon/icon-ios.png iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png
for s in 16 32 128 256 512; do for x in 1 2; do p=$((s*x)); sips -z $p $p /tmp/dewicon/icon-mac.png \
--out macOS/Assets.xcassets/AppIcon.appiconset/icon_${s}x${s}@${x}x.png; done; doneShared/Model Space, BrowserTab (owns a lazily created WKWebView + delegates), BrowserStore
(spaces, tabs, history, persistence to Application Support/Dew/state.json), downloads, URL parsing
Shared/Views WebContainer (swaps the selected tab's web view in), command bar, space editor, favicons
macOS/ Window, Dia-style tab strip + content card, menu commands
iOS/ Bottom address bar, space menu, tab grid with space chips
Restored tabs don't create a web view until you open them, so launch is instant with any number of tabs.
Suspend unused tabs (Settings → General: Never by default, or after 15 min to 1 day): once a minute, tabs that
haven't been on screen for that long release their web view. Their back/forward history and scroll position are kept
(WKWebView.interactionState) and the page reloads when you return. Tabs on screen (including split panes), loading,
playing audio/video or using the camera/microphone are skipped.
- Tab groups and the sidebar on iPhone and iPad (groups are kept there, but not shown yet)
- Find in page on the Mac (iOS uses the system find bar)
- Multiple browser windows on the Mac (there's one browser window, plus History and Settings)
- A search engine per space (today one engine is used for every space)
- AutoFill from iCloud Passwords and other password managers (Dew's own password manager already fills logins)
- Automatic updates for Chrome extensions, and extensions on iOS
- Chat actions on bookmarks (add, rename, organise)
- iOS default browser and passkeys: the
com.apple.developer.web-browserentitlement (requested). Once granted, add it to the iOS entitlements inproject.yml; it also enables passkeys in web pages. - Mac passkeys: the
com.apple.developer.web-browser.public-key-credentialentitlement (macOS Browsers Passkeys form; Apple grants it to organisation accounts).




