{"id":51643178,"url":"https://github.com/d12/sift","last_synced_at":"2026-07-13T20:31:02.880Z","repository":{"id":369136538,"uuid":"1288339103","full_name":"d12/sift","owner":"d12","description":null,"archived":false,"fork":false,"pushed_at":"2026-07-03T18:32:01.000Z","size":689,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-03T20:20:17.669Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d12.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-03T13:59:27.000Z","updated_at":"2026-07-03T18:32:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/d12/sift","commit_stats":null,"previous_names":["d12/sift"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/d12/sift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d12%2Fsift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d12%2Fsift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d12%2Fsift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d12%2Fsift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d12","download_url":"https://codeload.github.com/d12/sift/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d12%2Fsift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35436278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-13T02:00:06.543Z","response_time":119,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-13T20:30:58.890Z","updated_at":"2026-07-13T20:31:02.872Z","avatar_url":"https://github.com/d12.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sift\n\nA lightweight, resource-friendly Spotlight replacement for macOS with granular indexing control.\n\n\u003e **Status:** Early development — not yet stable for daily use.\n\n## Why Sift?\n\nSpotlight can peg your CPU with a dozen indexing processes and re-index files you'll never search for. Sift puts you in control:\n\n- You choose exactly which directories are indexed, with per-directory settings.\n- Indexing runs at background priority and yields CPU time between batches.\n- Built-in rate limiting detects and pauses runaway directories before they affect system performance.\n- A clean, Spotlight-inspired UI that stays out of your way.\n\n## Features\n\n| Feature | Detail |\n|---|---|\n| **Global hotkey** | Configurable (default `⌥Space`); in-app guide if you pick a system-reserved shortcut |\n| **Type-filter prefixes** | `pdf: report`, `app: xcode`, `image: screenshot`, `code: main`, … |\n| **Per-directory rules** | Recursive, hidden files, allowed extensions |\n| **Large-index warning** | Warns before saving a rule that would index \u003e 1 000 files |\n| **File watchers** | FSEvents-based; re-indexes changed files automatically |\n| **Runaway detection** | Alerts and pauses directories generating excessive events |\n| **Signed \u0026 notarized** | Released as a Developer ID-signed DMG via GitHub Releases |\n\n## Requirements\n\n- macOS 15 Sequoia or later\n- Xcode 16+ (to build from source)\n\n## Getting started (from source)\n\n```bash\n# 1. Install XcodeGen\nbrew install xcodegen\n\n# 2. Clone\ngit clone https://github.com/sift-app/sift.git\ncd sift\n\n# 3. Generate the Xcode project and open it\nmake generate\nopen Sift.xcodeproj\n```\n\nRun the **Sift** scheme in Xcode. The app will appear in your menu bar.\n\n## Usage\n\n1. Press **⌥Space** (or your configured shortcut) to open the search bar.\n2. Start typing a file name. Use `type:` prefixes to narrow results:\n   - `pdf: budget` — only PDFs\n   - `app: notion` — only applications\n   - `image: logo` — images (jpg, png, heic, …)\n   - `code: parser` — source files\n3. Arrow keys navigate results; **Return** or a click opens the file. **Esc** closes.\n\n## Configuration\n\nOpen **Sift → Settings…** (or press **⌘,** from the menu bar):\n\n- **General** — Change the global shortcut.\n- **Indexing** — Add directories to index. Each directory supports:\n  - Recursive indexing (off by default)\n  - Hidden-file inclusion (off by default)\n  - Extension allow-list (blank = all types)\n\n## Releasing\n\nReleases are managed by [release-please](https://github.com/googleapis/release-please).\nMerging a conventional-commit PR into `main` triggers:\n\n1. release-please opens/updates a Release PR with a generated CHANGELOG.\n2. Merging the Release PR creates a tag and fires the GitHub Actions build.\n3. The workflow archives, signs, notarizes, and uploads a DMG to the GitHub Release.\n\n### Required repository secrets\n\n| Secret | Description |\n|---|---|\n| `CERTIFICATE_P12_BASE64` | Base64-encoded Developer ID Application `.p12` certificate |\n| `CERTIFICATE_P12_PASSWORD` | Password for the `.p12` file |\n| `KEYCHAIN_PASSWORD` | Temporary keychain password (any random string) |\n| `DEVELOPMENT_TEAM` | Your Apple Developer Team ID |\n| `NOTARIZE_APPLE_ID` | Apple ID used for notarization |\n| `NOTARIZE_TEAM_ID` | Same as `DEVELOPMENT_TEAM` |\n| `NOTARIZE_APP_PASSWORD` | App-specific password for notarytool |\n\n## Architecture\n\n```\nSift/\n├── SiftApp.swift                     – @main entry, Settings scene\n├── AppDelegate.swift                 – menu bar, global hotkey, focus restoration\n├── Search/\n│   ├── SearchWindowController.swift  – NSPanel lifecycle\n│   ├── SearchView.swift              – SwiftUI search UI\n│   └── ResultRowView.swift           – result row\n├── Indexing/\n│   ├── IndexManager.swift            – actor; orchestrates all indexing\n│   ├── SearchIndex.swift             – GRDB + FTS5 database\n│   ├── FileWatcher.swift             – FSEvents wrapper\n│   └── IndexWorker.swift             – background file scanning\n├── Settings/\n│   ├── SettingsView.swift\n│   ├── GeneralSettingsView.swift     – hotkey + about\n│   ├── IndexingSettingsView.swift    – rule list\n│   └── AddRuleView.swift             – add / edit rule sheet\n├── Models/\n│   ├── IndexRule.swift\n│   ├── SearchResult.swift\n│   └── AppSettings.swift\n└── Utilities/\n    ├── FileTypeFilter.swift          – query parsing, FTS5 helpers\n    └── ResourceMonitor.swift         – event-rate tracking\n```\n\n## Contributing\n\nPull requests are welcome. Please use [Conventional Commits](https://www.conventionalcommits.org/) so release-please can generate the CHANGELOG automatically.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd12%2Fsift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd12%2Fsift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd12%2Fsift/lists"}