StarkLite documentation

StarkLite is a single Go binary that opens a SQLite file in your browser. It is designed for short-lived, password-protected access to databases on production servers and developer machines.

How it works

  1. You run starklite path/to/db.sqlite (or pipe the run script).
  2. The binary generates a random port (6000–6999) and a 16-character password.
  3. It opens an HTTP server bound to 0.0.0.0 by default — or 127.0.0.1 with --bind-localhost.
  4. The URL, username, and password are printed to the terminal.
  5. When you press Ctrl-C, the service shuts down. Nothing is left running.

What StarkLite is not

  • Not a database server. It opens a single SQLite file you already have.
  • Not a long-running service. Use --expire or --idle-timeout and stop it when done.
  • Not a public dashboard. Treat the generated password like an SSH key — anyone with it has full access (or read-only with --readonly).

Next steps