What problem does it solve?
Nia provides direct API access to index and search code repositories, documentation, research papers, and HuggingFace datasets, helping teams maintain up-to-date context and reduce hallucinations.
Core Features & Use Cases
- Unified endpoints for indexing (repositories, documentation, papers, datasets), listing, reading, and cross-source search.
- Deterministic workflows: check indexed sources, fetch repository trees, read files, and perform targeted searches across sources.
- Use cases include indexing a GitHub repo, indexing docs, searching across code and docs, and saving findings for later reference.
Quick Start
Store your API key at ~/.config/nia/api_key and try:
- Index a repository: ./scripts/repos-index.sh "owner/repo" [branch]
- Index documentation: ./scripts/sources-index.sh "https://docs.example.com" [limit]
- Search across all indexed sources: ./scripts/search-universal.sh "query"