Skip to content
View stanczykwyatt's full-sized avatar

Sponsoring

@jeromegn

Highlights

  • Pro

Block or report stanczykwyatt

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
stanczykwyatt/README.md

Wyatt Stanczyk

I build native macOS apps in Swift, command line tools for coding agents, and web apps in TypeScript, and I like working close to the platform: Carbon hotkeys, the App Sandbox, the Keychain, SQLite's C API and raw WebGL2 with hand-written shaders.

wyattstanczyk.com · Copy 2FA · Show Desktop · Who Stole My Focus · mulligan · symbolhop

Free Mac utilities

Small, private menu bar apps for macOS. Each one is free and open source, runs in the App Sandbox with no network entitlement, and has zero dependencies. What's coming next is on the public roadmap.

macOS CI Windows CI Release License

Copies the newest verification code from Mail or Messages, or from a built-in TOTP/HOTP authenticator, with one keyboard shortcut. Swift 6 on macOS 14+, zero dependencies, plus a C#/.NET port for Windows.

Copy 2FA's authenticator picker showing live codes
  • No network entitlement. It runs in the App Sandbox, and CI inspects the built app with codesign on every push and fails if a network entitlement ever appears.
  • No Accessibility permission. The global shortcut uses Carbon's RegisterEventHotKey, and Mail is driven over Apple Events after checking consent with AEDeterminePermissionToAutomateTarget.
  • Parsers written from scratch: a typedstream decoder for message bodies in chat.db, opened read-only through the SQLite C API, and a protobuf wire-format reader for Google Authenticator exports. They live in a pure Copy2FACore target that is stress-tested with thousands of damaged inputs.
  • Secrets stay on the Mac. OTP keys live in a non-synced Keychain item behind Touch ID, codes are computed with CryptoKit HMAC (SHA-1/256/512), and HOTP counters are saved before a code is copied.
  • Clipboard hygiene. .currentHostOnly keeps codes off Universal Clipboard, ConcealedType and TransientType keep them out of clipboard managers, and sharingType = .none hides the notice from screenshots and screen sharing.

CI Release License

The Windows+D shortcut for the Mac: one click or ⌃⇧D hides every window, and the next puts back exactly what was open. Swift 6 and AppKit on macOS 14+, zero dependencies.

Show Desktop hiding three windows to reveal the Desktop, then bringing them back

  • Restores the exact state. It records which apps were visible and orders them back to front from CGWindowListCopyWindowInfo, so the second click unhides only those, leaves apps you'd already hidden alone and puts the app you were using back in front. That logic is a pure ShowDesktopCore target with its own tests.
  • Works around macOS's activation rules. Hiding the frontmost app makes macOS promote the next one, so Finder is activated first and stragglers get a second pass.
  • Least privilege. App Sandbox with no network or file entitlements, a single Apple Events exception for Finder (window IDs only, never user text, go into the scripts), and a Carbon hot key instead of Accessibility. CI fails the build if a network or file entitlement ever appears.

CI Release License

Names the app that jumps in front of your work, including in the middle of typing, from a menu bar log of every app that comes to the front. Swift 6, AppKit and SwiftUI on macOS 14+, zero dependencies.

The Who Stole My Focus log: top offenders, then each steal with the app, what it took focus from, why and for how long
  • No permissions at all. Detection uses only NSWorkspace activation, launch, hide and Space notifications plus CGEventSource.secondsSinceLastEventType idle times, which macOS gives sandboxed apps without Accessibility or Input Monitoring. CI fails the build if any entitlement besides the App Sandbox, or any event tap, AX, screen-capture or networking call, appears.
  • Telling steals from switches. A pure FocusCore target picks the likeliest cause from input timing (a click with no typing since, the instant ⌘ comes up after ⌘Tab, a keypress in a launcher), walks a short history of recent fronts so focus returning after a password prompt or the lock screen isn't blamed, and takes a second look 0.4 s later: did you keep typing, did the Space change, did the last app quit after all.
  • Tested off screen. 170+ Swift Testing tests, including the system monitor fed a private NotificationCenter and the SwiftUI log rendered from windows that are never shown. The README screenshots come from those renders.

