> ## Documentation Index
> Fetch the complete documentation index at: https://docs.suski.si/llms.txt
> Use this file to discover all available pages before exploring further.

# Run Suski from source

> Start the Next.js website, native desktop app and Mintlify preview.

Install the workspace dependencies with Node.js and npm. For the desktop build, install Rust and the system prerequisites for Tauri. The macOS build also uses Xcode’s Swift toolchain.

## Start the apps

```bash theme={null}
npm ci
npm run dev -w @fillfox/web
```

Run the desktop app from a separate terminal.

```bash theme={null}
npm run tauri:dev -w @fillfox/desktop
```

## Deploy the website and docs

| Project | GitHub branch | Directory |
| - | - | - |
| Website on Vercel | `main` | `apps/web` |
| Documentation on Mintlify | `main` | `/mintlify` |

The website uses the repository workspace lockfile and shared sources outside its root directory. In Vercel, use the Next.js preset and enable **Include source files outside of the Root Directory**. Use `https://suski.si` for the website and `https://docs.suski.si` for Mintlify. Once the docs domain serves your project, set `SUSKI_DOCS_URL=https://docs.suski.si` on the website project.

## Set up managed AI

Set `AI_GATEWAY_API_KEY`, `SUSKI_MODEL`, and optionally `SUSKI_DECISION_MODEL` in `apps/web/.env.local` or in Vercel's server environment. For an account-free preview, set a separate random `SUSKI_AI_TEST_TOKEN` of at least 24 characters. Put only that test credential and the preview `SUSKI_AI_URL` ending in `/api/ai` into the tester’s local desktop configuration. Keep provider credentials on the server.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.