Show HN: Trilogy Studio, open-source browser-based SQL editor and visualizer

1 day ago (trilogydata.dev)

SQL-first analytic IDE; similar to Redash/Metabase. Aims to solve reuse/composability at the code layer with modified syntax, Trilogy, that includes a semantic layer directly in the SQL-like language.

Status: experiment; feedback and contributions welcome!

Built to solve 3 problems I have with SQL as my primary iterative analysis language:

1. Adjusting queries/analysis takes a lot of boilerplate. Solve with queries that operate on the semantic layer, not tables. Also eliminates the need for CTEs.

2. Sources of truth change all the time. I hate updating reports to reference new tables. Also solved by the semantic layer, since data bindings can be updated without changing dashboards or queries.

3. Getting from SQL to visuals is too much work in many tools; make it as streamlined as possible. Surprise - solve with the semantic layer; add in more expressive typing to get better defaults;also use it to wire up automatic drilldowns/cross filtering.

Supports: bigquery, duckdb, snowflake.

Links [1] https://trilogydata.dev/ (language info)

Git links: [Frontend] https://github.com/trilogy-data/trilogy-studio-core [Language] https://github.com/trilogy-data/pytrilogy

Previously: https://news.ycombinator.com/item?id=44106070 (significant UX/feature reworks since) https://news.ycombinator.com/item?id=42231325

After dismissing the tips I am greeted with errors:-

  {
    "message": "NetworkError when attempting to fetch resource.",
    "error": true,
    "running": false
  }

If I check the console, it appears to be due to CORS failures.

  • Hey! So sorry about that - thanks for saying something. That's on the initial load of the dashboard link? What's the URL you see it on in console? If you're using the public resolver it will do some CORS validation but should pass for the trilogydata site - are you running locally?