# AGENTS.md

High performance self-hosted photo and video management solution.

## Setup

```
pnpm install
```

## Commands

```
pnpm format       # format
pnpm format:fix
```

## Layout

- `mobile/`           901 source files
- `web/`              713 source files
- `server/`           609 source files
- `e2e/`              76 source files
- `machine-learning/` 36 source files
- `packages/`         32 source files

## Conventions

- Tests live alongside the code they cover, following `e2e/src/specs/maintenance/server/database-backups.e2e-spec.ts`.
- CI defines what passing means. See `.github/workflows/auto-close.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `packages/sdk/src/fetch-client.ts` is 215KB. It will not fit comfortably in context, so read it in parts.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
