• Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools

The GitHits Index

What your agent can see

GitHits parses open-source repositories into files, functions, and searchable code — every version, not just the latest — and crawls the documentation sites behind them. Package metadata ties it all together.

As of November 19, 2026, the GitHits index covers 57,458 open-source repositories (105.9 billion lines of code, 2.75 billion functions across 34 languages), 2.26 million documentation pages from 6,384 sites, and tracks 48,089 packages across 13 registries, with 292,613 security advisories mapped to affected packages.

Updated

57.5K
Repositories

Open-source repositories parsed and searchable in the GitHits index.

105.9B
Lines of code

Total lines across all indexed repository versions — parsed and searchable, not just stored.

2.3M
Documentation pages

Individual pages crawled from documentation sites and made searchable.

48.1K
Packages tracked

Packages whose registry metadata — versions, dependencies, advisories — GitHits monitors.

Code

Repositories
57,458
Distinct open-source repositories with at least one indexed version.
Versions
125,074
Repository versions indexed: release tags, branches, and commits. Each is searchable on its own — not just the latest.
Files
465,495,355
Source files parsed across all indexed versions.
Lines of code
105,904,569,384
Lines in those files. Agents can search and read exact line ranges.
Functions
2,748,133,549
Functions and methods found while parsing indexed source files.
Languages
34
Programming languages GitHits parses to symbol level.

Documentation

Sites
6,384
Documentation sites crawled, typically the official docs of indexed projects and packages.
Pages
2,263,966
Individual documentation pages fetched, parsed, and made searchable.

Packages

Packages
48,089
Packages tracked across supported registries: metadata, versions, dependencies, licenses.
Registries
13
Package registries covered: npm, PyPI, crates.io, Hex.pm, Maven Central, NuGet, Packagist, RubyGems, Go, vcpkg, Zig, Swift, and Pub.

Vulnerabilities

Advisories
292,613
Known security advisories tracked and mapped to the packages they affect.
Affected packages
255,427
Packages with at least one known advisory, so agents can flag risky versions.

Indexing now

TargetStageProgress
Checking what is indexing right now…

Recently indexed

TargetTookTime from indexing start to fully searchable.
Loading recent completions…

Explore The Index

Open GitHits Index

Missing a repository, package, or documentation site?

Ask your agent. If GitHits hasn’t seen it yet, it becomes searchable in minutes.

Start for Free