Develop
Isolated environments, self-tests, how to contribute and how to add a new tool to QuotaDesk.
Code structure
The primary desktop application lives in apps/desktop (Tauri 2 + Rust under src-tauri, UI under ui/). The previous C# .NET 10.0 WinForms implementation remains in src/QuotaDesk only during the transition to a deprecated legacy branch (legacy/winforms-net10).
| Path | Role |
|---|---|
apps/desktop/src-tauri/src/{lib,main,startup}.rs | Tauri entry point, single instance, tray, edge dock, Turing simulator and lifecycle |
apps/desktop/src-tauri/src/{codex,claude,claude_hooks,antigravity,cursor,kimi,opencode,figma,mcp}.rs | quota readers, hooks, local discovery and OAuth/MCP |
apps/desktop/src-tauri/src/{connections,profile_storage,renewals,turing}.rs | SQLite/DPAPI store, profile migration, reset alerts and Turing serial protocol |
apps/desktop/ui/{index.html,loft.js,styles.css,dock.*,turing-model.js,turing-preview.*} | Loft/Retro UI, minimal edge bar, settings and Turing simulator |
apps/desktop/scripts/{test-windows.ps1,package-windows.ps1} | Rust test runner and .exe, .zip, -setup.exe & .msi packaging into dist/ |
src/QuotaDesk (legacy .NET 10.0) | original WinForms code archived prior to deprecation |
Build, test and package
cd apps/desktop
npm install
npm run dev # run in development mode
npm run test:ui # fast Node UI model tests
powershell -ExecutionPolicy Bypass -File .\scripts\test-windows.ps1
npm run package:windows # build QuotaDesk.exe, portable ZIP and installers into dist/
Run the leak scanner before pushing code:
powershell -ExecutionPolicy Bypass -File scripts\scan-leaks.ps1 -All
Archiving the .NET 10.0 version before merging into main
To keep the current .NET 10.0 WinForms codebase on a dedicated branch that will be deprecated later:
git branch legacy/winforms-net10 main
git push origin legacy/winforms-net10
Contributing
Issues and pull requests are welcome. Before opening a PR, run the self-tests and turn on the hooks that block keys and personal data:
git config core.hooksPath .githooks
- Never attach
settings.json,*.datfiles,error.logor screenshots with your account data. - No personal data in tracked files: in examples, use
C:\Users\<your-user>or%LOCALAPPDATA%. - Use your GitHub noreply e-mail in commits.
The full rules are in SECURITY.md.
Add a tool
The steps are on the Add a provider page. The full guide for coding agents, with the project rules and the adapter skeleton, is in AGENTS.md (in Portuguese).
These docs
The pages are written in Markdown in docs/docs/md/ (Portuguese) and docs/en/docs/md/ (English). To build the HTML:
python scripts/build_docs.py
The script uses only the Python standard library and writes static pages to docs/docs/ and docs/en/docs/.
Roadmap
Today QuotaDesk runs only on Windows. The next versions bring the same office to Linux and macOS: first by splitting out a core without WinForms, then by moving the drawing to Skia. Step 1 doesn't need a Mac or Linux. See the full roadmap.