Skip to content
项目

关于

免费开源的文件工具集,支持处理 PDF、图像、视频和音频。只需一条 Docker 命令,即可在自己的服务器上进行压缩、转换、OCR、去除背景和转录。提供 200 多种工具、本地 AI 和 REST API,可替代 iLovePDF、TinyWow、CloudConvert 和 remove.bg。

设计与媒体

这些数字如何统计

可以做什么

  • Image (114): resize, crop, compress, convert, watermark, color adjust, beautify screenshots, generate memes, vectorize, optimize SVG, GIF tools, find duplicates, passport photos, plus dedicated format converters (JPG to PNG, HEIC to JPG, WebP to PNG, image to PDF, and more). Supports 55+ input formats (including 23 camera RAW formats) and 17 output formats
  • Video (63): convert, compress, trim, resize, crop, merge, video-to-GIF, extract audio, stabilize, change FPS, burn/extract/convert subtitles, plus dedicated converters (MOV to MP4, MKV to MP4, MP4 to MP3, and more)
  • Audio (57): convert, trim, normalize, volume, fade, pitch shift, silence removal, noise reduction, merge/split, waveform, plus dedicated converters (M4A to MP3, AAC to MP3, OGG to WAV, and more)
  • PDF (37): merge, split, compress, convert, protect/unlock, redact, sign, watermark, page numbers, multi-tool page editor, OCR, PDF to Markdown, resize pages to 4x6 shipping labels, plus PDF to JPG/PNG/TIFF

实测星标增长

24小时
+14
7天
+26
15天
+53
1个月
+110

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

SnapOtter, the open-source file toolkit

Image pulls Stars License Discord

Open-source file toolkit for PDFs, images, video and audio. Compress, convert, OCR, remove backgrounds and transcribe on your own server instead of uploading files to websites. 200+ tools and local AI, through a web UI, REST API and pipelines.

Stirling-PDF stops at PDFs. ConvertX stops at conversions. SnapOtter covers image, video, audio, PDF and file tools, and your files never leave your server. Edit images, convert video, transcribe audio, repair PDFs, batch your files: one Docker stack, on hardware you own.

SnapOtter - Dashboard

Quick Start

One command, that's it.

docker run -d --name SnapOtter -p 1349:1349 -v SnapOtter-data:/data snapotter/snapotter:latest

Open http://localhost:1349 and log in with admin / admin. That's the whole install.

For the production Compose stack, NVIDIA GPU acceleration, and configuration, see Deployment below.

