/app Editor NEW TypeScript
Browser-based YAML editor for RouterOS/app container definitions — from restraml
RouterOS 7.22+ introduced /app — a YAML-based format for packaging and deploying containerized applications directly on a MikroTik router. Think of it as a lightweight docker-compose, but RouterOS-specific: its own networking model, placeholder system, and deployment lifecycle. The /app Editor is a browser-based Monaco editor (the same engine that powers VS Code) with live JSON Schema validation against your chosen RouterOS version.
Browse MikroTik’s growing library of built-in apps — Home Assistant, code-server, Pi-hole, and more — then customize one and deploy it. The YAML is validated in real time as you type. Errors are pinpointed inline; click any error message to jump to that line.
What it does
- Live validation — JSON Schema, per RouterOS version, loaded from tikoci/restraml
- Example picker — browse and load any of MikroTik’s built-in app definitions
- Monaco editor — YAML autocompletion, Ctrl+Space for suggestions, full keyboard shortcuts
- Copy
/app/add— copies a ready-to-paste RouterOS CLI command to deploy the app - Download & Share — save as
.tikapp.yamlor generate a shareable URL encoding the full editor state - App store mode — toggle to edit the array format used by
/app set app-store-urls= - Autosave — every keystroke is saved to
localStorage; your work survives a page reload
Behind the scenes — how the schema gets here
The validation schema is generated automatically: when MikroTik releases a new RouterOS version, a GitHub Actions workflow boots a RouterOS CHR image using QEMU, queries GET /rest/app to extract all built-in /app definitions, then generates and publishes per-version JSON Schemas to GitHub Pages. The editor loads those schemas at runtime — no server, no backend.
The same schemas are available as stable public URLs, making them suitable for use with the VS Code YAML extension for local .tikapp.yaml editing — see the restraml README for setup details.