A single-file self-hosted PHP tool for directly uploading files to Wasabi (or any S3-compatible storage) using presigned PUT URLs -- no SDK required.
It ships with a clean dark UI, simple login, drag & drop multi-upload, global progress tracking, and share-ready output in multiple formats (URLs, HTML, Markdown, BBCode, or custom templates).
- 🧩 One PHP file, no external dependencies
- 🔐 Session-based login with optional hashed password support & rate limiting
- ☁️ Direct browser → Wasabi upload via presigned PUT
- 📂 Smart prefix, date folders, lowercase & random filename handling
- 🖼️ HTML, Markdown, BBCode, custom template outputs
- 📊 Global batch progress tracking
- 📐 Auto-detected image/video width & height
- 🧱 Optional MIME allowlist
- 🌐 CDN base URL override support
- PHP ≥ 7.4 (recommended 8.0+)
- Enabled extensions: hash, json, openssl, mbstring
- HTTPS server
- Wasabi or S3-compatible storage bucket with CORS enabled
- Upload
wasabi-direct-uploader.phpto a PHP-enabled server. - Access it via HTTPS.
- Protect it from public indexing.
Edit the CONFIG section in the PHP file:
$WASABI_REGION = '';
$WASABI_BUCKET = '';
$AWS_ACCESS_KEY = '';
$AWS_SECRET_KEY = '';
$CDN_BASE = '';
$EXPIRES_SECONDS = 3600;
$ALLOW_MIME = [];
$FORCE_LOWERCASE = true;
$ADD_RANDOM_PREFIX = true;Login configuration:
define('USERNAME', 'admin');
define('PASSWORD', 'Admin@123');
PASSWORDcan be stored as plain text or as a secure hash generated bypassword_hash(). You can generate both using Init Password Generator.
- Set up bucket CORS.
- Open the tool in your browser.
- Login.
- Drag & drop files.
- Click Upload.
- Copy output.
- Always use HTTPS.
- Change default credentials.
- Restrict MIME types if needed.
- Use short presign expiration times.
MIT License — free to use, modify, and distribute for personal and commercial projects.
This tool is part of the Self-Hosted Tools – Lightweight, developer-friendly utilities for upload and storage — a set of fully self-hosted utilities built for developers who value simplicity, security, and performance.