BitrigApp

BitrigApp / XCDocs

Public

Apple's developer docs as a Swift package and CLI.

105
4
100% credibility
Found Mar 14, 2026 at 62 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Swift
AI Summary

XCDocs is a command-line tool and Swift package for semantically searching Apple's local developer documentation stored on macOS without requiring Xcode to be open.

How It Works

1
🔍 Discover quick docs

You're coding and need Apple documentation fast, but don't want to open heavy Xcode every time.

2
📦 Get XCDocs

Find and install this handy tool on your Mac with a simple download or easy setup command.

3
⚙️ Ready to go

Everything sets up automatically using what's already on your Mac—no extra apps needed.

4
Ask anything

Type a question like 'swift testing' and instantly see relevant docs with titles, summaries, and links.

5
🎯 Refine your search

Narrow results by framework or type to find exactly what you need.

6
💻 Use in your work

Copy results into your code editor or share with AI helpers for smarter coding.

🎉 Docs superpower

Now you always have fast, local Apple docs at your fingertips, speeding up your projects.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 62 to 105 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 XCDocs?

XCDocs brings Apple's developer documentation to your terminal or Swift code via a CLI and package, using semantic search on the local vector database that powers Xcode's doc lookup. No need to open Xcode or hit Apple's developer site—just query offline docs installed with macOS. Install via Homebrew, run `xcdocs search "swift testing" --framework "Swift Testing"`, or use the Swift Client for async searches and entry lookups by ID like `/documentation/Testing`.

Why is it gaining traction?

It skips browser tabs and Apple's developer login for instant, relevance-ranked results from your installed docs, with filters for frameworks, kinds (article/symbol/topic), limits, and JSON output. Agent skills for Codex/Claude make it a drop-in for AI coding flows, and the Swift API lets tools embed doc search without web scraping Apple's developer portal. Semantic matching beats keyword hunts, pulling full content or metadata fast.

Who should use this?

SwiftUI or Metal devs querying frameworks mid-debug without Xcode; macOS tool builders needing offline Apple developer documentation access; AI agent users automating doc lookups for code gen. Ideal for enterprise program folks avoiding apple developer account price hikes by staying local.

Verdict

Grab it if you're on macOS 26+ Apple silicon with Xcode 16.3—solid tests and README make setup painless despite 23 stars and 1.0% credibility score. Early maturity means watch for updates, but it's a clever local hack for Apple's developer docs today.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.