Project · 2025

MinURL

A self-contained single-file PHP URL shortener with a first-run setup wizard, basic click tracking and support for SQLite or MySQL.

PHPSQLiteMySQL

Why it exists

MinURL is designed for cases where a private shortener is useful, but deploying a larger platform or plugin-based stack would be excessive.

Project media

Architecture

  • Everything lives in a single minurl.php file.
  • First run asks for SQLite or MySQL configuration and admin password setup.
  • The admin password is hashed and stored into the configured state.
  • Visits are redirected while basic click metadata is recorded.

Key features

  • One-file deployment.
  • SQLite or MySQL support.
  • First-time guided setup.
  • Admin interface.
  • Basic click tracking including timestamp, IP and headers.

Design decisions

The project embodies a lightweight, self-hosted philosophy: quick setup, low maintenance and enough functionality for private or internal usage.

Links