# ![DesignCraft](<https://daemonless.io/images/logos/designcraft.png>) DesignCraft

[![Build Status](<https://img.shields.io/github/actions/workflow/status/daemonless/designcraft/build.yaml?style=flat-square&amp;label=Build&amp;color=green>)](<https://github.com/daemonless/designcraft/actions>) [![Last Commit](<https://img.shields.io/github/last-commit/daemonless/designcraft?style=flat-square&amp;label=Last+Commit&amp;color=blue>)](<https://github.com/daemonless/designcraft/commits>) [![OCI Pulls](<https://img.shields.io/docker/pulls/daemonless/designcraft?style=flat-square&amp;label=OCI+Pulls&amp;color=blue>)](<https://hub.docker.com/r/daemonless/designcraft>)

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

- [![DesignCraft screenshot 1](<https://daemonless.io/images/screenshots/designcraft/01-hero.png>)](</images/screenshots/designcraft/01-hero.png>)
- [![DesignCraft screenshot 2](<https://daemonless.io/images/screenshots/designcraft/02-columns.png>)](</images/screenshots/designcraft/02-columns.png>)
- [![DesignCraft screenshot 3](<https://daemonless.io/images/screenshots/designcraft/03-cover.png>)](</images/screenshots/designcraft/03-cover.png>)
- [![DesignCraft screenshot 4](<https://daemonless.io/images/screenshots/designcraft/04-feature.png>)](</images/screenshots/designcraft/04-feature.png>)
- [![DesignCraft screenshot 5](<https://daemonless.io/images/screenshots/designcraft/05-swatches.png>)](</images/screenshots/designcraft/05-swatches.png>)

|  |  |
| --- | --- |
| **Port** | `8086` |
| **Registry** | [`ghcr.io/daemonless/designcraft`](<https://github.com/daemonless/designcraft/pkgs/container/designcraft>) |
| **Daemonless** | [daemonless/designcraft](<https://github.com/daemonless/designcraft>) |
| **Source** | [storytold/designcraft](<https://github.com/storytold/designcraft>) |
| **Website** | [getartcraft.com/apps/designcraft](<https://getartcraft.com/apps/designcraft>) |

## Prerequisites

Before deploying, ensure your host environment is ready. See the [Quick Start Guide](<https://daemonless.io/guides/quick-start/index.md>) for host setup instructions, including the security model for host vs. container privileges.

## Deployment

**Customize Paths, UID & Ports**

Install and manage **DesignCraft** on FreeBSD with [fjord](<https://fjord.daemonless.io>):

```
fjord install designcraft
```

Or open the **App Store** in the fjord web UI and install **DesignCraft** from the wizard. New to fjord? See the [Install Guide](<https://fjord.daemonless.io/install/>).

```
services:
  designcraft:
    image: "ghcr.io/daemonless/designcraft:latest"
    container_name: designcraft
    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:
      - "8086: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.

```
# .env

DIRECTOR_PROJECT=designcraft
PUID=1000
PGID=1000
TZ=UTC
```

```
# appjail-director.yml

options:
  - virtualnet: ':<random> default'
  - nat:
services:
  designcraft:
    name: designcraft
    options:
      - container: 'args:--pull'
      - expose: '8086:80 proto:tcp'
    oci:
      user: root
      environment:
        - PUID: !ENV '${PUID}'
        - PGID: !ENV '${PGID}'
        - TZ: !ENV '${TZ}'
```

```
# Makejail

ARG tag=latest

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

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

> [!WARNING]
>
> **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:
  designcraft:
    name: designcraft
    image: "ghcr.io/daemonless/designcraft:latest"
    network:
      - mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
```

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

Open `http://<server>:8086` from another machine (the server's own browser can't use a published port).

## Setup Instructions

**Everything runs in the browser.** DesignCraft 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.

## 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) |

## 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. |

> [!NOTE]
>
> **Implementation Details**
>
> - **Architectures:** amd64, aarch64
> - **User:** `bsd` (UID/GID set via [PUID/PGID](<https://daemonless.io/guides/permissions/index.md>)). Defaults to `1000:1000`.
> - **Base:** Built on `ghcr.io/daemonless/base` (FreeBSD 15.1).

---

Need help? Join our [Discord](<https://discord.gg/Kb9tkhecZT>) community.