Key Features

  • 200+ tools across 5 modalities:
    • Image (114): resize, crop, compress, convert, watermark, color adjust, beautify screenshots, generate memes, vectorize, optimize SVG, GIF tools, find duplicates, passport photos, plus dedicated format converters (JPG to PNG, HEIC to JPG, WebP to PNG, image to PDF, and more). Supports 55+ input formats (including 23 camera RAW formats) and 17 output formats
    • Video (63): convert, compress, trim, resize, crop, merge, video-to-GIF, extract audio, stabilize, change FPS, burn/extract/convert subtitles, plus dedicated converters (MOV to MP4, MKV to MP4, MP4 to MP3, and more)
    • Audio (57): convert, trim, normalize, volume, fade, pitch shift, silence removal, noise reduction, merge/split, waveform, plus dedicated converters (M4A to MP3, AAC to MP3, OGG to WAV, and more)
    • PDF (37): merge, split, compress, convert, protect/unlock, redact, sign, watermark, page numbers, multi-tool page editor, OCR, PDF to Markdown, resize pages to 4x6 shipping labels, plus PDF to JPG/PNG/TIFF
    • Files (32): CSV/JSON/XML/YAML conversion, CSV merge/split, Excel to CSV, chart maker, font conversion (OTF to TTF, TTF to WOFF2, and more), text case conversion, proportion calculator, ZIP create/extract, merge text files, Base64 text encode/decode
  • Image editor: Free layer-based editor with brushes, shapes, adjustments, filters, curves, and keyboard shortcuts. Runs in your browser and processes on your hardware
  • Local AI: Remove backgrounds, upscale images, restore and colorize old photos, erase objects, blur faces, enhance faces, extract text (OCR from images and PDFs), transcribe audio, auto-generate video subtitles, expand canvas, and fix transparency. All on your hardware, no internet required. Built-in Fast OCR adds about 25 MiB to the official image; the optional accuracy pack installs on demand
  • OIDC / SSO: Login with Google, GitHub, Okta, or any OpenID Connect provider
  • 21 languages: English, Arabic, Chinese (Simplified & Traditional), Dutch, French, German, Hindi, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese. RTL support for Arabic
  • Pipelines: Chain tools into reusable workflows, 20 steps by default (MAX_PIPELINE_STEPS). Import/export as JSON. Batch size is unlimited in the published image and 100 from a source build (MAX_BATCH_SIZE)
  • REST API: Every tool available via API with API key auth. Interactive docs at /api/docs
  • Self-hosted: one docker run for a single-container quick start (embedded Postgres 17 + Redis 8), or the same Postgres 17 + Redis 8 as a Compose stack for production. No external SaaS dependencies
  • Multi-arch: Runs on AMD64 and ARM64 (Intel, Apple Silicon, Raspberry Pi)
  • Privacy first: Your files never leave your network. Basic analytics are on by default to help us catch bugs and improve tools. Admins can turn them off in Settings, which stops all analytics traffic, start a new instance with them off by setting SNAPOTTER_ANALYTICS_DEFAULT=off before its first boot, or disable them at build time with SNAPOTTER_ANALYTICS=off (Here's how to do it)

Deployment

The Quick Start one-liner above is all most people need. For production, run the 3-container Compose stack (app + Postgres 17 + Redis 8). Save this as compose.yaml:

services:
  snapotter:
    image: snapotter/snapotter:latest
    ports: ["1349:1349"]
    environment:
      # Requests are served by a role that can only read and write rows. The
      # owner connects only during boot, to migrate and to grant.
      DATABASE_URL: postgres://${POSTGRES_APP_USER:-snapotter_app}:${POSTGRES_APP_PASSWORD:-snapotter_app}@postgres:5432/${POSTGRES_DB:-snapotter}
      DATABASE_MIGRATION_URL: postgres://${POSTGRES_USER:-snapotter}:${POSTGRES_PASSWORD:-snapotter}@postgres:5432/${POSTGRES_DB:-snapotter}
      REDIS_URL: redis://redis:6379
    volumes:
      - SnapOtter-data:/data
    depends_on: [postgres, redis]
    restart: unless-stopped
  postgres:
    image: postgres:17-alpine
    environment:
      POSTGRES_USER: ${POSTGRES_USER:-snapotter}
      # Change this and POSTGRES_APP_PASSWORD for any non-local deployment.
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-snapotter}
      POSTGRES_DB: ${POSTGRES_DB:-snapotter}
    volumes: ["SnapOtter-pgdata:/var/lib/postgresql/data"]
    restart: unless-stopped
  redis:
    image: redis:8-alpine
    volumes: ["SnapOtter-redisdata:/data"]
    restart: unless-stopped
volumes:
  SnapOtter-data:
  SnapOtter-pgdata:
  SnapOtter-redisdata:

Then start the stack:

docker compose up -d
Have an NVIDIA GPU? Click here for CUDA acceleration.

Use the GPU Compose file for NVIDIA CUDA-accelerated background removal, upscaling, and transcription. OCR deliberately uses the same portable CPU runtime on CPU-only and NVIDIA hosts. Intel/AMD iGPU acceleration through VA-API, Quick Sync, or OpenCL is not supported for AI inference today; those systems run AI tools on CPU. See Docker Tags for the GPU Compose example and benchmarks.

Default credentials:

Field Value
Username admin
Password admin

You will be asked to change your password on first login.

For Docker Compose, persistent storage, and other setup options, see the Getting Started Guide. For NVIDIA CUDA acceleration and tag details, see Docker Tags.

Documentation

Contributing

We welcome bug reports, feature ideas, and pull requests. See CONTRIBUTING.md for the full guide, or jump in:

Support SnapOtter

SnapOtter is built and maintained independently with no venture capital or corporate backing. Sponsorships fund infrastructure, keep releases flowing, and ensure the project stays free and open for everyone.

If SnapOtter has replaced a paid subscription or two in your workflow, a small sponsorship helps keep it that way:

Sponsor SnapOtter on GitHub

SnapOtter is free and open source, made possible by the people below.

Karol Brandon High Tom Dominic Lopez

@kkwpsi  ·  @highb  ·  @CSP-Tom  ·  @dominic427

SnapOtter star history chart

License

This project is dual-licensed under the AGPLv3 and a commercial license.

  • AGPLv3 (free): You may use, modify, and distribute this software under the AGPLv3. If you run a modified version as a network service, you must make your source code available under the AGPLv3.
  • Commercial license (paid): For use in proprietary software or SaaS products where AGPLv3 source-disclosure is not suitable, a commercial license is available. Contact us for pricing and terms.

See LICENSING.md for full details on the open-core boundary between AGPLv3 and commercial code.

探索相关项目

加载中…