Skip to main content

w3-search-on-github

Purpose

VS Code extension that syncs GitHub repos locally and provides fast keyword search using git grep.

Architecture

  • Uses GitHub CLI (gh) for authentication; no tokens are stored manually.
  • Syncs repositories to a local storage path (default ~/.w3-github-repos).
  • Runs git grep for fast search, with exclude patterns and context lines.
  • UI is a VS Code webview with tabs for personal repos, org repos, and search.

User-facing commands

  • W3 GitHub Search: Check GitHub CLI Authentication
  • W3 GitHub Search: Start searching on Github

Configuration

  • w3-search-on-github.storageLocation: local directory for synced repos.