Self-hosted parcel and order tracking. One backend for every carrier, shop and inbox, on your own hardware, with a Home Assistant integration built in.

Get started View on GitHub

Version 2.0.0

Docker Hub pulls Server stars Home Assistant integration stars Extension downloads Open issues

Features

About 95 carriers

Tracking-number detection, carrier status tables and tracking links from the shared rules package. For carriers with a provider, sign in to your carrier and shop accounts to pick up parcels automatically.

Shipping emails

Watches your inbox over IMAP IDLE and recognises shipping and order emails with community-maintained rules. Order confirmations start an order with its items and total; later emails move it on and file their tracking numbers under it.

Fallback services

For parcels no built-in carrier follows or finds, add a universal-lookup service by its address or 17TRACK with your own API key. Both are optional, paced and asked only about those parcels.

Easy to add connections

"Add a connection" opens a searchable picker with provider logos and countries, in English or German. The whole web UI follows your browser's language.

Live courier map

Follows the courier on a map while a carrier offers live tracking. Positions are never stored as a trail.

Delivery calendar

Expected deliveries in a calendar view and as an ICS feed for any calendar.

Home Assistant

A custom integration with one device per connection (carrier account, shop or inbox), an entity per parcel, Home Assistant events, device triggers and services.

Returns

Returns you start are tracked from the shop's page and its emails: the return-by date, the pickup points where you can drop the parcel off, whether it is free or costs money, the label and the refund, with a "Return by" calendar entry.

Your data stays yours

Nothing is deleted on its own. The Data page shows what is stored and lets you clear a connection, old or archived parcels, caches, or everything (with a backup first). Disabled connections hide their parcels until you enable them again.

Backups and status

A daily database backup (keeps the newest 7, changeable under Settings → Backups) with a restore tool. The Status page shows every connection, inbox, the scheduler and the last backup.

Private by default

Separate reader and admin passwords, strict security headers, no analytics. Place lookups on OpenStreetMap can be switched off (OPENPARCELS_GEOCODING=false).

Built-in Tailscale

Set TS_STATE_DIR and the server joins your tailnet and serves the web UI over HTTPS on https://<name>.<tailnet>.ts.net, without a sidecar container. Tailscale is downloaded on that first start (checksum-verified), so the image stays small for everyone else.

Runs anywhere

One multi-arch image (amd64, arm64; about 280 MB) for Docker and Unraid, and a prebuilt Home Assistant app for amd64 and Raspberry Pi. Read-only root, non-root user.

Notifications

ntfy, email, webhook and Apprise, each with its own rules: which events, quiet hours, or one digest an hour or a day.

Themes and more providers

A theme for every carrier, light and dark. Install further providers and notification services from a git repository; each runs in a sandbox of its own.

Planned

Client libraries and an Android app. These are plans, not shipped yet.

Supported carriers (95)

Generated from open-parcels-rules/data/carriers.yaml. Recognising a carrier's tracking numbers does not always mean a live lookup; see the carrier providers for which carriers it can query.

Install

Docker Compose

services:
  open-parcels:
    image: bluscream1/open-parcels:latest
    restart: unless-stopped
    ports:
      - "3000:3000"
    volumes:
      - open-parcels-data:/data
    environment:
      # Without a reader password anyone who can reach port 3000 can read everything.
      OPENPARCELS_PASSWORD: change-me-reader
    read_only: true
    tmpfs:
      - /tmp
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL

volumes:
  open-parcels-data:
  1. Run docker compose up -d.
  2. Read the one-time setup code with docker compose logs open-parcels.
  3. Open http://localhost:3000, enter the code and choose the admin password. Set a reader password too (OPENPARCELS_PASSWORD, or Settings → Security): without one, anyone who can reach the server can read every parcel and order.
  4. Images for amd64 and arm64: :latest is the newest build, bug fixes included, :2.0 follows the 2.0 releases, :2.0.0 stays on that release, :sha-<commit> pins one build. Coming from version 1? Its database is not read on its own: see Migrating in the README.
  5. The image comes from Docker Hub. If Docker Hub has problems (an outage or its pull limit), use the mirror on GHCR with the same tags: ghcr.io/open-parcels/open-parcels:latest.

Unraid

  1. Save the Unraid template to /boot/config/plugins/dockerMan/templates-user/.
  2. Docker → Add container → pick open-parcels, check the port and the /data path, Apply.
  3. The data folder must be writable for uid 1000 (chown 1000:1000), or append --user 99:100 to the existing Extra Parameters (keep the flags that are already there).
  4. Read the setup code from the container log and open the web UI.
  5. If Docker Hub has problems, set Repository to the GHCR mirror, ghcr.io/open-parcels/open-parcels with the same tag.

Home Assistant app

Runs the server inside Home Assistant, opened from the sidebar. Home Assistant downloads a prebuilt image (amd64 and aarch64), so installing takes seconds.

  1. Add the HA app repository to Home Assistant, or Settings → Apps → App store → ⋮ → Repositories → add https://github.com/open-parcels/open-parcels-ha-apps.
  2. Install Open Parcels, start it and open Parcels in the sidebar; choose the admin password (no setup code needed there).
  3. Install the integration below; Home Assistant then offers it under Settings → Devices & services, already connected to the HA app. Port 3000 stays closed.

Home Assistant integration (HACS)

  1. HACS → ⋮ → Custom repositories → add https://github.com/open-parcels/open-parcels-ha as an Integration.
  2. Install Open Parcels and restart Home Assistant.
  3. In the Open Parcels web UI, create an API token with the scopes read and write.
  4. Settings → Devices & services → Add integration → Open Parcels, enter the server URL and the token.

Repositories