- 版本
- v1.0.0
- 发布日期
- 2026-07-14
- 平台
- macOS
- 安装包大小
- macOS 2.6 MB
- 发布者
- markksantos
Ghostmark
Keep a persistent, fully customizable watermark tiled on your desktop — for screen recording, video calls, and online teaching, with zero post editing
README
👻 Ghostmark
Keep a persistent, fully customizable watermark tiled on your desktop — for screen recording, video calls, and online teaching, with zero post-editing
Features · Install · Build From Source · How It Works · Tech Stack
Existing watermark tools — Canva, CapCut, Adobe Premiere Pro — only burn a mark into a file after you've already recorded it. Ghostmark renders live, directly on your desktop, at whatever window level you choose: behind your open apps, above them, or above everything including full-screen apps. Whatever you record or share shows the watermark in real time — no export step required.
✨ Features
- Text + Icon Watermarks — combine custom text with an optional image/logo, tiled together
- Live Tokens —
{date},{time},{datetime},{user},{host}substitute automatically, refreshed in real time - Six Layout Modes — Tiled across the whole screen, Centered, or pinned to any of the four corners
- Full Style Control — rotation, opacity, font family/size/color, stroke width/color, drop shadow, horizontal/vertical spacing, margin, offset, and brick-style stagger
- Three Window Levels — Desktop (behind app windows), Above Windows, or Always on Top (visible even over full-screen apps)
- Every Display — covers all connected monitors, and adapts when you connect or disconnect one
- Launch at Login — native
SMAppServiceintegration - Menu Bar Only — no Dock icon; an Enable toggle and Settings are one click away
- Zero Permissions — Ghostmark only draws its own window; no Accessibility or Screen Recording access required
- Fully Local — no telemetry, accounts, or network calls of any kind
💻 Install
- Download the latest
Ghostmark.dmgfrom Releases - Drag Ghostmark into your Applications folder
- Open Ghostmark (see below if macOS calls it "damaged")
- Look for the 👻 icon in your menu bar, then open Settings… to customize your watermark
If macOS says the app is "damaged"
Ghostmark is ad-hoc signed rather than notarized with a paid Developer ID, so Gatekeeper quarantines it. Clear the quarantine flag once in Terminal:
xattr -cr /Applications/Ghostmark.app
🔨 Build From Source
No Xcode project required — Ghostmark builds with swiftc directly.
git clone https://github.com/markksantos/Ghostmark.git
cd Ghostmark
./build.sh # builds Ghostmark.app in place
./build.sh install # build and copy to /Applications/NoSleepLab
./build.sh dmg # build and package dist/Ghostmark.dmg
Tests
./run-tests.sh
Covers the pure layout/token logic — tile placement math, token substitution, window-level mapping, and settings persistence. Window management and rendering are verified manually — see docs/superpowers/specs/2026-07-14-ghostmark-design.md.
⚙️ How It Works
Write-up: NSWindow behind all app windows on macOS: use normal level minus one — how the Desktop level was chosen, and why displays are keyed by ID.
Ghostmark creates one borderless, click-through NSWindow per connected display, each rendering a SwiftUI Canvas that draws your watermark pattern. The window's level follows your Window Level choice — from just below .normal (behind every app window) up to .screenSaver (above full-screen apps) — and it joins every Space so it survives desktop switches. Because it's a real, on-screen window rather than a captured overlay, any screen recorder or video call sees it exactly as configured, live.
Known quirk: a one-time "local network" prompt
On first launch, macOS may ask to let Ghostmark "find devices on local networks." Ghostmark does no networking at all — this appears to be triggered by a macOS heuristic tied to per-display window enumeration interacting with Universal Control/Sidecar discovery. Choosing Don't Allow has zero effect on functionality.
🛠️ Tech Stack
| Category | Technology |
|---|---|
| Language | Swift 5.9+ |
| UI | SwiftUI (Canvas) + AppKit (NSWindow, NSStatusItem) |
| Persistence | UserDefaults / @AppStorage |
| Login Item | ServiceManagement (SMAppService) |
| Architecture | Menu bar (LSUIElement / accessory) |
| Build | swiftc via build.sh |
| Min macOS | 26.0 on Apple silicon (the v1.0.0 release binary is arm64 with minos 26.0) |
📄 License
MIT © Mark Santos