Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

LightCraft

Build Status Last Commit OCI Pulls

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

Port 8083
Registry ghcr.io/daemonless/lightcraft
Source https://github.com/storytold/lightcraft
Website https://getartcraft.com/apps/lightcraft

Version Tags

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

Prerequisites

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions.

Deployment

Podman Compose

services:
  lightcraft:
    image: "ghcr.io/daemonless/lightcraft:latest"
    container_name: lightcraft
    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:
      - "8083: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.

AppJail Director

.env:

# .env

DIRECTOR_PROJECT=lightcraft
PUID=1000
PGID=1000
TZ=UTC

appjail-director.yml:

# appjail-director.yml

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

Makejail:

# Makejail

ARG tag=latest

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

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

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.

To avoid exposing ports, just remove the expose option in your appjail-director.yml or from your command-line arguments.

Bastille

Warning

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:
  lightcraft:
    name: lightcraft
    image: "ghcr.io/daemonless/lightcraft:latest"
    network:
      - mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC

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

Access at: http://localhost:8083

Setup Instructions

Everything runs in the browser. LightCraft 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)

Architectures: amd64, aarch64 User: bsd (UID/GID via PUID/PGID, defaults to 1000:1000) Base: FreeBSD 15


Need help? Join our Discord community.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages