pyrooka / metabase-cubejs-driver

Connect Metabase with Cube.js.
GNU Affero General Public License v3.0
4 stars 6 forks source link
clojure cube cubejs hacktoberfest metabase metabase-driver

NOTE

CubeJS has an official SQL API now, so try that before using this driver, since it could be more reliable and well supported. You can find more info here.

Update

Since Cube.js now provides an official way to connect it to Metabase, there is no need for this repo anymore so I'm making it read-only. It was a great journey to learn the "basic" of Clojure, to make this project work and to see how the data flows between the 2 apps.

Thanks to all the people who helped me working on this in any way!

Due to an unfortunate move by someone at my previous company, the "original" repo became private and we lost all the stars, so I leave this screenshot here as a memento :) archive


metabase-cubejs-driver

Latest Release GitHub license

Cube.js driver for Metabase. With this driver you can connect your Cube.js server to Metabase just like a DB.
Metabase fetches all schemas (cubes) and that's all: you can make queries, filter the results and create beautiful charts and dashboards.

Explanation:

Cube.js Metabase
measure metric & field
dimension field
time dimension field

NOTE: The driver is under development so expect some bugs and missing features. If you find one please create an issue.

Features

Working

Installation

Requirements

Build without Docker

Use this guide.

Copy to your Metabase plugins

cp cubejs.metabase-driver.jar /path/to/metabase/plugins/
Note: you have to restart Metabase to load new plugins

Usage

  1. Add and configure your Cube.js "DB" Add new DB
  2. Inspect your Data Model Data Model
  3. Create a query
    • Native Native query
    • Custom question Custom question
  4. Explore the data Results

    Development

    Roadmap

    v1.0.0

Testing the driver

  1. Create the docker images: make docker
  2. Start a whole test environment: make start

Contributing

License

GNU Affero General Public License v3.0 (AGPL)