Skip to content

Repository files navigation

Shows a black logo in light color mode and a white one in dark color mode.

A Modern libSQL Database Management Platform — Web GUI + CLI

Static Badge GitHub Sponsors Discord GitHub commit activity GitHub License GitHub contributors


In the age of data-driven applications, the demand for lightweight, scalable, and modern database solutions has never been greater. libSQL is a powerful fork of SQLite designed for the modern era, offering advanced features such as serverless and server-based modes, fine-grained access control, and native branching capabilities.

MylibSQLAdmin is an open-source platform for managing libSQL databases. It ships two clients for the same admin API: an intuitive web GUI for day-to-day administration and libsql3, a PHP CLI for terminal workflows and scripts. By harnessing the full potential of libSQL-server functionalities, the platform makes it easier to manage databases from the interface you prefer. You can connect with libsql-server from Docker Service or use your existing libsql-server instance.

MylibSQLAdmin dashboard

Database management Database Studio SQL editor

Watch the demo on YouTube

What Does MylibSQLAdmin Offer?

  • Simple Database Statistics - Get quick insights into your database performance with easy-to-understand stats.
  • Database Management - Create, edit, and manage your databases with intuitive tools.
  • Token Management - Secure and control access to your system using token-based authentication.
  • Group Management - Organize users into groups for better structure and permission handling.
  • Team Management - Collaborate efficiently by managing teams and their access levels.
  • User Management - Easily handle user accounts, roles, and activity logs.
  • Member Invitation Management - Invite new members and track their onboarding status with ease.
  • CLI Access - libsql3 manages identity, teams, groups, databases, and tokens from the terminal. It provides an interactive REPL by default and one-shot commands for scripts. Read it on the published CLI docs, or in the repository: libsql3 CLI manual and generated command reference.

Support this Project

via GitHub Sponsor (Global) / via Saweria (Indonesian)

Requirements

  • Docker & Docker Compose (default engine). Kiri can be used instead for local development — see Contributing: Development Environment.
  • openssl
  • PHP 8.4 with pdo_sqlite, mbstring, and intl if you run libsql3 from source or from the verified PHAR.

Getting Started

Make sure the installer script is running inside your preferred directory!

curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/darkterminal/mylibsqladmin/refs/heads/main/scripts/installer.sh | sh

or read the Manual Installation Guides. For a custom domain with TLS termination, see Custom domain + TLS.

Bootstrap

Fresh production installs create no default accounts. Bootstrap your super-admin with:

docker compose exec webui php artisan db:seed --class=BootstrapSeeder

If LIBSQL_SEED_DEMO_USERS=true is set in the environment, demo users are created for local testing only — never set it in production.

CLI quick start

libsql3 lives in this repository and talks to the same platform API as the web GUI. With no arguments it opens the interactive REPL; with arguments it runs one command and exits.

php libsql3/libsql3 --version
export LIBSQL_API_ENDPOINT=https://admin.example.com
php libsql3/libsql3 auth:login <username>
php libsql3/libsql3 db:list

For the verified PHAR, install/upgrade instructions, endpoint policy, and workflows, read the libsql3 CLI manual. Command names, arguments, options, and defaults are generated in the CLI reference. One-shot output is human-readable, not a stable machine contract; automation should call the platform API directly.

Contributors

Contributions to both the web application and libsql3 are welcome. See CONTRIBUTING.md for setup, test commands, and generated-docs rules.

Contributors

Star History

Star History Chart

Releases

Sponsor this project

Packages

Contributors

Languages