Hacker GitHub

← All repos

boyter/cs

View on GitHub ↗ ★ 1,080 Go

codespelunker - CLI code search tool that understands code structure and ranks results by relevance. No indexing required with CLI, TUI, MCP and HTTP support.

18 mentions on Hacker News by 4 people: 3 stories, 15 comments · first 2020-01-29 · latest 2026-10-12

Mentions per year 18 mentions · busiest year 2026 (8)
20082026
  1. Hah yes. Ill throw my own into the ring too https://github.com/boyter/cs although its a lot older than most other tools having been started 7 years ago. Cursor was an interesting case where they were maintaining an index. I think everyone…
  2. Tooting my own horn here for search but give https://github.com/boyter/cs a go. You can have a http server up if you like (even modify the templates) and have it sync your repos for you on a schedule you define. Let me know if it fails in…
    comment by boyter · 2026-07-24 · in I regret migrating to Codeberg
  3. you might be interested in https://github.com/boyter/cs pretty fast and neat project to search code interactively with a lot of optimizations on finding the right thing
  4. …performance, and as a result it runs extremely quickly. I will have to add this as a comparison to https://github.com/boyter/cs and see what my LLMs prefer for the sort of questions I ask. It too ships with MCP, but does NOT build an index…
  5. …Best part is that I get to use the tools I have built, so https://github.com/boyter/scc and https://github.com/boyter/cs to improve it which benefits anyone using those tools.
  6. …the other day to steal the searching for the least common byte idea out to speed up my search tool https://github.com/boyter/cs which when coupled with the simd upper lower search technique from fzf cut the wall clock runtime by a third.…
  7. That’s one of the reasons I made this actually https://github.com/boyter/cs I wanted and boolean syntax mixed with fzf instant search. It’s not as fast as ripgrep of course but it’s not solving the same problem.
  8. And 'cs' for smaller repos and CLI use. [9]: https://github.com/boyter/cs
    comment by smarx007 · 2023-07-05 · in Sourcegraph is no longer open source
  9. I'll add something I have been working on https://github.com/boyter/cs which is aimed at a smaller scale. It works fine for multiple repositories so long as they aren't too large.
    comment by boyter · 2023-07-04 · in Sourcegraph is no longer open source
  10. …I brute forced the search each time. For most repositories it’s fast enough even with ranking. https://github.com/boyter/cs For those interested it’s still very WIP with noticeable issues in TUI mode.
    comment by boyter · 2021-04-25 · in Lmgrep: Lucene-based grep-like utility
  11. …and if performance is acceptable A command line search tool which brute forces with search ranking https://github.com/boyter/cs/ mostly for code but works pretty well for other things as well Atlassian Confluence Cloud plugins. Mostly out…
    comment by boyter · 2021-01-14 · in Ask HN: What are you working on?
  12. …does this and assuming you are doing literal searches is a drop in replacement for re.FindAllIndex https://github.com/boyter/cs/blob/master/str/index.go#L110 which also does simple case folding for you.
    comment by boyter · 2020-08-05 · in Let's build a full-text search engine
  13. Interestingly my current CLI project https://github.com/boyter/cs/ does need to be stable because I am putting a TUI mode into it... and yes dealing with the dangling goroutines in it for the TUI mode itself is especially painful.…
  14. …sort of tool. Anyway here is a search over my projects directory which is about 5.7 GB of content https://github.com/boyter/cs/blob/master/large-search.gif Feel free to try it out if you are able to build from source. It certainly has some…
  15. …how well this could be done without pre-flighting and building an index. Still a work in progress https://github.com/boyter/cs but coming along. Its usable now (with bugs) and is being used by my work mate.