# Offline Rendering & Portable Projects

> Render 100% offline with zero telemetry, move or share project folders anywhere, protect existing MP4s, and control cache paths.

PraisonAI Film is designed to work reliably on laptops, air-gapped studio workstations, and CI runners without cloud accounts or network calls.

---

## 1. 100% Offline Execution

After the one-time installation (`aifilm`, FFmpeg, and Playwright's Chromium shell):

- **Zero network requests during rendering** — all fonts (`Nunito Sans`, `JetBrains Mono`, `Inter`), art styles, sets, props, and scripts are bundled locally inside `aifilm`.
- **Zero telemetry** — your scripts, client briefs, and rendered MP4s never leave your machine.
- **Read-only package safe** — the installed `aifilm` package and its built-in assets never need write access at runtime.

---

## 2. Portable Project Folders

When you run `aifilm new hello`, the folder contains only:

- `hello/film.yaml` — your script
- `hello/film.schema.json` — local editor autocomplete schema

Nothing inside `hello/` points to your user directory or machine path. You can **move, zip, email, or commit `hello/` to Git**, and anyone with `aifilm` installed can render the exact same video.

---

## 3. Clean External Cache (`FILM_CACHE_DIR`)

Reusable compile and edit caches live outside your project folder in:

- `$XDG_CACHE_HOME/aifilm` (or `~/.cache/aifilm`)

Override the location anytime:

```bash
export FILM_CACHE_DIR=/tmp/aifilm-cache
```

---

## 4. Safe Output Protection

- Existing `.mp4` files are **never overwritten** unless you pass `--overwrite`.
- If a YAML edit introduces an error or fails a `--final` quality gate, your previous `.mp4` remains untouched byte-for-byte.

## Related pages

- [Make & Revise Your First Film](https://film.praison.ai/docs/getting-started/first-film.md)
- [Quality Gates & Watermark](https://film.praison.ai/docs/guides/quality-gates.md)
- [Troubleshooting & FAQ](https://film.praison.ai/docs/reference/troubleshooting.md)
