Development setup
Repository access, Git and Node.js 22.16+ with npm are required for source development. Packaging uses Node 24. Packaged users do not need these tools.
Clone and start
git clone --branch develop https://github.com/siaas-software/siaas-personal.git
cd siaas-personal
npm ci
npm run desktop:dev
Use develop for normal contributions and target it with a feature-branch pull request; main is the stable branch. See CONTRIBUTING.
The desktop command builds the local server and starts Electron. It is not a hot-reload server: run it again after source changes. No Supabase project or .env.local is needed for the local guest workflow.
Web layer
npm run dev
This command is for the Next.js web layer. It does not replace the desktop runtime. Local work and public GitHub Release updates require no account or private service configuration.
Verification
npm test
npm run typecheck
npm run build
npm run desktop:build
For real model behavior, run npm run ollama:test with a local Ollama installation. Knowledge integration tests use temporary data and deterministic fixtures. Do not use production documents for tests.
Technical source of truth
The repository README remains the technical entry point. Its English reference snapshot is available here without duplicating the source manually. The website and desktop repositories have separate builds.
Optional research service diagnostics
- Windows: install Docker Desktop, complete the supported WSL 2 / virtualization setup, select Linux containers and start Desktop.
- macOS: install Docker Desktop for Intel or Apple silicon and start it.
- Linux: install Docker Engine and Compose v2, start the daemon and grant your user access according to your local security policy.
Verify in a new terminal:
docker --version
docker compose version
docker info
Then use Settings → Experimental Features → Refresh Status and explicitly enable the desired feature. Setup never installs Docker or starts its daemon automatically. If controls stay unavailable, check PATH, permissions, Engine accessibility, Linux-container mode and supported architecture/version. Service errors may instead indicate failed image/model downloads, occupied ports, insufficient resources or unavailable Ollama. Check the research status and local service log; retry after fixing the cause.
For advanced troubleshooting from the application source/version directory:
npm run research:status
npm run research:setup -- reasoning
npm run research:setup -- web
npm run research:start -- reasoning
npm run research:start -- web
npm run research:stop -- reasoning
npm run research:stop -- web
Each mutating command requires an explicit service. These commands prepare/stop services; they do not grant feature consent or change the switches. Prefer the application controls. For a managed installation, use runtime.node and runtime.npm from current.json, with --prefix <install-root>/versions/<folder> before run; global Node.js/npm and nvm changes are unnecessary. The default root is %LOCALAPPDATA%/SIAAS Personal Source on Windows and ~/.local/share/siaas-personal-source on macOS/Linux; respect a custom SIAAS_INSTALL_DIR.
Implementation reuses the existing Laya container for reasoning, and the existing Morphic local Node adapter plus its SearXNG Docker service for web research. This preserves access to loopback-only Ollama without changing its binding. Engine names are technical details, not the main UI labels.