Skip to content

SQLPage

Relational Databases

A static webapp generator that builds interactive data‑centric sites directly from SQL queries

Rust Latest v0.45.0 · 5d ago Security brief →

Features

  • Generates live, interactive web pages from simple .sql files
  • Supports multiple database backends via native drivers and ODBC
  • Provides built‑in components for lists, charts, forms, tabs, cards, etc.
  • Runs as a compiled binary or inside Docker containers

Recent releases

View all 15 releases →
Config change
v0.45.0 Breaking risk
Auth

Email send + trimmed builds + config format limit

Upgrade now
v0.44.1 Security relevant
Auth

OIDC protected path bypass fix

Review required
v0.44.0 New feature
Auth

Request tracing + structured logging

v0.43.0 Bug fix
Notable features
  • Added submit and reset form button icons (validate_icon, reset_icon, reset_color)
  • Improved error messages for incorrect SQLPage function usage with precise file reference and line number
  • Updated SQL parser to version 0.61.0
Full changelog

SQLPage v0.43.0 (2026-03-08)

[!NOTE]
SQLPage transforms your SQL queries into web user interfaces. It lets you create web applications quickly, entirely in SQL.
Download for Windows, MacOS, or Linux, or try online!

  • OIDC protected and public paths now respect the site prefix when it is defined.
  • Fix: OIDC provider metadata refreshes now always happen in the background, and with a timeout. Previously, a slow OIDC provider could prevent SQLPage from handling requests for an arbitrary amount of time.
  • Fix: forms without submit or reset buttons no longer keep extra bottom spacing.
  • add submit and reset form button icons: validate_icon, reset_icon, reset_color
  • improve error messages when sqlpage functions are used incorrectly. Include precise file reference and line number
  • updated sql parser: https://github.com/apache/datafusion-sqlparser-rs/blob/main/changelog/0.61.0.md
  • Add margin bottom in the big number component
  • In forms without a submit button (such as auto_submit forms), remove awkward padding at the end of the form
v0.42.0 New feature
Notable features
  • Better support for alternative databases: DuckDB‑specific syntax, Oracle‑specific syntax, and SQL file parsing
  • New Docker image variant `lovasoa/sqlpage:*-duckdb` with preconfigured DuckDB ODBC drivers for easy CSV/XLSX/JSON/Parquet usage
  • Added functions `sqlpage.web_root()` and `sqlpage.configuration_directory()` to reliably reference web root and config directories
Full changelog

SQLPage v0.42.0 (2025-12-28)

[!NOTE]
SQLPage transforms your SQL queries into web user interfaces. It lets you create web applications quickly, entirely in SQL.
Download for Windows, MacOS, or Linux, or try online!

New features

  • Better support for alternative databases
    • SQL file parsing
      • add support for some DuckDB-specific syntax (like select {'a': 1, 'b': 2}),
      • same for Oracle-specific syntax
  • New docker image variant: lovasoa/sqlpage:latest-duckdb, lovasoa/sqlpage:main-duckdb, lovasoa/sqlpage:v0.42.0-duckdb with preconfigured duckdb odbc drivers. Just run the image and you have a sqlpage connected to a duckdb running. This makes it much easier to use SQLPage on existing local or remote CSV, XLSX, JSON, or Parquet files without any data conversion step.
  • New config option: cache_stale_duration_ms to control the duration for which cached sql files are considered fresh.

New Functions

  • sqlpage.web_root() returns the web root directory where SQLPage serves .sql files from. This is more reliable than sqlpage.current_working_directory() when you need to reference the location of your SQL files, because it takes into account the --web-root command line argument and the WEB_ROOT environment variable.
  • sqlpage.configuration_directory() returns the configuration directory where SQLPage looks for sqlpage.json, templates, and migrations.

Bug fixes

  • Fixed oracle-specifc bugs. The entire sqlpage test suite now runs against an oracle database after each change, guaranteeing no regression.
  • The default welcome page (index.sql) now correctly displays the web root and configuration directory paths instead of showing the current working directory.
  • sqlpage.variables() returned json objects with duplicate keys when post, get and set variables of the same name were present. It now always returns valid json objects without duplicate keys. The semantics of the returned values remains the same (precedence: set > post > get).
  • better oidc support. Single-sign-on now works with sites:
    • using a non-default site_prefix
    • hosted behind an ssl-terminating reverse proxy
  • Fixed a bug where sqlpage would sometimes redirect to the wrong url after logout, causing logout failures when using sqlpage.oidc_logout_url()

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

About

Stars
2,526
Forks
175
Languages
Rust Handlebars SQL

Install & Platforms

Install via
binary docker brew
Platforms
linux macos windows arm64

Beta — feedback welcome: [email protected]