Search
JJHub provides full-text search across the platform. You can search for repositories, issues, code, and users from the CLI or via the API. Search results are paginated and can be filtered, sorted, and output as JSON for programmatic use.What You Can Search
CLI Search Commands
Search Repositories
Find repositories by name, description, or topic.
Example output:
Search Issues
Search across issue titles and bodies.
Example output:
Search Code
Search file contents across repositories.
Example output:
API Search Endpoints
All search endpoints are under/api/search/ and accept a q query parameter. Results are paginated using standard JJHub pagination (see Pagination).
Search endpoints have a stricter rate limit of 30 requests per minute, separate from the general API rate limit of 5,000 requests per hour.
Search Repositories
Response (200 OK):
Search Issues
Response (200 OK):
Search Code
Response (200 OK):
Search Users
User search is available via the API only (no CLI command).
Response (200 OK):
Pagination
Search results follow JJHub’s standard cursor-based pagination model. Use thecursor and limit query parameters to navigate through results. The response includes:
next_cursorfield in the response body for fetching the next pageLinkheader withrel="next"URL for navigating pagesX-Total-Countheader with the total number of matching results
--limit to control the number of results returned in a single request:
JSON Output for Programmatic Use
All CLI search commands support--json output for scripting and automation:
--toon output (Token-Oriented Object Notation) which produces the same data in a format optimized for token efficiency:
Search Tips
Exact Phrases
Wrap your query in double quotes to search for an exact phrase:Combining Terms
Multiple words are matched as an AND query by default — all terms must be present:Common Patterns
Find all repositories by a user:Rate Limiting
Search endpoints are rate-limited separately from the rest of the API:
When you exceed the search rate limit, the API returns
429 Too Many Requests with standard rate limit headers: