| Crates.io | semsearch |
| lib.rs | semsearch |
| version | 1.1.2 |
| created_at | 2025-12-06 04:28:39.042905+00 |
| updated_at | 2025-12-06 04:58:32.316697+00 |
| description | Search your filesystem semantically. |
| homepage | https://github.com/xandwr/semsearch |
| repository | https://github.com/xandwr/semsearch |
| max_upload_size | |
| id | 1969609 |
| size | 129,150 |
Semantic code search that just works. Ask questions in plain English, get ranked file locations.
semsearch "find the authentication handler"
Auto-indexes on first run, caches for instant subsequent searches.
semsearch [OPTIONS] [QUERY]
Arguments:
[QUERY] Natural language search query
Options:
-n, --limit <N> Max results (default: 10)
-p, --path <DIR> Project path (default: walks up to .git)
--json Output as JSON
--reindex Force full reindex
--stats Show index statistics
-v, --verbose Show progress even when cached
-h, --help Print help
# Search current project
semsearch "error handling logic"
# JSON output for scripting
semsearch --json "database queries" | jq '.[] | .path'
# Search specific directory
semsearch -p /path/to/project "API endpoints"
# Check index status
semsearch --stats
Human-readable (default):
src/auth.rs:42 0.89 pub async fn validate_token...
src/handlers/login.rs:1 0.82 //! Login and authentication...
JSON (--json):
[
{"path": "src/auth.rs", "line": 42, "score": 0.89, "snippet": "..."},
...
]
.git)~/.cache/semsearch/<project-hash>/cargo install --path .
None (unpublished)