Skip to content
Projetos

Sobre

Self-hosted data platform and control plane. A Parquet lakehouse queried in-process by DuckDB, live Postgres federation in the same SQL, dbt, notebooks, and a built-in orchestrator on one machine, with no cloud tax.

Dados e análise

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
+1
em 7 dias
+1
em 15 dias
+2
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Obelisk

The Pluggable On-Premise Data Platform & Control Plane

Run a complete modern data stack on a workstation, a single server, or an air-gapped appliance.

License: MIT Python 3.12+ DuckDB FastAPI React 18

Obelisk workspace: workspace overview, active pipelines, managed data services, and host resource telemetry


What it is

Obelisk ingests from your databases, keeps the data as Parquet in a local lakehouse, queries it in-process with DuckDB, and runs dbt, notebooks and scripts on a schedule. No cloud warehouse, no cluster to operate, no egress bill.

  • In-process DuckDB over Parquet. Vectorized analytical SQL straight off the files.
  • The catalog is powered by DuckLake. Backed by data/lakehouse/.obelisk/catalog.sqlite, pairing SQLite metadata with multi-file Parquet partitions for zero-copy queries and atomic commits.
  • One orchestrator, in-process. Scripts, notebooks, dbt, raw SQL, webhooks and other pipelines, wired with success / failure / completion / skipped edges.
  • Federation when you need it. External sources (Postgres, MySQL, MariaDB, and MongoDB) attach live into DuckDB, so one query can join them to lakehouse tables. The editor and every pipeline step share the resolver.
  • Batteries included. Monaco SQL studio, dbt Studio with lineage, reactive Marimo notebooks stored as .py, an encrypted vault, and hardware-aware container sizing.

Status

Under active development.

Authentication & Access Control. Obelisk includes full session authentication (OBELISK_AUTH_ENABLED=1 in Docker Compose), an initial setup wizard (/setup), scrypt password hashing, and role-based session tokens. On standalone single-operator checkouts, OBELISK_AUTH_ENABLED=0 allows local access without a login wall.

The in-app terminal is a real shell on the host -- origin-gated, session-capped and audited, but a shell. Set OBELISK_TERMINAL=0 to remove it on a shared deployment.

Quickstart

Python 3.12+ and Node 20+ (Node is only needed for the UI dev server).

git clone https://github.com/amrelsawalhi/obelisk.git
cd obelisk
cp .env.example .env      # Windows: copy .env.example .env

# Windows
run_obelisk.bat

# Linux / macOS / WSL
bash run_obelisk.sh

One command starts the API on :8000 and the UI on :5173, then opens the browser. The launcher guards port 8000 and replaces a stale listener (run_obelisk.bat --restart).

Other installs -- production Docker behind a Caddy gateway on :80, a systemd unit, or a manual venv -- are in docs/configuration.md.

Want live sources to play with? docker compose -f docker-compose.sources.yml up -d starts Postgres on :5434 and MongoDB on :27018.

What you can do

Catalog and ingest. Introspect lakehouse folders and connected databases, then stream tables in as Snappy Parquet with snapshot, incremental (watermark) or upsert (primary key) semantics. Attachable sources (Postgres, MySQL, MariaDB, and MongoDB) can also be queried live, uncopied.

Query Studio. DuckDB in-process analytical SQL, CSV and Parquet export, a virtualized grid, and cross-source federated joins in a single statement:

SELECT 
    c.company_name AS customer,
    geo.Capital AS capital_city,
    geo.Continent AS continent,
    COUNT(o.order_id) AS orders,
    ROUND(SUM(o.total_amount), 2) AS total_spend
FROM pg_enterprise_warehouse.crm.customer c
JOIN lakehouse.raw.sales_order o 
    ON c.customer_id = o.customer_id
JOIN read_csv('http://raw.githubusercontent.com/datasets/country-codes/master/data/country-codes.csv') geo
    ON c.country = geo."ISO3166-1-Alpha-2"
GROUP BY 1, 2, 3
ORDER BY total_spend DESC
LIMIT 5;

Query Studio: 3-way federated join across PostgreSQL CRM, local Lakehouse Parquet, and live HTTP CSV with schema explorer and results grid

Pipelines. A visual DAG canvas with conditional branching; step outputs bound downstream ({{steps.build.table}}); retry policies; sub-pipeline triggers; and streaming step logs.

Pipeline canvas: DAG with conditional branching, quality gate script step, webhook alert on failure, and step inspector

dbt Studio. Edit, compile, preview, and run models in the browser with DAG lineage and 50-row instant data preview.

dbt Studio: Jinja SQL editor, model DAG lineage, compiled SQL viewer, and instant live data preview

Notebooks. Reactive Marimo notebooks saved as plain .py scripts under git_repo/notebooks/, querying the lakehouse via the Obelisk Python SDK (obelisk.query), runnable interactively or headlessly in pipelines.

Reactive Marimo Notebook: querying the Obelisk lakehouse and external databases using the Python SDK

Scripts Studio & Quality Gates. Author and execute standalone Python scripts, data quality gates, and automated alert handlers with live execution telemetry and console streaming.

Scripts Studio: Python data quality gate execution console with parameter inputs and status checks

Vault. Variables and credentials encrypted at rest with Fernet and decrypted only in memory, at execution time: obelisk.var("OPENAI_API_KEY").

Verify it works

cd backend
python -m pytest tests -q                        # the backend test suite, no external services needed
python scripts/preflight_port.py                 # port availability and preflight checks

The end-to-end script seeds real sources, drives ingest, dbt and federated SQL, forces every edge condition, then reconciles the lakehouse against the sources -- no expected value is hardcoded. Details in docs/testing.md.

Learn more

  • How it works -- the control plane, the seven seams, the run model
  • Python SDK -- table, query, save, var, spark
  • Configuration -- every environment variable, ports, installs
  • Testing -- the zero-mock discipline and both verification harnesses
  • .env.example -- the canonical settings list

License

MIT -- see LICENSE.

Built with ❤️ for data engineers who value speed, autonomy, and simplicity.

Explore projetos relacionados

Carregando…