8000 GitHub - fhk/sqlrooms: Building blocks for React data analytics apps powered by DuckDB-WASM
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fhk/sqlrooms

 
 

Repository files navigation

SQLRooms

Building blocks for React data analytics applications powered by DuckDB

Documentation | Examples

Overview

SQLRooms is a comprehensive framework for building powerful data analytics applications that run entirely in the browser. It combines DuckDB's SQL capabilities with React to create interactive, client-side analytics tools without requiring a backend.

Check out our example projects to see what you can build with SQLRooms.

Key Features

  • Browser-Based Analytics Engine: Leverages DuckDB-WASM to process data directly in the browser, enabling offline functionality and eliminating backend dependencies.
  • Complete UI Framework: Provides a rich set of React components including data tables, SQL editors, and visualization tools built with Tailwind CSS.
  • Flexible Layout System: Includes a mosaic-style panel system for creating customizable, responsive dashboards.
  • Project Management: Built-in state management for analytics projects with persistence capabilities.
  • Data Source Integration: Support for various data sources including CSV, Parquet files, and S3-compatible storage.
  • AI-Ready: Optional AI integration for natural language querying and automated insights.
  • Privacy-Focused: All data processing happens client-side, keeping sensitive data local when needed.

Core Packages

Feature Packages

Use Cases

  • Interactive data exploration and analysis tools
  • Custom business intelligence dashboards
  • Self-contained analytics applications
  • Privacy-focused data processing solutions
  • AI-powered data analysis workflows

See our example projects for real-world implementations, including:

  • AI-powered analytics with natural language querying
  • Graph visualization with Cosmos
  • 2D embedding visualization
  • Interactive dashboards with Mosaic

Usage

Check out the Getting Started guide.

Running example apps

pnpm install
pnpm build
cd examples/ai
pnpm dev
open http://localhost:5173

Develop locally

pnpm install
pnpm build
pnpm dev

Devel documentation locally

The documentation is built using VitePress and TypeDoc. To develop the documentation locally:

  1. Install dependencies:

    pnpm install
    pnpm build
    pnpm docs:dev

    This will start a local server with hot-reloading at http://localhost:5173

  2. Build the documentation:

    pnpm docs:build
  3. Preview the built documentation:

    pnpm docs:preview

    This will serve the built documentation at http://localhost:4173

The documentation source files are located in the docs/ directory. API documentation is automatically generated from TypeScript source code using TypeDoc.

Working with media files (Git LFS)

This project uses Git Large File Storage (LFS) for managing media files in the documentation. To work with these files:

  1. Install Git LFS on your system:

    # macOS (using Homebrew)
    brew install git-lfs
    
    # Ubuntu/Debian
    sudo apt install git-lfs
  2. Initialize Git LFS in your local repository:

    git lfs install

  3. Pull existing LFS files:

    git lfs pull
  4. When adding new media files to the docs/media/ directory, they will be automatically tracked by Git LFS as specified in the .gitattributes file.

About

Building blocks for React data analytics apps powered by DuckDB-WASM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.1%
  • JavaScript 1.6%
  • Other 0.3%
0