{"id":36473911,"url":"https://github.com/yoanbernabeu/grepai","last_synced_at":"2026-02-22T10:21:14.045Z","repository":{"id":331965068,"uuid":"1131085323","full_name":"yoanbernabeu/grepai","owner":"yoanbernabeu","description":"grep on steroids: semantic code search powered by AI embeddings. Search your codebase by meaning, not just keywords.","archived":false,"fork":false,"pushed_at":"2026-01-16T13:04:04.000Z","size":324,"stargazers_count":157,"open_issues_count":4,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-17T05:07:56.983Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://yoanbernabeu.github.io/grepai/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yoanbernabeu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-09T13:01:33.000Z","updated_at":"2026-01-17T03:23:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yoanbernabeu/grepai","commit_stats":null,"previous_names":["yoanbernabeu/grepai"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/yoanbernabeu/grepai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoanbernabeu%2Fgrepai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoanbernabeu%2Fgrepai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoanbernabeu%2Fgrepai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoanbernabeu%2Fgrepai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoanbernabeu","download_url":"https://codeload.github.com/yoanbernabeu/grepai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoanbernabeu%2Fgrepai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28636807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T15:01:31.228Z","status":"ssl_error","status_checked_at":"2026-01-21T14:42:58.942Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-12T00:44:52.246Z","updated_at":"2026-02-13T13:23:54.117Z","avatar_url":"https://github.com/yoanbernabeu.png","language":"Go","funding_links":[],"categories":["Skills \u0026 Plugins","C","Code Analysis \u0026 Search","MCP Servers"],"sub_categories":["Other IDEs","Software Development"],"readme":"\u003cdiv align=\"center\"\u003e\n\n# grepai\n\n### grep for the AI era\n\n[![Product Hunt](https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1067661\u0026theme=light)](https://www.producthunt.com/products/grepai)\n\n[![GitHub stars](https://img.shields.io/github/stars/yoanbernabeu/grepai?style=flat\u0026logo=github)](https://github.com/yoanbernabeu/grepai/stargazers)\n[![Downloads](https://img.shields.io/github/downloads/yoanbernabeu/grepai/total?style=flat\u0026logo=github)](https://github.com/yoanbernabeu/grepai/releases)\n[![Go](https://github.com/yoanbernabeu/grepai/actions/workflows/ci.yml/badge.svg)](https://github.com/yoanbernabeu/grepai/actions/workflows/ci.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/yoanbernabeu/grepai)](https://goreportcard.com/report/github.com/yoanbernabeu/grepai)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\n**Search code by meaning, not just text.**\n\n[Documentation](https://yoanbernabeu.github.io/grepai/) · [Installation](#installation) · [Quick Start](#quick-start)\n\n\u003c/div\u003e\n\n---\n\n`grepai` is a privacy-first CLI for semantic code search. It uses vector embeddings to understand code meaning, enabling natural language queries that find relevant code—even when naming conventions vary.\n\n**Drastically reduces AI agent input tokens** by providing relevant context instead of raw search results.\n\n## Features\n\n- **Search by intent** — Ask \"authentication logic\" and find `handleUserSession`\n- **Trace call graphs** — Know who calls a function before you change it\n- **100% local** — Your code never leaves your machine\n- **Always up-to-date** — File watcher keeps the index fresh automatically\n- **AI agent ready** — Works with Claude Code, Cursor, Windsurf out of the box\n- **MCP server** — Your AI agent can call grepai directly as a tool\n\n## Installation\n\n**Homebrew (macOS):**\n```bash\nbrew install yoanbernabeu/tap/grepai\n```\n\n**Linux/macOS:**\n```bash\ncurl -sSL https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.sh | sh\n```\n\n**Windows (PowerShell):**\n```powershell\nirm https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.ps1 | iex\n```\n\nRequires an embedding provider — [Ollama](https://ollama.ai) (default), [LM Studio](https://lmstudio.ai), or OpenAI.\n\n**Ollama (recommended):**\n```bash\nollama pull nomic-embed-text\n```\n\n## Quick Start\n\n```bash\ngrepai init                        # Initialize in your project\ngrepai watch                       # Start indexing daemon\ngrepai search \"error handling\"     # Search semantically\ngrepai trace callers \"Login\"       # Find who calls a function\n```\n\n## What developers say\n\n\u003e *\"I just hit my limit and it took 13% of my max5 plan just to read my codebase. I am very, very excited about your new tool.\"*\n\u003e — u/911pleasehold on [r/ClaudeAI](https://www.reddit.com/r/ClaudeAI/comments/1qiv0d3/open_source_i_reduced_claude_code_input_tokens_by/) (280K+ views)\n\n\u003e *\"It works great! Takes 5 minutes to install. Crazy!\"*\n\u003e — [@LesSaleGeek](https://x.com/LesSaleGeek/status/2010335803604611124) on X\n\n\u003e *\"The results are incredible!\"*\n\u003e — [Kenny Nguyen](https://www.linkedin.com/feed/update/urn:li:activity:7419451883293061120?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7419451883293061120%2C7419464457388453888%29) on LinkedIn\n\n## Why grepai?\n\n`grep` was built in 1973 for exact text matching. Modern codebases need semantic understanding.\n\n| | `grep` / `ripgrep` | `grepai` |\n|---|---|---|\n| **Search** | Exact text / regex | Semantic understanding |\n| **Query** | `\"func.*Login\"` | `\"user authentication flow\"` |\n| **Finds** | Pattern matches | Conceptually related code |\n\n## Documentation\n\nFull docs, guides, and blog:\n\n- **[Documentation](https://yoanbernabeu.github.io/grepai/)** — Configuration, AI agents, MCP setup\n- **[Blog](https://yoanbernabeu.github.io/grepai/blog/)** — Benchmarks, tutorials, release notes\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## License\n\n[MIT License](LICENSE) - Yoan Bernabeu 2026\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoanbernabeu%2Fgrepai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoanbernabeu%2Fgrepai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoanbernabeu%2Fgrepai/lists"}