Tools for coding agents

Free, open-source command line tools for Codex, Claude Code, Gemini CLI and other terminal agents. Both make no network calls and have zero dependencies.

CI Release

Undo for coding agents. A snapshot at every prompt and tool call, shell commands included, so you can list, diff and undo back to any point. One Swift binary for macOS and Linux that needs only git.

  • Never touches your repo. Snapshots go into a separate git repository outside the project, with every inherited GIT_* variable, global config and hook shut out.
  • Restore can't lose a file. It snapshots first, fails closed, and leaves alone anything it couldn't put back: ignored files, big files, nested repos.

CI Release

Go-to-definition and find-references for coding agents: an MCP server and CLI that asks your language servers instead of grepping. Node 20+, no dependencies.

  • Its own LSP client. It picks a server per file (clangd, pyright, gopls, rust-analyzer and more), runs several at once, and takes symbols by name instead of column.
  • Measured, not guessed. On a made-up C project a function's uses came back as 10 exact lines against 59 to 77 from grep, and CI reruns the measurement.

Website

My personal site: Next.js 16 and React 19 with no other runtime dependencies, deployed on Vercel.

  • Raw WebGL2, no 3D library. A ray-marched SDF scene in hand-written GLSL renders into half-float HDR framebuffers, followed by a post pass with bloom, ACES tone mapping and dithering.
  • HDR reflections from an equirectangular environment map, decoded by a hand-written Radiance .hdr (RGBE with run-length encoding) loader and blurred by roughness through its mip chain.
  • Cache Components ("use cache" with cacheLife("hours")) for live GitHub data, and a strict Content Security Policy with security headers on every route.
  • Respects prefers-reduced-motion and caps the device pixel ratio at 2.

Toolbox

Swift, TypeScript, C#, Bash, Next.js, React, Tailwind CSS, Vercel, Supabase, PostgreSQL, SQLite, GitHub Actions, Git

LanguagesSwift · TypeScript · C# · GLSL · SQL · Bash
AppleSwiftUI · AppKit · Carbon · Security · LocalAuthentication · CryptoKit · App Sandbox · Swift Package Manager
WebNext.js · React · Tailwind CSS · WebGL2 · Node.js
AgentsMCP · Language Server Protocol · agent hooks
Data and infraSupabase (Postgres) · SQLite · Vercel · GitHub Actions · GitHub Pages

GitHub stats

GitHub stats: commits, pull requests and issues GitHub contribution streak

Cards are rendered daily by a GitHub Actions workflow in this repo rather than a shared public instance.

Popular repositories Loading

  1. copy-2fa copy-2fa Public

    Copy 2FA codes on your Mac with one shortcut: verification codes from Mail and Messages plus a built-in TOTP/HOTP authenticator. Free, open source, no internet access.

    C# 14 5

  2. show-desktop show-desktop Public

    Show Desktop for Mac: hide every window with one click or ⌃⇧D, then bring them all back exactly as they were. The Windows+D shortcut for macOS. Free, open source, no internet access.

    Swift 6 1

  3. stanczykwyatt stanczykwyatt Public

    Profile

    3

  4. who-stole-my-focus who-stole-my-focus Public

    Who Stole My Focus: find out which app keeps jumping in front of your work on your Mac. A free, open-source menu bar app that names every app that steals focus, even mid-typing. No permissions, no …

    Swift 2

  5. mulligan mulligan Public

    Undo for coding agents. Snapshots your project at every prompt and tool call, shell commands included, so you can list, diff and undo back to any point. Codex, Claude Code, Gemini CLI, OpenCode, Ai…

    Swift 1

  6. awesome-mac awesome-mac Public

    Forked from jaywcjlove/awesome-mac

     This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.

    Swift