Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

SQLPage on a VPS

SQLPage turns .sql files into web pages: each query renders as a table, chart, form or list, so a database becomes a usable app without front-end code.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
8080/tcpPorts
MITLicense

About SQLPage

SQLPage is an MIT-licensed web server written in Rust. Every .sql file in its web root is a page: one query picks a component (table, chart, form, cards) and the next ones fill it with rows.

It connects to SQLite, PostgreSQL, MySQL and Microsoft SQL Server, and to ODBC sources such as DuckDB or ClickHouse. On a CloudSat server, an existing database gets a reporting screen or a small admin tool in an afternoon, with no JavaScript build to maintain.

After deploy SQLPage listens on port 8080. Settings live in sqlpage/sqlpage.json; with no database_url set, it creates a SQLite file named sqlpage.db in that configuration directory.

What you get with SQLPage

  • Pages written as .sql files, no HTML required
  • Built-in tables, charts, forms, cards, maps and more
  • SQLite, PostgreSQL, MySQL, SQL Server and ODBC sources
  • Form posts and URL parameters mapped to SQL variables

SQLPage use cases

  • Add a reporting page on top of an existing PostgreSQL database
  • Build an internal CRUD tool for a small team
  • Publish a read-only dashboard of business numbers

After you deploy SQLPage

  1. Once the server is Running, visit http://<server IP>:8080; an index.sql file in the web root becomes the home page.
  2. Add pages over SSH: each .sql file name turns into a URL path.
  3. Set database_url in sqlpage/sqlpage.json to your real database, and switch environment to production before launch.
  4. Serve it on a domain over HTTPS, and guard private pages with the authentication component.

SQLPage ports

Open these in your firewall if you use one: 8080/tcp HTTP.

SQLPage FAQ

Do I need to know HTML to use SQLPage?

No. A query such as SELECT 'table' AS component; sets how results look, and the next query supplies the rows. Custom templates are optional.

Can SQLPage run shell commands?

Only when allow_exec is enabled, and it is off by default. Keep it off unless everyone who can edit your .sql files is trusted.

Disclaimer. The SQLPage project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

SQLPage on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back