Skip to content
Aayush9029Public

About

Query Apple developer documentation from your terminal.

Resources

Stars

9 stars

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

doq

doq

Query Apple developer documentation from your terminal

Release License

demo.mp4

Install

brew install aayush9029/tap/doq

Or tap first:

brew tap aayush9029/tap
brew install doq

Usage

doq                          # launch interactive TUI
doq search View              # search for symbols
doq info View                # full declaration + docs
doq list                     # list indexed frameworks
doq index                    # build index (curated ~30 frameworks)
doq index Swift Foundation   # index specific frameworks
doq index --all              # index all ~295 SDK frameworks
doq docs                     # launch semantic docs TUI (macOS 26+)
doq docs search "swift testing"
doq docs get /documentation/Testing

How it works

  1. Runs xcrun swift symbolgraph-extract to generate JSON symbol graphs from Xcode's SDKs
  2. Parses symbol graphs for declarations, doc comments, availability, and relationships
  3. Builds a SQLite FTS5 index at ~/.local/share/doq/index.db
  4. Queries the index with ranked full-text search

On macOS 26+, doq docs uses Apple's local documentation asset plus the system embedding and vector search frameworks.

License

MIT

About

Query Apple developer documentation from your terminal.

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages