logoalt Hacker News

vzalivalast Wednesday at 2:10 AM1 replyview on HN

I've tried it on my project and it always finds one file: package.json. What languages it support? Only javascript?


Replies

marcoaapforteslast Wednesday at 9:44 AM

Thanks for trying it! This sounds like a bug. Mantic.sh supports all languages (Python, Rust, Go, Java, etc.) it's language-agnostic since it ranks files by path/filename, not content.

A few debugging questions:

- What query did you run? (e.g., mantic "auth logic") - What's your project structure? (Is it a monorepo, or does it have a non-standard layout?) - Can you share the output of mantic "your query" --json?

If it's only returning package.json, it likely means:

- The query is too generic (e.g., mantic "project"), OR - The file scanner isn't finding your source files (possible .gitignore issue)

Tip: Try running git ls-files | wc -l in your project, if that returns 0 or a very small number, Mantic won't have files to search.

Happy to debug further if you can share more details!