TA3/daypatch
TA3/daypatch has 45 GitHub stars and 5 forks. GitHot measured +2 in 7 days. Last checked 2026-11-22 22:42 UTC. Last push 2026-11-07.
Gemessener Sternzuwachs
- in 24h
- Aktualisierung verzögert
- in 7 days
- +2
- in 15 days
- Aktualisierung verzögert
- in 1 month
- Aktualisierung verzögert
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
Über uns
Arc-style tweaks for the Dia browser, patched locally from your own Dia
SicherheitREADME.md
Original
DayPatch
Make Dia feel like Arc.
Sidebar URL bar · Arc-style command bar · AI out of the way
[!TIP] TL;DR — Install DayPatch, click Patch, and your Dia becomes Dia ✦: Dia with Arc-style tweaks. The original is kept, so you can restore it in one click. Nothing of Dia's is shipped here.
⚡ Quick start
You need: a Mac with Apple silicon, macOS 14+, and Dia in Applications.
| Step | Do this |
|---|---|
| 1 | ⬇️ Download DayPatch.zip from the latest release |
| 2 | 📂 Unzip it and drag DayPatch.app into Applications |
| 3 | 🚀 Quit Dia, open DayPatch and click Patch |
[!IMPORTANT] First launch only: right-click DayPatch.app → Open. macOS asks because releases aren't notarized by Apple yet.
[!NOTE] Rather keep your Dia untouched? Untick Patch Dia directly in DayPatch. You then get a separate Dia ✦ in
~/Applications— use it instead of Dia, not both at once (they share one profile).macOS may ask you to allow DayPatch under System Settings › Privacy & Security › App Management.
🛠️ Prefer to build it yourself?
You need Xcode or its command line tools (xcode-select --install).
git clone https://github.com/TA3/daypatch.git
cd daypatch
./companion/build.sh --launch
✨ Features
🧭 Browse like Arc
- 🔗 URL bar in the sidebar — with ← → ↻ next to the window buttons
- 🫥 No top bar — pages use the full window (optional: hover the top edge to peek)
- ⌘ Command bar —
⌘T,⌘L, or click the sidebar URL- 🗂️ finds open tabs (Switch to Tab →), history, bookmarks
- ⚙️ runs Dia commands and opens
chrome://pages (Flags, Extensions, Passwords…) - ✍️ completes sites as you type:
git→github.com - 🆕
⌘Tonly makes a tab when you open something
- 🧼 Clean new tab — just "Search or enter URL"
- 🎛️ Settings pane — everything lives in Dia → Settings → DayPatch
- ⌨️
⌃⌘U— flip between Dia's bar and yours - 🗂️ Extra shortcuts — sort or group tabs by domain, switch profiles, move a tab to the next profile (optional, each key changeable)
🔒 Privacy
- 🙈 Hide AI features — chat menus, Chats, the Chat button, Chat with this tab, page extraction
- 🔌 Local AI agent off —
agent-serverdoesn't start - 🛡️ Block AI + telemetry — optional, off by default
⚡ Performance
- 🧠 On-device AI off — one less ~40 MB process
- 🎚️ Engine switches — renderer limit, background networking (optional)
- 🪶 Light — about 1 idle wake-up per second
🩹 The DayPatch app
- 🔁 Re-patches automatically after Dia updates
- ↩️ Restore Original Dia — one click, anytime
- ✅ Feature health — shows what still works after an update
- 🔐 Updates itself — signed releases from this repo
- 🫥 Hides when it can — menu bar Always, When Needed, or Never
DayPatch's pane in Dia → Settings, and the DayPatch app
💡 Good to know
- 🔄 Updating Dia: use Dia ▸ Check for Updates as usual; DayPatch re-patches after. If that ever fails, Update Dia… in DayPatch restores the original to update it, then re-patches.
- 🧩 If Dia changes something: that feature quietly switches off; DayPatch's health list tells you which.
- 🔑 "Dia Safe Storage" prompt: allow it — Dia ✦ is signed by your Mac, not by Dia.
- 🔐 Passkeys: Apple only lets Dia's own, unmodified app use passkeys from Apple Passwords, so Dia ✦ can't. Options:
- Dia ✦ menu › Use Passkeys in Original Dia… — reopens your tabs in the original Dia; sign in with Touch ID, then click Back to Dia ✦. You stay signed in.
- Use a phone or tablet (QR code) — the same iCloud passkeys, from your iPhone.
- 1Password, Bitwarden and other password-manager extensions, and security keys, work in Dia ✦ directly.
- Passkeys saved by Dia's own Touch ID option (rather than Apple Passwords) aren't reachable from Dia ✦ either.
- ⚠️ Unofficial: not affiliated with The Browser Company. A modified Dia likely breaks Dia's terms — your call, your risk.
🔍 How it works
- DayPatch keeps an untouched copy of
/Applications/Dia.appin~/Library/Application Support/daypatch/(APFS clone: instant, no extra space), then builds Dia ✦ from it and swaps it in place. With Patch Dia directly off, it builds~/Applications/Dia ✦.appinstead. - It adds
daypatch.dyliband a weak load command to the executable, so the app loads the patch itself. - It re-signs the app ad hoc with the hardened runtime. The only relaxed entitlement is library validation (Dia's frameworks keep their own signature). Dia ✦ rejects
DYLD_INSERT_LIBRARIES, so nothing else can inject code through the environment. - Dia's updater stays on (in place). Updates are checked against Dia's own update key, so they still install; DayPatch sees the stock Dia afterwards and re-patches it.
- The patch hooks a few of Dia's private classes at runtime. If an update renames one, that feature turns off and Dia behaves normally.
- Before patching, DayPatch checks that its own bundle is intact and that the Dia it copies is signed by The Browser Company. Every status check verifies Dia ✦'s signature, so a swapped
daypatch.dylibor re-signed bundle is re-patched instead of silently trusted.
DayPatch's own updates are checked with an ed25519 signature made in CI, using a key that only exists in GitHub's secrets. The release pipeline builds only this repository's code — never Dia. DayPatch itself is signed with the hardened runtime, so it can't be injected through DYLD_INSERT_LIBRARIES to borrow its App Management permission.
Blocking is best effort: the host list covers what Dia 1.55 contacts. Use LuLu or Little Snitch if you need certainty.
👩💻 Development
./tests/run.sh # tests that need no Dia (also run by CI)
./build.sh --launch # build ~/Applications/Dia ✦.app directly, without the DayPatch app
./companion/build.sh --launch # build and install DayPatch
Release: bump VERSION → add its section to CHANGELOG.md (becomes the release notes) → commit → git tag vX.Y.Z && git push --tags. CI tests, builds, signs and publishes.
Maintainer setup
./scripts/make-update-key.shcreates the update signing key. Commitcompanion/update-public-key.txt, store the private key with thegh secret setcommand it prints, and back it up.- Optional notarization: add
APPLE_CERTIFICATE_P12,APPLE_CERTIFICATE_PASSWORD,APPLE_ID,APPLE_APP_PASSWORD,APPLE_TEAM_IDsecrets (paid Apple Developer account).
Dev tools in tools/ run inside a separate test copy signed with tools/entitlements-dev.plist (which allows DYLD_INSERT_LIBRARIES — never used for Dia ✦):
cp -cR /Applications/Dia.app build/DiaTest.app
codesign -f -s - --options runtime --entitlements tools/entitlements-dev.plist build/DiaTest.app
open -n --env DYLD_INSERT_LIBRARIES=/path/to/daypatch.dylib:/path/to/tool.dylib build/DiaTest.app
🗂️ Project layout
| Path | What |
|---|---|
src/ |
The patch: sidebar, top bar, command bar, Settings pane, privacy, performance, health |
companion/Sources/ |
DayPatch: patch engine, window, menu bar, background job, self-updater, icon |
tools/insert-dylib.c |
Adds the weak load command to Dia's executable |
tools/update-key.swift, scripts/make-update-key.sh |
Update signing keys; sign and verify releases |
tools/*.m |
Dev probes and self-tests |
tools/screenshots/ |
Renders the README screenshots from the real UI code, with demo content |
tests/run.sh |
Tests that need no Dia |
.github/workflows/ |
CI and release automation |
MIT © 2026 The daypatch contributors · Dia is a trademark of The Browser Company; this project isn't affiliated with it.
Ähnliche Projekte entdecken
Wird geladen…