Now I'll build this out as a second view inside the app — a full interactive "App Blueprint" (نقشهی ساخت اپ) with tech-stack comparisons, architecture, feature modules, UI system, security, performance, compatibility matrix, and roadmap. First, the data layer.
Now the renderer component for the blueprint, with all block types.
Now I'll add a top-level view switcher to App.tsx so users can toggle between the guide and the blueprint.
Now the header: I'll add a view switcher and make the nav conditional.
Build succeeded ✅ — I added a second view to the app, accessible via the "App Blueprint" toggle in the header (plus a CTA at the end of the guide). It's a complete technical document across 9 interactive tabs:
📐 The Blueprint: "CraftDeck"
01 · Overview — Product vision, two personas (the "friend host" vs. the semi-pro admin), core pain point, and a North Star metric: the percentage of users who, on first run, build a server that at least one other person successfully connects to — target above 70%.
02 · Tech Stack — A comparison table of 4 real options (Tauri, Electron, .NET 8 + WinUI 3, Avalonia/Flutter) across output size, RAM, dev speed, and design freedom. Recommendation: Tauri v2 + React + Rust — because an app running alongside a multi-gigabyte server has no right to be heavy. Plus 12 cards covering the full stack (Zustand, TanStack Query, uPlot, react-virtuoso, Tokio, rusqlite, RCON, Tauri Updater).
03 · Architecture — A 5-layer diagram (Presentation → State → IPC Bridge → Rust Services → Data), the complete project folder tree, plus real code: the Instance/ServerState model, the start_server command with a 4-step preflight → Job Object → log stream → watchdog, and a typed IPC wrapper.
04 · Features — 12 detailed modules: the 5-step creation wizard, version manager (live from Mojang/Paper/Fabric APIs), automatic Java management, safe shutdown via /stop before killing, smart console, live monitoring, player management, visual server.properties editor, backups, Modrinth mod store, networking/tunneling, and a task scheduler. Includes the "Party Mode" idea — one button that starts the server + brings up the tunnel + copies the invite.
05 · UI — 6 design principles (progressive disclosure, one primary action, instant feedback, safe destructive actions, error = solution, meaningful empty states), a screen inventory table, and full design tokens with a color language for server state.
06 · Security — A 10-row risk/mitigation table (privileges, hash verification, RCON, DPAPI, online-mode, malicious plugins, code signing) plus a minimal Tauri capabilities file — note that shell:execute is fully locked down.
07 · Performance — Ring buffer + throttled IPC + virtualization, auto-generated Aikar's JVM flags (real Rust code), and a target metrics table.
08 · Compatibility — The critical MC version → Java version matrix (8 / 16 / 17 / 21) as executable code, supported loaders, and handling for Persian/spaced paths.
09 · Roadmap — 5 phases from skeleton to v2.0, with the rule: don't start Phase 3 until a newcomer can build a server unaided.
Files built: src/blueprint.ts, src/components/Blueprint.tsx, src/App.tsx