To run
| Need | Version | Notes |
|---|---|---|
| Node.js | 22 or newer | Next.js 16 needs a current LTS. npm test uses Node's built-in TypeScript support. |
| npm | 10 or newer | Comes with Node.js. |
| Database | SQLite (included) or PostgreSQL 14+ | See Manual setup. |
| Disk | about 600 MB | node_modules plus the build. Uploaded photos come on top. |
| Memory | 1 GB | 2 GB recommended while running npm run build. |
Python 3.9+ is only needed for scripts/e2e_api.py (no extra packages) and for regenerating the sample photos (scripts/gen_images.py, needs Pillow).
Optional services
| Feature | What it needs |
|---|---|
| AI assistant | Any OpenAI-compatible chat endpoint: OpenAI, Azure OpenAI, OpenRouter, or a local Ollama. |
| AI staging studio | An OpenAI-images-compatible endpoint that edits photos (.../images/edits). |
Without them everything else works; the two AI pages explain how to switch them on.
Browsers
The website and the dashboard work in the last two versions of Chrome, Edge, Firefox and Safari, on phones from 360 px wide. Saved homes and the comparison list use the browser's local storage.
Skills
Installing and customising Dar needs basic command-line use. Changing pages needs React and TypeScript; changing texts only needs editing messages/ar.json and messages/en.json.