Back to services

Zipline

A lightweight, fast and reliable file sharing server that is commonly used with ShareX, offering a react-based Web UI and fast API.

View alternatives to Zipline
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Zipline is an open-source file upload server released under the MIT license. It can act as a custom upload destination for screenshot and upload tools such as ShareX, and it also lets you upload, manage, and share all kinds of files directly through its web interface. Its tagline is "easy to use, feature-rich, simple to deploy," which makes it a good fit for individuals and small teams who want to set up their own image host, file sharing, or URL shortening service.

Key Features

  • Upload any file: Supports images, videos, documents, and other file types, as well as chunked uploads (Partial Uploads) for large files.
  • File organization: Manage uploads with folders and tags.
  • URL shortener: Comes with a built-in URL shortening feature.
  • Embeds: Generates embed previews when you share links, which display nicely on platforms such as Discord.
  • Webhook notifications: Supports Discord webhooks and generic HTTP webhooks.
  • Security and authentication: Supports OAuth2 login, two-factor authentication (2FA), and Passkeys, and files can be password-protected.
  • Media processing: Can compress images and generate thumbnails for videos.
  • Multi-user management: Users can register with invite codes, and you can set quotas (Quotas) for them.
  • Other: Provides an API, PWA support, and custom themes.

Target Users and Use Cases

  • Users who take screenshots with tools like ShareX and want to upload them to their own server
  • Individual site owners who want to set up a private image host or file sharing site
  • Users who need to share files in a Discord community with embed previews
  • Administrators who want to offer a controlled file hosting service to a team or friends (managed with invites and quotas)

Deployment

The officially recommended way to deploy is with Docker Compose, running Zipline together with a PostgreSQL database:

  1. Generate secrets and write them to .env. It must include POSTGRESQL_PASSWORD and CORE_SECRET. Zipline cannot start without CORE_SECRET.
  2. Use the official docker-compose.yml. The image is ghcr.io/diced/zipline, the database is postgres:16, and you need to mount the three directories ./uploads, ./public, and ./themes.
  3. Run docker compose up -d, then visit http://localhost:3000.

Optional configuration:

  • Use DATASOURCE_LOCAL_DIRECTORY to change the local storage path.
  • Use CORE_PORT and CORE_HOSTNAME to change the listening port and hostname.
  • After setting DATASOURCE_TYPE=s3 and the related credentials, you can store files in S3-compatible object storage.

The documentation also explains how to install manually from source.

Technical Requirements

  • A PostgreSQL database is required
  • The CPU must support the AVX instruction set. The project does not provide binaries or images for CPUs without AVX support.

Notable Points

  • v4 is a complete rewrite and cannot be upgraded directly from v3. You need to export your data first, then import it using the importer built into v4.
  • Official documentation: zipline.diced.sh