⚡️ Lightdash
The open source Looker alternative
Website • Watch demo • Docs
Lightdash is a BI tool that is fully integrated with your dbt project, allowing you to define metrics alongside your data models.
Features
- 🙏 Familiar interface for your users to self-serve using pre-defined metrics
- 👩💻 Declare dimensions and metrics in yaml alongside your dbt project
- 🤖 Automatically creates dimensions from your dbt models
- 📖 All dbt descriptions synced for your users
- 📊 Simple data visualisations for your metrics
- 🚀 Share your work as a URL or export results to use in any other tool
Get started
Start learning Lightdash:
- Play with a UI demo (no setup)
- Setup your own lightdash with demo data (run locally with docker)
- Setup Lightdash with your existing dbt project (requires your own dbt project)
About Lightdash
Lightdash removes the gap between your data transformation layer and your data visualization layer. It enables data analysts and engineers to control all of their business intelligence (data transformations/business logic as well as data visualization) in a single place.
Lightdash integrates with your dbt project and gives a framework for defining metrics and specifying joins between models all within your existing dbt YAML files. The data output from your dbt project is then available for exploring and sharing in Lightdash.
- No more scattered, duplicated metrics across multiple tools.
- No more time spent trying to maintain data changes in both dbt and and your data viz tools.
- No more context lost between your data transformation and your data visualization layer.
Run the demo
Get started with a demo dbt project and launch Lightdash on your machine:
git clone --recurse-submodules https://github.com/lightdash/lightdash
cd lightdash/examples/full-jaffle-shop-demo
docker compose up
Open lightdash at https://localhost:8080
Run with your own dbt project
Bigquery users should read the additional docs here
cd path/to/your/dbt/project
export DBT_PROJECT_DIR=${PWD}
export DBT_PROFILES_DIR=${HOME}/.dbt
export LIGHTDASH_PORT=8080
docker run -p "${LIGHTDASH_PORT}:8080" -v "${DBT_PROJECT_DIR}:/usr/app/dbt" -v "${DBT_PROFILES_DIR}:/usr/app/profiles" lightdash/lightdash
Open lightdash at https://localhost:8080
Installation from source
Lightdash requires node.js and yarn.
Install dependencies for Mac OS
# Install node with homebrew
brew install node
# Install yarn with node package manager
npm install -g yarn
# Clone the Lightdash repo
git clone https://github.com/lightdash/lightdash
# Enter the repo directory
cd lightdash
# Install Lightdash dependencies and build
yarn install
yarn build
Launching Lightdash
# Specify the path to your dbt project
# (i.e. the directory containing dbt_project.yml)
# You MUST use the absolute path (i.e no ../../myrepo)
export DBT_PROJECT_DIR=/Users/myuser/dbtrepo
# Build and run Lightdash
yarn start
# Press ALLOW when asked to "accept incoming connections from python"
Docs
Have a question about a feature? Or maybe fancy some light reading? Head on over to our Lightdash documentation to check out some tutorials, reference docs, FAQs and more.
Reporting bugs and feature requests
- Want to report a bug or request a feature? Open an issue.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Rahul Jain 📖 |
Oliver Laslett 💻 📖 🐛 |
Katie Hindson 🐛 📖 🎨 |
Hamzah Chaudhary 📖 |
Harry Grieve 📖 |
Dominik Dorfmeister 🎨 |
This project follows the all-contributors specification. Contributions of any kind welcome!