riko2chen

Drawing inspiration from CodeX's "Computer Use" feature, providing Mac applications with an elegant interaction method for dragging and dropping permissions directly into the system permission dialog.

17
0
100% credibility
Found Apr 21, 2026 at 17 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Swift
AI Summary

A macOS toolkit that helps apps guide users through granting system permissions with animated cards and drag-to-allow flows.

How It Works

1
🖥️ Open your Mac app

You launch a helpful app on your Mac that needs special permissions to do its magic, like controlling the screen or keyboard.

2
📋 View needed permissions

The app shows a simple list of permissions it requires, each with a friendly explanation of why.

3
👆 Tap to grant permission

You tap the button next to the permission you want to allow, and everything springs into action.

4
⚙️ Settings page opens

Your System Settings flips open to the exact spot needed, saving you from hunting around.

5
Guide card flies in

A smooth-animating card pops up right beside Settings, with your app's icon and clear drag instructions.

6
🖱️ Drag the app icon

You grab the icon from the card and drop it into the permission list—easy as dragging a file.

All set and ready

The card zips back with a bounce, a checkmark appears, and your app now has the access it needs to work perfectly.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 17 to 17 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is AskForPermission?

AskForPermission is a Swift package for macOS apps (13+) that streamlines requesting TCC permissions like Accessibility or Screen Recording. It opens the exact Privacy & Security pane in System Settings, floats a guide card beside it, and lets users drag their app icon directly into the list—drawing inspiration from CodeX's Computer Use flow. Developers get a plug-and-play onboarding UI via SwiftUI views, AppKit helpers, or a full permissions window, with live status checks across six permission types.

Why is it gaining traction?

It stands out with polished animations: cards fly in on a curved path with blur and springs, track moving Settings windows (even under Stage Manager), and reverse on cancel. Unlike raw TCC checks or manual instructions, this delivers a guided, app-branded drag experience that feels native. The bundled example app and one-liner integrations (like `.requestsPermission(.accessibility)`) hook devs fast, plus bilingual docs and a reset script for testing.

Who should use this?

macOS developers building automation tools, screen recorders, input monitors, or AI agents needing Full Disk Access/Developer Tools. Ideal for indie apps or desktop clients where users hit permission walls on first launch—skip boilerplate dialogs and jump straight to drag-and-grant flows in SwiftUI or AppKit projects.

Verdict

Grab it for macOS permission UX polish—17 stars and 1.0% credibility score signal early days, but comprehensive docs, tests, and MIT license make it low-risk to eval via the example build script. Maturity lags big players, yet it's production-ready for non-critical flows.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.