observable-framework-lib-sqlite

Integrate SQLite databases into Observable Framework projects for client-side data management.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/spqw/skill-observable-framework --skill observable-framework-lib-sqlite
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observable-framework-lib-sqlite
Source: https://github.com/spqw/skill-observable-framework/tree/main/skills/observable-framework-lib-sqlite
Command: npx skills add https://github.com/spqw/skill-observable-framework --skill observable-framework-lib-sqlite

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables the use of SQLite databases directly within Observable Framework projects, allowing for client-side data storage and querying without external dependencies.

Core Features & Use Cases

  • SQLite Integration: Leverages sql.js (WASM-based SQLite) for in-browser database functionality.
  • Database Client: Provides a SQLiteDatabaseClient implementing the Database Client specification.
  • Use Case: Load a SQLite database file (e.g., chinook.db) and execute SQL queries to retrieve and display data, such as customer information or track details, directly in your Observable Framework application.

Quick Start

Load the SQLite database from the file 'chinook.db' and query all customers.

Frequently Asked Questions about observable-framework-lib-sqlite

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use SQLite for client-side data management in Observable Framework?

To use SQLite for client-side data management in Observable Framework, load a SQLite database file via FileAttachment or URL and execute SQL queries using a provided DatabaseClient for dynamic data retrieval.

What is the best way to query a SQLite database directly within an Observable Framework application?

The best way to query a SQLite database in an Observable Framework application is using the provided SQLiteDatabaseClient, which implements the Database Client specification to execute SQL queries directly in the browser.

Can I load SQLite databases from a URL in Observable Framework?

Yes, you can load SQLite databases in Observable Framework from a URL or FileAttachment, enabling in-browser data querying using WASM-based SQLite without external dependencies.

Does Observable Framework support client-side SQL databases without external dependencies?

Yes, Observable Framework supports client-side SQL databases without external dependencies by leveraging sql.js, a WASM-based SQLite implementation, to provide in-browser database functionality.

What are the limitations of using WASM-based SQLite for client-side data storage?

Using WASM-based SQLite for client-side data storage requires loading the entire database file into the browser's memory, which may constrain performance or capacity when querying extremely large SQLite databases.