From database to data app, fast.
SQLPage lets you build data-driven applications in a few SQL queries.
Itβs free, open-source, lightweight, and easy to use.
Easy
You can teach yourself enough SQL to query and edit a database through SQLPage in a weekend. We handle security and performance for you, so you can focus on your data.
Beautiful
Fast
Pages load instantly, even on slow mobile networks. SQLPage is designed as a single lightweight executable, ensuring fast performance even on low-cost servers.
𧩠Easy User Interface
At the core of SQLPage is a rich library of user interface components for tables, charts, maps, timelines, forms and much more.
To build your app, you just populate the components with data returned by your database queries.
πͺ Automatic
SQLPage handles HTTP requests, database connections, streaming rendering, styling, security, and performance for you.
Focus only on your data, and how you want to present it. We've tamed the tech, you tame the data.
What is SQLPage ?
β¨ SQLPage turns your SQL queries into eye-catching websites
SQLPage is a tool that allows you to build websites using nothing more than SQL queries. You write simple text files containing SQL queries, SQLPage runs them on your database, and renders the results as a website.
You can display the information you SELECT
from your database in
lists, tables, charts, maps, forms, and many other user interface widgets.
But you can also INSERT
, UPDATE
and DELETE
data from your database using SQLPage, and build a full webapp.
𧩠Pre-built components let you construct websites Quickly and Easily
At the core of SQLPage is a rich library of components. These components are built using traditional web technologies, but you never have to edit them if you don't want to. SQLPage populates the components with data returned by your SQL queries. You can build entire web applications just by combining the components that come bundled with SQLPage.
As an example, the list of features on this page is generated using a simple SQL query that looks like this:
SELECT 'card' as component, 'What is SQLPage ?' as title;
SELECT header AS title, contents AS description_md FROM homepage_features;
However, you can also create your own components, or edit the existing ones to customize your website to your liking. Creating a new component is as simple as creating an HTML template file.
π‘οΈ A secure web server written in Rust
SQLPage removes a lot of the complexity and bloat of the modern web. It's a lightweight web server that just receives a request, finds the file to execute, runs it, and returns a web page for the browser to display.
Written in a fast and secure programming language (Rust),
it empowers non-developers to build secure web applications easily. You download a single executable file,
write an index.sql
, and in five minutes you turned your database into a website that you can
deploy on the internet easily.
We made all the optimizations, wrote all of the HTTP request handling code and rendering logic, implemented all of the security features, so that you can think about your data, and nothing else.
When SQLPage receives a request with a URL ending in .sql
, it finds the corresponding
SQL file, runs it on the database, passing it information from the web request as SQL statement parameters
in a safe manner.
When the database starts returning rows for the query,
SQLPage maps each piece of information in the row to a parameter in the template of a pre-defined component,
and streams the result back to the user's browser.
π± Start Simple, Scale to Advanced
SQLPage is a great starting point for building websites, internal tools, dashboards and data applications, especially if you don't have a lot of time, but need something more powerful and user-friendly than a spreadsheet.
When your app grows, you can take the same underlying data structure and queries, and wrap them in a more established framework with a dedicated front end if you need to. There is no lock-in, only simple, standard SQL queries that run directly on your database.
Focus on what matters first: your data and your users. Not centering boxes in CSS, not setting up a web framework.
Get started: where to go from here ?
Examples
Community
Is SQLPage for you ?
SQLPage empowers SQL-savvy individuals to create dynamic websites without complex programming.
- If you are looking to quickly build something simple yet dynamic, SQLPage is for you.
- If you want to customize how every pixel of your website looks, SQLPage is not for you.
Compared to other low-code platforms, SQLPage focuses on SQL-driven development, more lightweight performance, and total openness. Where other platforms try to lock you in, SQLPage makes it trivial to switch to something else when your application grows.