Skip to main content

gitquarry search

Search public GitHub repositories.

Synopsis

Default Behavior

With no enhancement flags, search behaves as close to native GitHub repository search as possible.
  • one repository search request
  • native ordering
  • no silent metadata enrichment
  • no README fetching

Search Modes

Native

Native is the default.

Discover

Discover mode is explicit:
This enables staged candidate collection and local reranking.

Ranking

Rules:
  • non-native ranks require --mode discover
  • --mode discover without --rank defaults to blended
  • --sort affects candidate retrieval, not final order, when rank is non-native

Sort

In native ranking, final output order follows the selected sort.

Structured Filters

Owner and visibility:
  • --user
  • --org
  • --archived
  • --template
  • --fork
Classification:
  • --language
  • --topic
  • --license
Ranges:
  • --min-stars, --max-stars
  • --min-forks, --max-forks
  • --min-size, --max-size
Dates:
  • --created-after, --created-before
  • --updated-after, --updated-before
  • --pushed-after, --pushed-before
  • --created-within, --updated-within, --pushed-within

Conflict Policy

If you write a raw GitHub qualifier inside the query and also pass an overlapping structured flag, gitquarry fails clearly instead of guessing. Examples:
  • language:rust plus --language go
  • stars:>100 plus --min-stars 200

README and Explain

  • --readme enables README enrichment for the top candidate window
  • --explain exposes ranking reasons in enhanced modes

Plan Output

--plan prints the compiled search plan without resolving auth or calling GitHub. Use it to debug structured filters, raw query conflicts, output format, effective mode, and estimated request counts before running a search. Example:

Probe Evidence

Probe flags attach explicit no-clone evidence to the final result window. They do not change search order or ranking.
  • --probe-path records matching tree entries
  • --probe-code searches candidate files for code evidence
  • repeated --probe-path values use OR semantics
  • --probe-limit bounds file-content fetches per repository
  • --probe-match-limit bounds recorded code matches per repository
Example:

Output

Examples:

Examples

Native search:
Structured native search:
Empty-query discover search:
README-aware discovery: