2026-05-16 12:48:02 +08:00
---
description : Install SnapOtter with Docker in one command. Includes Docker Compose setup, building from source, and a full feature overview.
---
2026-04-16 16:17:43 +08:00
# Getting Started
2026-03-22 21:00:37 +08:00
2026-05-17 09:25:12 +08:00
::: tip Try before installing
Explore the full UI at [demo.snapotter.com ](https://demo.snapotter.com ) -- no signup or install required.
:::
2026-04-16 16:17:43 +08:00
## Quick Start
2026-03-22 21:00:37 +08:00
```bash
2026-05-01 19:42:11 +08:00
docker run -d --name SnapOtter -p 1349:1349 -v SnapOtter-data:/data snapotter/snapotter:latest
2026-03-22 21:00:37 +08:00
```
2026-04-25 07:17:45 +08:00
You will be asked to change your password on first login.
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
::: tip NVIDIA GPU acceleration
Add `--gpus all` for GPU-accelerated background removal, upscaling, OCR, face enhancement, and restoration:
2026-04-05 20:35:24 +08:00
```bash
2026-05-01 19:42:11 +08:00
docker run -d --name SnapOtter -p 1349:1349 --gpus all -v SnapOtter-data:/data snapotter/snapotter:latest
2026-04-05 20:35:24 +08:00
```
2026-04-16 16:17:43 +08:00
Requires the [NVIDIA Container Toolkit ](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html ). Falls back to CPU automatically. See [Docker Tags ](/guide/docker-tags ) for benchmarks.
2026-04-05 20:35:24 +08:00
:::
2026-05-17 09:25:12 +08:00
::: details Also on GHCR
```bash
docker run -d --name SnapOtter -p 1349:1349 -v SnapOtter-data:/data ghcr.io/snapotter-hq/snapotter:latest
```
Both registries publish the same image on every release.
:::
2026-04-16 16:17:43 +08:00
## Docker Compose
2026-03-22 21:00:37 +08:00
```yaml
services :
2026-04-24 18:02:21 +08:00
SnapOtter :
2026-04-25 01:28:02 +08:00
image : snapotter/snapotter:latest # or ghcr.io/snapotter-hq/snapotter:latest
2026-03-22 21:00:37 +08:00
ports :
- "1349:1349"
volumes :
2026-04-24 18:02:21 +08:00
- SnapOtter-data:/data
2026-03-22 21:00:37 +08:00
environment :
- AUTH_ENABLED=true
- DEFAULT_USERNAME=admin
- DEFAULT_PASSWORD=admin
2026-06-16 18:04:52 +08:00
- DATABASE_URL=postgres://snapotter:snapotter@postgres:5432/snapotter
- REDIS_URL=redis://redis:6379
depends_on :
postgres :
condition : service_healthy
redis :
condition : service_healthy
2026-03-22 21:00:37 +08:00
restart : unless-stopped
2026-06-16 18:04:52 +08:00
postgres :
image : postgres:17-alpine
environment :
POSTGRES_USER : snapotter
POSTGRES_PASSWORD : snapotter
POSTGRES_DB : snapotter
volumes :
- SnapOtter-pgdata:/var/lib/postgresql/data
restart : unless-stopped
healthcheck :
test : [ "CMD-SHELL" , "pg_isready -U snapotter" ]
interval : 10s
timeout : 5s
retries : 12
redis :
image : redis:8-alpine
command : [ "redis-server" , "--maxmemory-policy" , "noeviction" , "--appendonly" , "yes" ]
volumes :
- SnapOtter-redisdata:/data
restart : unless-stopped
healthcheck :
test : [ "CMD" , "redis-cli" , "ping" ]
interval : 10s
timeout : 5s
retries : 12
2026-03-22 21:00:37 +08:00
volumes :
2026-04-24 18:02:21 +08:00
SnapOtter-data :
2026-06-16 18:04:52 +08:00
SnapOtter-pgdata :
SnapOtter-redisdata :
2026-03-22 21:00:37 +08:00
```
2026-04-16 16:17:43 +08:00
See [Configuration ](/guide/configuration ) for all environment variables.
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
## Build from Source
2026-03-22 21:00:37 +08:00
2026-06-16 18:04:52 +08:00
**Prerequisites:** Node.js 22+, pnpm 9+, Docker (for Postgres + Redis), Python 3.10+ (for AI features), Git.
2026-03-22 21:00:37 +08:00
```bash
2026-05-10 22:41:52 +08:00
git clone https://github.com/snapotter-hq/SnapOtter.git
cd SnapOtter
2026-06-16 18:04:52 +08:00
docker compose -f docker-compose.dev.yml up -d # start Postgres + Redis
2026-03-22 21:00:37 +08:00
pnpm install
pnpm dev
```
2026-04-16 16:17:43 +08:00
- Frontend: [http://localhost:1349 ](http://localhost:1349 )
- Backend: [http://localhost:13490 ](http://localhost:13490 )
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
## What You Can Do
2026-03-22 21:00:37 +08:00
2026-06-16 18:04:52 +08:00
### File Processing (157 Tools)
2026-03-22 21:00:37 +08:00
2026-06-16 18:04:52 +08:00
| Modality | Count | Example Tools |
|----------|-------|---------------|
| **Image** | 64 | Resize, Crop, Compress, Convert, Remove Background, Upscale, OCR, Watermark, Collage, Colorize, GIF Tools |
| **Video** | 29 | Trim, Crop, Compress, Convert, Merge, Extract Audio, Auto Subtitles, Video to GIF, Resize, Stabilize |
| **Audio** | 17 | Trim, Merge, Convert, Normalize, Noise Reduction, Transcribe, Pitch Shift, Fade, Ringtone Maker |
| **PDF / Document** | 37 | Merge, Split, Compress, OCR, Watermark, Redact, Word to PDF, Excel to PDF, Rotate, Protect, Repair |
| **Data** | 10 | CSV to JSON, JSON to XML, Merge CSVs, Split CSV, Create ZIP, Extract ZIP, Chart Maker, YAML/JSON |
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
### Pipelines
2026-03-22 21:00:37 +08:00
2026-04-16 16:17:43 +08:00
Chain tools into multi-step workflows and apply them to one image or a whole batch:
1. Open **Pipelines** in the sidebar.
2. Add steps (any tool, any settings).
2026-04-23 20:50:38 +08:00
3. Run on a single file - or an entire batch at once.
2026-04-16 16:17:43 +08:00
4. Save the pipeline for later reuse.
2026-04-23 20:50:38 +08:00
Pipelines have unlimited steps by default.
2026-04-16 16:17:43 +08:00
### File Library
2026-04-24 18:02:21 +08:00
Every file you process can be saved to your **Files** library. SnapOtter tracks the full version history so you can trace every processing step from the original upload to the final output.
2026-04-16 16:17:43 +08:00
### REST API & API Keys
Every tool is accessible via HTTP:
```bash
2026-06-21 00:12:59 +08:00
curl -X POST http://localhost:1349/api/v1/tools/image/resize \
2026-04-16 16:17:43 +08:00
-H "Authorization: Bearer si_<your-api-key>" \
-F "file=@photo.jpg" \
-F 'settings={"width":800,"height":600,"fit":"cover"}'
```
Generate API keys under **Settings → API Keys** . See the [REST API reference ](/api/rest ) for all endpoints, or visit [http://localhost:1349/api/docs ](http://localhost:1349/api/docs ) for the interactive reference.
### Multi-User & Teams
Enable multiple users with role-based access control:
2026-04-16 16:40:18 +08:00
- **Admin**: full access - manage users, teams, settings, all files/pipelines/API keys
2026-04-16 16:17:43 +08:00
- **User**: use tools, manage own files/pipelines/API keys
Create teams under **Settings → Teams** to group users.
Set `AUTH_ENABLED=true` (or `false` for single-user/self-use without login).