Localwi (local + kiwi 🥝) runs Nginx, PHP, MySQL/MariaDB, PostgreSQL, MongoDB, Redis, Memcached,
Mailpit and RustFS, and gives each project its own address (myapp.test) with HTTPS, background
processes and cron jobs.
It is a single ~5 MB program that needs no runtime and no administrator rights, and writes nothing outside its own folder.
You can install it on a flash drive, in your Dropbox, or on Google Drive, you choose what is needed when starting up!
- Webservice (Nginx), PHP, databases (MySQL, MariaDB, PostgreSQL, MongoDB), cache (Redis, Memcached), email (Mailpit) and S3-compatible storage with a web console (RustFS). Start, stop, restart, reload, or Kill a stuck process after seeing which PIDs it will end. Ports, SSL and version are set per service.
- Install and switch versions in each service's Versions tab. The lists in
app/catalog/sync weekly or on demand, so new versions need no app release. Windows downloads come from each project's official site (Redis and Memcached from community builds, since there are no official ones). On macOS the services come from Nix, pinned per version, except MongoDB and Mailpit. - Put a service's commands (
php,nginx,mysql,psql,redis-cli...) on your PATH, for the active version or a fixed one, through shims inbin\shims.
- A folder, an address with aliases, a type (Static, PHP, Node/NPM, Docker container, or a proxy
to any IP and port) and a server template (WordPress, Laravel, Symfony, CodeIgniter, Yii2,
Drupal...). Edit the rewrite rules or write the whole server block yourself. Every subdomain
(
api.myapp.test) reaches the project; an alias without a dot, such astenant1, becomestenant1.myapp.test. - Each PHP project can use any installed PHP version; several run side by side. Every config
change is tested with
nginx -ton a copy first, so a broken config is never applied. - Xdebug per PHP version, in a second php-cgi that only requests with a trigger reach (browser
extension,
?XDEBUG_TRIGGER=1), so other requests stay fast.php-debugruns a command with it; the PHP page copies a VS Codelaunch.json(port 9003). - HTTPS from a local certificate authority, with a per-project certificate (covering
*.addresstoo) renewed when its addresses change. Optional http to https redirect.
- Docker: a running container's published port gets the project's address and HTTPS. The folder's compose project can start and stop with the project.
- Git: branch, changes and ahead/behind in the list; changed files, recent commits, Fetch, Pull (fast-forward only) and links to the remote, VS Code and GitHub Desktop on the project page. New projects can be cloned from a URL, with their type detected.
- Share a project on a public
https://….trycloudflare.comaddress through a Cloudflare Quick Tunnel (no account). WordPress gets a temporary must-use plugin so its links use that address.
- Audits every WordPress and ClassicPress project for outdated core, plugins, themes and PHP (wordpress.org, endoflife.date), known vulnerabilities (wpvulnerability.net), file integrity (wordpress.org checksums), compatibility and whether the site answers.
- Security Audit: reads
composer.lockandpackage-lock.json, lists vulnerabilities from OSV.dev with severity and fixing version, and newer releases from Packagist and npm. Updates run one package at a time through Composer or npm, with optional commits, push and tests.
localwi --mcpis an MCP server for Claude Code, Cursor, VS Code, OpenCode (...): Preferences → AI (MCP) copies the setup for each. Assistants read projects, logs, recent requests (status and time) and PHP versions even with Localwi closed.- With more access, chosen in the same tab, they start, stop and restart services and projects, apply the Nginx config, turn Xdebug requests on or off, and add projects or change their aliases, PHP version and SSL. Localwi opens in the tray when an action needs it.
- They never approve a Procfile, run other commands or delete anything; every action shows in Activity. The switch at the top of the tab turns AI tools off entirely, over any client or project configuration: no tools, no control channel, and Localwi is never opened by one.
- Queue workers, watchers and Node apps start and stop with their project, each with its own
Start/Stop, log and "Start all" setting. A project's
Procfileruns only after you allow it; the install'susr\Procfileis edited in the app. - Per-project cron (
* * * * *,@daily,@reboot...) runs while Localwi is open, plus the install'scronical.dat. One click adds the Laravel scheduler or WordPress cron.
Windows 10 or 11, x64 or arm64. From the latest release:
| Installer | localwi-<version>-windows-<x64|arm64>-setup.exe, per user, no administrator rights |
| Portable | localwi-<version>-windows-<x64|arm64>.zip, unzip anywhere and run localwi.exe |
| winget | winget install Butialabs.Localwi, the same installer |
Every file is listed in the release's SHA256SUMS.txt.
macOS 13+ on Apple silicon. localwi-<version>-macos-arm64.zip holds Localwi.app;
move it to Applications.
- It is signed ad hoc, without an Apple Developer ID. The first time, right click it > Open >
Open, or run
xattr -dr com.apple.quarantine /Applications/Localwi.app. - Services are installed with Nix. Install it once
(
curl -fsSL https://install.determinate.systems/nix | sh -s -- install); the Versions tab shows the command too. - Data lives in
~/Library/Application Support/Localwi. The hosts file and trusting the CA (login keychain) ask for your password.
- Open Localwi. Services not installed yet are greyed out in the side menu; click one to install a version. Hide the ones you don't use in Preferences → Services.
- Add project: pick its folder, type and address.
- Saving adds the address to the hosts file. Windows asks for permission when addresses change, unless Localwi runs as administrator.
- For HTTPS, turn the project's SSL on and press Trust it on the Nginx page once.
Localwi is built for one account on a development machine. Report security problems as described in SECURITY.md.
Requires Rust (stable).
git clone https://github.com/butialabs/localwi
cd localwi/app
cargo run # debug build
cargo test # tests
cargo build --release # target/release/localwi.exe
cargo build --release --target aarch64-pc-windows-msvc # Windows on Arm
packaging/macos/bundle.sh target/release/localwi 0.0.0 dist # macOS: Localwi.app and its zipOpen an issue for a bug, an idea or a new
service version. Pull requests are welcome; run cargo test first and keep UI text in plain English.
- New service versions: edit the service's file in
app/catalog/with the official download URL. CI rejects any site not inOFFICIAL_SOURCES(app/src/catalog.rs). - Translations: see
app/locales/README.md.
GNU AGPL v3. Bundled font: Geist, SIL Open Font License
(app/assets/fonts/OFL.txt). Services installed through Localwi keep
their own licenses.
