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

# Sync assets

> Upload large demo assets to keep image, video, and audio files out of your GitHub repo.

Captured demos can include large screenshots, videos, generated audio, and HTML snapshot assets. `inkly sync` uploads those managed assets to Inkly storage and updates `assets.json` with hosted URLs.

You do **not** need to run `inkly sync` to launch or host a demo. Inkly can read local assets from your hub when you publish through the normal hosted-demo workflow.

Use `inkly sync` as a cleanup step when you want to avoid committing large image, video, or audio files to GitHub. After sync, your repo can stay focused on demo source files while the heavy assets live in Inkly storage.

## Sign in

Asset sync requires an Inkly account:

```bash theme={null}
inkly login
```

## Sync all demo assets

From inside a hub, run:

```bash theme={null}
inkly sync
```

## Sync one demo's assets

Use `--demo` when you only want to upload assets for one demo:

```bash theme={null}
inkly sync --demo onboarding
```

## Preview the upload plan

Use `--dry-run` to see what would upload without changing files:

```bash theme={null}
inkly sync --dry-run
```

Use JSON for automation:

```bash theme={null}
inkly sync --json
```

<Note>
  `inkly sync` is optional. It is meant to keep your repository clean, not to make a hosted demo work.
</Note>
