Live data from Hacker News

Show HN: Semantic grep with local embeddings

github.com

11–20 of 84 posts

Re: Show HN: Semantic grep with local embeddings

#12

Earlier quoted context omitted.

Agreed - Logan is a legend, this is similar but simpler - no dependency on external models (might add it)

We really are living in the golden age of the terminal. I thought this would take a chunk out of Typescript/node marketshare of young coders, but i'm starting to see more and more of these animals building TUIs using nothing but npm packages. Have they no shame?

Last week I built my own CLI coding agent tool using just nodejs and zero dependencies! It is a lot of fun to build, really, I think everyone should try it out

Re: Show HN: Semantic grep with local embeddings

#13

Earlier quoted context omitted.

Isn't Claude Code's selling point that it doesn't use embeddings?

I don’t think that “Claude Code” is relevant to this semantic grep tool.

bear in mind that Claude Code by default uses grep - if you watch you'll see if it's looking for something it doesn't know the name of, it flails around with different patterns. Try this tool, tell CC to take a look using ck --help and take it for a spin.

CC in my case likes it so much, it started using it to debug the repo rather than grep and suggesting its own additions

Re: Show HN: Semantic grep with local embeddings

#14

Earlier quoted context omitted.

I don’t think that “Claude Code” is relevant to this semantic grep tool.

bear in mind that Claude Code by default uses grep - if you watch you'll see if it's looking for something it doesn't know the name of, it flails around with different patterns. Try this tool, tell CC to take a look using ck --help and take it for a spin. CC in my case likes it so much, it started using it to debug the repo rather than grep and suggesting its own additions

Note that it’s grep AND semantic - so Claude can start with a grep strategy and if it finds nothing can switch to semantic, and since it’s local and fast, it keeps in sync easily enough

Re: Show HN: Semantic grep with local embeddings

#15
At this point, we aren't even saying it's written in Rust anymore, we just mention it in the title whenever possible.

I did look into the core features and I gotta say, that looked quite cool. It's like Google search, but for the codebase. What does it take to support other languages?

Re: Show HN: Semantic grep with local embeddings

#16

Earlier quoted context omitted.

I don’t think that “Claude Code” is relevant to this semantic grep tool.

bear in mind that Claude Code by default uses grep - if you watch you'll see if it's looking for something it doesn't know the name of, it flails around with different patterns. Try this tool, tell CC to take a look using ck --help and take it for a spin. CC in my case likes it so much, it started using it to debug the repo rather than grep and suggesting its own additions

How do you tell CC to use it? Just as an entry in Claude.md?

Re: Show HN: Semantic grep with local embeddings

#17
post #16

Earlier quoted context omitted.

bear in mind that Claude Code by default uses grep - if you watch you'll see if it's looking for something it doesn't know the name of, it flails around with different patterns. Try this tool, tell CC to take a look using ck --help and take it for a spin. CC in my case likes it so much, it started using it to debug the repo rather than grep and suggesting its own additions

How do you tell CC to use it? Just as an entry in Claude.md?

To start with just tell it- but yes Claude.md works too.

“We have a new grep semantic hybrid tool installed called ck - check it out using ck --help and take it for a spin”

Re: Show HN: Semantic grep with local embeddings

#20

At this point, we aren't even saying it's written in Rust anymore, we just mention it in the title whenever possible. I did look into the core features and I gotta say, that looked quite cool. It's like Google search, but for the codebase. What does it take to support other languages?

It supports most languages but needs a bit of tree-sitter setup to do semantic chunking. Let me know what languages you’d like added
Post reply on HN