Skip to content

PdfCraft PdfCraft

Description / nameInput element
Container Registry
Timezone
User ID
Group ID
PdfCraft Host Port

Build Status Last Commit OCI Pulls

Open-source, clean-room reimplementation of Adobe Acrobat in Rust, served as a WebAssembly web app on FreeBSD.

Port 8084
Registry ghcr.io/daemonless/pdfcraft
Daemonless daemonless/pdfcraft
Source storytold/pdfcraft
Website getartcraft.com/apps/pdfcraft

Version Tags

Multi-arch manifests — resolve automatically to the right image for your platform.

Tag Description Best For
latest Upstream Binary. Built from official release. Most users — recommended.
Tag Description Best For
latest-amd64 Upstream Binary. Built from official release. Most users — recommended.
Tag Description Best For
latest-aarch64 Upstream Binary. Built from official release. Most users — recommended.

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions, including the security model for host vs. container privileges.

Deployment

services:
  pdfcraft:
    image: "ghcr.io/daemonless/pdfcraft:latest"
    container_name: pdfcraft
    environment:
      - PUID=1000  # User ID for the nginx worker processes
      - PGID=1000  # Group ID for the nginx worker processes
      - TZ=UTC  # Timezone for the container
    ports:
      - "8084:80"
    # always (not unless-stopped) so FreeBSD's podman rc.d auto-starts it at boot
    restart: always

Save as compose.yaml, then run podman-compose up -d.

Warning

Exposing ports in AppJail means that your service can be reached from remote hosts. If that is not your intention, do not expose the ports and communicate with the service using the jail's IPv4 address or hostname assigned by the virtual network.

1
2
3
4
5
6
# .env

DIRECTOR_PROJECT=pdfcraft
PUID=1000
PGID=1000
TZ=UTC
# appjail-director.yml

options:
  - virtualnet: ':<random> default'
  - nat:
services:
  pdfcraft:
    name: pdfcraft
    options:
      - container: 'args:--pull'
      - expose: '8084:80 proto:tcp'
    oci:
      user: root
      environment:
        - PUID: !ENV '${PUID}'
        - PGID: !ENV '${PGID}'
        - TZ: !ENV '${TZ}'
1
2
3
4
5
6
7
# Makejail

ARG tag=latest

OPTION container=boot
OPTION overwrite=force
OPTION from=ghcr.io/daemonless/pdfcraft:${tag}

Save the files above, then run appjail-director up.

Experimental

Bastille's OCI support is experimental. It requires buildah and shares the host network stack (inherit). Mount volumes with --volume HOST JAIL; without it, image-declared volumes are stored under ${bastille_volumesdir}/${jail}.

services:
  pdfcraft:
    name: pdfcraft
    image: "ghcr.io/daemonless/pdfcraft:latest"
    network:
      - mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC

Save as bastille-compose.yml, then run bastille up.

Access at: http://localhost:8084

Setup Instructions

Everything runs in the browser. PdfCraft is Rust compiled to WebAssembly; the container only serves static files. Files open through the browser's file picker and save as downloads, and nothing is stored server side, so there are no volumes.

Your work lives in the browser, not on the server. Preferences and any in-app library or cache belong to the browser profile that opened the app, per origin. Clearing site data, switching browsers, or reaching the app under a different hostname means starting empty. Export what you want to keep; the exported files are the backup, as with any desktop app.

HTTPS. WebGPU and the clipboard need a secure context. Over plain HTTP the app falls back to WebGL2; put it behind your reverse proxy for the full experience.

Interactive Configuration

Parameters

Environment Variables

Variable Default Description
PUID 1000 User ID for the nginx worker processes
PGID 1000 Group ID for the nginx worker processes
TZ UTC Timezone for the container

Ports

Port Protocol Description
80 TCP Web UI (the editor runs in the browser; files open and save on the visitor's device)

Implementation Details

  • Architectures: amd64, aarch64
  • User: bsd (UID/GID set via PUID/PGID). Defaults to 1000:1000.
  • Base: Built on ghcr.io/daemonless/base (FreeBSD 15.1).

Need help? Join our Discord community.