Hasty Briefsbeta

Show HN: Semantic grep for Claude Code (RUST) (local embeddings)

3 days ago
  • #code-search
  • #semantic-search
  • #developer-tools
  • ck (seek) is a semantic code search tool that understands the meaning behind code, not just keywords.
  • It serves as a drop-in replacement for grep, offering both traditional keyword search and semantic search capabilities.
  • Users can search for concepts like 'error handling' and find related code patterns such as try/catch blocks, Result types, and exception handling.
  • Installation is simple with `cargo install ck-search`.
  • Features include hybrid search (combining semantic and keyword search), JSON output for automation, and smart exclusions for common directories like .git and node_modules.
  • ck supports multiple programming languages and text formats, with intelligent parsing for functions, classes, and methods.
  • It includes advanced features like full-section extraction, threshold filtering, and relevance scoring.
  • The tool is designed for developers, AI agents, and teams, offering both CLI and future IDE integrations.
  • ck is open-source, with a modular Rust architecture, and supports offline usage with local embedding models.
  • Performance is optimized for large codebases, with efficient indexing and sub-second search times.