GitQL is an extensible query language and software development kit written in Rust for analyzing Git repositories and other data sources through SQL-like statements. It allows developers to retrieve information about commits, branches, tags, references, and file changes. Its in-memory query engine supports filtering, grouping, sorting, aggregation, and window functions. Users can analyze contributor activity and repository modification statistics through declarative queries. The language includes numerous built-in functions, operators, and data types. Developers can extend its capabilities through custom schemas, functions, operators, and data providers. Its modular SDK also facilitates the creation of specialized query tools for filesystems, source code, and compiler representations.
Features
- SQL-like querying of local Git repositories and version control metadata
- Advanced filtering, grouping, sorting, aggregation, and window function support
- Repository analytics covering commits, contributors, branches, tags, and file modifications
- Built-in functions and operators with customizable data type definitions
- Extensible in-memory query engine with configurable schemas and data providers
- Reusable Rust SDK for developing specialized query languages and analysis applications