Professional database manager for macOS β native, fast, and encrypted-database ready
Sunpebble cream, ink, and sun with Quarry's workbench calm: dense tables, crisp borders, and restrained accent use.
π A native macOS database manager built with SwiftUI. Supports SQLite (including SQLCipher-encrypted databases), PostgreSQL, and MySQL β with schema/data comparison, diff-previewed editing, SSH tunnels, and full English/Chinese localization.
- SQLite & SQLCipher β open encrypted databases; passwords live in the macOS Keychain
- PostgreSQL & MySQL β direct connections or through an SSH tunnel
- Multiple sessions β several databases open side by side
- Connection profiles β saved connections with one-click reconnect
- Inline editing with pending-changes review before anything is written
- Bulk edit / delete across selected rows
- CSV / JSON import, CSV / JSON / SQL export
- Mock data generator and demo database
- Column statistics β top-value distribution for any column
- SQL editor with query plan (EXPLAIN) view
- Query library β history and saved queries, searchable
- SQL log β every executed statement with timing
- Full-database search across all tables
- Schema compare between any two open sessions, with migration SQL
- Data compare by primary key, with generated sync SQL (INSERT/UPDATE/DELETE)
- Schema snapshots for point-in-time comparison
- ER diagram of tables and foreign-key relationships
- Maintenance tools β integrity check, optimize, vacuum, backup/restore
- English & Chinese localization; native menus and keyboard shortcuts
Download the latest Quarry-*.zip from Releases (Apple Silicon, notarized), unzip, and drop Quarry.app into /Applications.
Requirements: macOS 14+, Xcode command line tools, Homebrew.
git clone https://github.com/sunpebble/quarry.git
cd quarry
brew install sqlcipher postgresql@16 mysql
swift run --package-path apps/swiftui # development
swift test --package-path apps/swiftui # testsβββ apps/
β βββ swiftui/ # Native macOS app (SwiftPM)
β β βββ Sources/QuarryCore/ # Engines & pure logic (unit-tested)
β β βββ Sources/QuarrySwiftUI/ # SwiftUI interface
β β βββ Tests/
β βββ video/ # Remotion promo video
βββ packages/
β βββ docs/ # VitePress documentation
β βββ cloudflare/ # Cloudflare Workers backend
β βββ license-api/ # Pro license API (Stripe)
β βββ tsconfig/ # Shared TypeScript configs
βββ pnpm-workspace.yaml # pnpm workspace configuration
pnpm dev # swift run (the macOS app)
pnpm build # swift build
pnpm test # swift test
pnpm lint # eslint (workers & docs code)
pnpm typecheck # cloudflare + license-api
pnpm docs:dev # docs sitePlease read CONTRIBUTING.md for guidelines on code style, testing, commit format, and the PR process.
This project is licensed under the MIT License β see the LICENSE file for details.
Found a vulnerability? Please see our Security Policy for responsible disclosure guidelines.
Built with β€οΈ by the Quarry team
Documentation β’
Issues β’
Discussions β’
Releases