Repository navigation
Contributing
Thank you for helping! Locarust is MIT licensed; everything happens on GitHub.
Languages are plain JSON files in lang/.
- Copy
en.jsonto<code>.json(de.json,es.json,pt-br.json…). - Set
"_name"to the language's own name ("Deutsch"). - Translate the values only; keep the English keys and placeholders like
{name}as they are. - Open a pull request.
A partial file is welcome — missing sentences show in English. After merging, Locarust downloads the language at start: no release needed. Details: lang/README.md.
Apps are listed in apps.json:
{
"id": "wordpress", "name": "WordPress", "category": "CMS", "version": "7.1.5",
"url": "https://wordpress.org/wordpress-7.1.5.zip",
"sha256": "…",
"root": "wordpress", "installer": "wordpress", "db": true, "admin": "/wp-admin/",
"php_min": "8.1", "php_max": "8.5",
"home": "https://wordpress.org",
"description": { "en": "…", "tr": "…" }
}Updating a version only needs a new url and sha256. A new kind of app needs an installer branch in src/apps.rs; test with cargo test install_every_app -- --ignored --test-threads=1.
catalog.json lists every downloadable service version with its official URL and SHA-256. Always take the checksum from the official source.
Requirements: Rust (stable), Windows 10/11, WebView2 (built into Windows 11), Inno Setup 6 for the installer.
cargo run # dev build; services run from .\runtime
cargo test # unit tests; keeps lang/en.json in sync with the texts
cargo test -- --ignored --test-threads=1 # end-to-end with real nginx/PHP/MySQL in runtime\bin
powershell -ExecutionPolicy Bypass -File scripts\build-release.ps1 # installerPut development service versions in runtime\bin\<service>\<version>. Rules for code changes are in AGENTS.md.
- Bugs: open an issue with steps, your version and the log lines.
- Ideas and questions: Discussions.
Locarust · MIT © Ali Çömez (Slaweally) · Powered by Megabre · Download · Guide · Discussions
Getting started
Using Locarust
- Projects
- Apps
- Configuration
- Components and PHP extensions
- Databases
- Backups
- Publishing to a server
- Local HTTPS
- Command line
- Settings
Help
🇹🇷 Türkçe