Skip to content

rilldata/rill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rill logo


GitHub license GitHub tag (latest SemVer) GitHub commit activity GitHub contributors GitHub downloads CI/CD


Rill delivers the fastest path from data lake to dashboard. For data engineers and analysts, it provides rapid, self-service dashboards built directly on raw data lakes, eliminating traditional BI complexity. For data consumers, it ensures reliable, fast-loading dashboards with accurate, real-time metrics.

Download Rill to start modeling data and create fast, exploratory dashboards in minutes:

curl https://rill.sh | sh
rill start my-rill-project

Unlike most BI tools, Rill comes with its own embedded in-memory database powered by DuckDB or ClickHouse. Data and compute are co-located, and queries return in milliseconds, so you can pivot, slice, and drill-down into your data instantly.

We also support bringing your own OLAP engine as a live connector with pushdown compute capabilities.

Rill dashboard example

Table of Contents

Rill's design principles:

  • Lightning Fast - Powered by SvelteKit & DuckDB for conversationally fast performance
  • Universal Data Support - Works with local and remote datasets (Parquet, CSV, S3, GCS, HTTPS, local)
  • Automatic Profiling - Build intuition about your dataset through automatic profiling
  • Real-time Response - Responds to each keystroke by re-profiling the resulting dataset
  • Interactive Dashboards - Thoughtful, opinionated defaults for quick insights
  • Dashboards as Code - Version control, Git sharing, and easy project rehydration

Core Concepts

BI-As-Code

Rill implements BI-as-code through a combination of:

  1. SQL-based Definitions: Define your models via SQL to connect to your various sources
  2. YAML Configuration: Configure your metrics views, dashboards, and project settings via YAML
  3. Git Integration: Version control your analytics assets
  4. CLI Tools: Deploy and manage your analytics stack from the command line

Rill Fundamentals

Metrics Layer

Rill's metrics layer provides a unified way to define, compute, and serve business metrics. Metrics views combine SQL models with YAML configuration to create standardized, reusable business metrics that can be consumed by dashboards, APIs, and AI systems.

Example Metrics View:

# metrics/revenue_metrics.yaml
name: revenue_metrics
description: Key revenue metrics by country and product
model: revenue_model
timeseries: date
dimensions:
  - name: country
    column: country
  - name: product_category
    column:product_category
measures:
  - name: total_revenue
    expression: sum(amount)
    description: Total revenue amount
  - name: order_count
    expression: count(*)
    description: Number of orders
  - name: avg_order_value
    expression: sum(amount) / count(*)
    description: Average order value

AI Agents

We understand the critical importance of AI and data in modern business intelligence. Our metrics layer is designed to provide AI systems with the structured, real-time data they need to deliver quick and accurate responses. By co-locating data and compute with embedded databases like DuckDB and ClickHouse, Rill eliminates the latency that traditional BI tools introduce, ensuring AI agents can access fresh metrics instantly for precise decision-making and intelligent automation.

Learn More

For visual learners, take a look at our various playlists that explains what Rill is and how to get the most out of it!

Production Examples

Programmatic Ads/OpenRTB

Bidstream data for programmatic advertisers to optimize pricing strategies, look for inventory opportunities, and improve campaign performance.

Cost Monitoring

Based on Rill's own internal dashboards, cloud infrastructure data (compute, storage, pipeline statistics, etc.) merged with customer data to analyze bottlenecks and look for efficiencies.

GitHub Analytics

Analyze GitHub activity to understand what parts of your codebase are most active, analyze contributor productivity, and evaluate the intersections between commits and files.

App Engagement

A conversion dataset used by marketers, mobile developers, or product teams to analyze funnel steps.

Kitchen-sink example

A compilation of projects with deep dives into Rill's features using ClickHouse's GitHub commit information.

Get in touch!

Company

Rill is developed and maintained by Rill Data, Inc..

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.