# obi1kenobi/trustfall

A query engine for any combination of data sources. Query your files and APIs as if they were databases!

Repository: https://github.com/obi1kenobi/trustfall
Canonical: https://ross.abutalabs.com/products/trustfall
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: javascript, python, query-language, rust, wasm
Last push: 2026-08-23T18:24:17+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 1695, "days_push": 10, "days_rel": 663, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2884, forks 93 (observed 2026-08-28T04:07:28.119171+00:00)

## What it is
Trustfall is a query engine written in Rust that lets you query arbitrary data sources—APIs, files, databases, even AI models—using a GraphQL-like query language. It is embeddable as a library (Rust, Python, JS/WASM) and compiles and executes queries across heterogeneous sources as if they were a single database.

## Use cases
- query REST APIs as if they were databases
- run federated queries across multiple data sources
- query files on disk with a structured query language
- embed a query engine in a Rust, Python, or browser (WASM) application
- cross-join data from two unrelated APIs
- analyze rustdoc JSON or other structured file formats with queries

## When to choose
- you need to query heterogeneous data sources (APIs, files, databases) with one query language
- you want an embeddable query engine in Rust, Python, or WASM/browser environments
- you need to join or correlate data across sources that have no native integration

## When to avoid
- you just need SQL queries against a traditional relational database
- you need a standalone database server with storage and indexing
- your data fits naturally in a single existing database or GraphQL backend

## Facets
- artifact type: library
- maturity: active
- function: search-engine, parser
- domain: databases, developer-tools, apis
- platform: rust, python, wasm, cross-platform
- tags: query-engine, graphql-like-query-language, federated-queries, data-connector, wasm-embeddable, query-language, data-engineering, nodejs

## Member repositories
- obi1kenobi/trustfall (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.119171+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:24.923366+00:00, confidence not recorded.
  - readme: https://github.com/obi1kenobi/trustfall (fetched 2026-08-28T04:07:28.119171+00:00, sha 339f8c30802f)
  - registry_crates: https://crates.io/api/v1/crates/trustfall (fetched 2026-08-29T09:50:50.976011+00:00, sha 92b98dfded5b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
