
Cube
Semantic layer and headless BI for building data apps on any database
Overview
Cube (formerly Cube.js) is an open-source semantic layer that sits between your database and any frontend BI or data app. It provides a schema-driven data model, automatic caching with pre-aggregations, multi-tenant access control, and REST/GraphQL/SQL APIs. Deployed as a Node.js service via Docker, it connects to Postgres, BigQuery, Snowflake, DuckDB, and dozens more.
Where it falls short of Retool
- Not an end-user spreadsheet; requires developer effort to define data models in YAML or JavaScript
- No built-in visual grid editor; intended to power custom-built frontends, not replace Airtable directly
- Pre-aggregation setup for large datasets requires careful tuning and database-specific knowledge
We list the gaps honestly so you can decide if the trade-off is worth owning your data.
Tags
Claim this listing to keep it accurate, add a deploy template, or feature it on relevant pages.
Embed the Cube difficulty badge in your README — it links back here.
[](https://openreplace.com/cube)Similar open-source projects
Other self-hostable tools in the same space worth comparing.
Open-source Firebase alternative built on PostgreSQL with realtime and auth
Free and self-hostable no-code database that turns any SQL DB into a smart spreadsheet
Single-file open-source backend: SQLite database, auth, file storage, realtime
Open-source low-code platform to build internal apps and admin panels fast