{
  "id": 15356689,
  "title": "I built an in-browser search engine that finds the exact function to fix a bug",
  "url": "https://urgent.news/2026/10/18/i-built-an-in-browser-search-engine-that-finds-the-exact-function-to",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-18T05:32:39.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/lazeez/i-built-an-in-browser-search-engine-that-finds-the-exact-function-to-fix-a-bug-1efg"
  },
  "original_language": "en",
  "account": "I recently developed a project called Odin, which is an in-browser search engine designed to pinpoint the precise function needed to resolve a bug. The process is straightforward; you simply input a public repository URL and either link to an issue or describe the bug in your own words. Odin then downloads, parses, and ranks the functions according to the specified bug, offering a more targeted solution than traditional large language models (LLMs).\n\nWhat sets Odin apart is its operational framework. It predominantly executes within the user's browser, employing Tree-sitter (utilizing WebAssembly) and small local models via WebGPU. This design ensures that code is not indiscriminately sent to a massive cloud LLM, thereby enhancing data privacy and security. The efficiency of Odin is noteworthy; when evaluated on 300 genuine issues from the SWE-bench Lite dataset, Odin successfully identified the correct file in the top 10 results 93% of the time, and the specific function 79.4% of the time. Remarkably, it achieves this level of accuracy using models under 1 billion parameters, significantly reducing the cost per issue to a fraction of a cent.\n\nAdditionally, Odin offers a GitHub Action that can be integrated into your repository, automatically commenting on new issues with the most probable functions to remedy. I encourage anyone interested to give Odin a try, as your feedback, questions, and criticisms will be invaluable in refining its benchmarks. Odin is compatible with public repositories in Python, JavaScript, TypeScript, Go, Java, and Rust, making it accessible across a variety of programming languages. Simply visit allfather.dev to start using Odin for finding the code behind any bug report.",
  "summary": "TLDR: I built a search engine that reads a bug report (or lets you define it) and points to the exact file (93%) and to the exact function (79.4%) you need to fix. Hey everyone, I recently made a new project while trying to get into RAG and automation. Odin is more than a search engine, all you have to do is paste a public repo URL and link the issue or describe the bug yourself and it downloads,…",
  "key_points": [
    "Odin is an in-browser search engine for pinpointing exact functions to fix bugs.",
    "Operates entirely in user's browser using Tree-sitter and WebGPU for privacy and efficiency.",
    "Achieves 93% top 10 result accuracy and 79.4% function accuracy on 300 SWE-bench Lite issues."
  ],
  "editors_take": "By shifting code parsing and model execution to the browser, this tool prioritizes data privacy and cost efficiency over the heavy reliance on massive cloud-based language models.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}