SQLPage
Relational DatabasesA static webapp generator that builds interactive data‑centric sites directly from SQL queries
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 →- 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
- 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
- New docker image variant:
lovasoa/sqlpage:latest-duckdb,lovasoa/sqlpage:main-duckdb,lovasoa/sqlpage:v0.42.0-duckdbwith 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_msto control the duration for which cached sql files are considered fresh.
New Functions
sqlpage.web_root()returns the web root directory where SQLPage serves.sqlfiles from. This is more reliable thansqlpage.current_working_directory()when you need to reference the location of your SQL files, because it takes into account the--web-rootcommand line argument and theWEB_ROOTenvironment variable.sqlpage.configuration_directory()returns the configuration directory where SQLPage looks forsqlpage.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
- using a non-default
- 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.