Developer and Specialist Sources
In addition to general web search engines, nb-search provides specialist sources for software engineering and technical documentation.
GitHub repository search (github.repositories)
- Operation contract:
github/repositories; outputsnb-search.results@1; supportssyncandasync. - Metadata labels: Cost
free; latencyfast. - Configuration and authentication:
- Optional environment variable:
NB_SEARCH_GITHUB_TOKEN - Always calls the official endpoint:
https://api.github.com/search/repositories
- Optional environment variable:
Anonymous rate limits
This source still works without a GitHub Token (keyless mode), but GitHub applies very low rate limits to unauthenticated IP requests. Configure a Token in normal environments to avoid rate-limit errors.
Query example
bash
node scripts/nb-search.mjs search "language:typescript stars:>1000 web search" \
--lane github.repositoriesContext7 documentation search (context7.docs)
- Operation contract:
context7/docs; outputsnb-search.docs-context@1; supportssyncandasync. - Metadata labels: Cost
cheap; latencymedium. - Configuration and authentication:
- Optional environment variable:
NB_SEARCH_CONTEXT7_API_KEY - Default endpoint:
https://context7.com(calls/api/v2/libs/searchand/api/v2/context)
- Optional environment variable:
When no API Key is configured, the source uses its public free mode. It returns documentation-context slices suitable for a coding assistant consulting a library manual.
Query example
bash
node scripts/nb-search.mjs search "fastify register plugins hook lifecycle" \
--lane context7.docs