Self-hosted media project manager built for a school film program. Students upload footage, write scripts in ScriptCraft, plan storyboards in DeckCraft, edit in the browser with FilmCraft, and queue renders on the server.
- Site: https://httpanimations.gitlab.io/wfm/ (app at /app/)
- Releases: https://gitlab.com/HttpAnimations/wfm/-/releases
- Mirror: https://github.com/justacalico/wfm
| Home | Projects | Files |
|---|---|---|
![]() |
![]() |
![]() |
Prebuilt images live in GitLab's container registry (built on every push to
main and every release tag). One container, one volume:
docker run -d --name wfm -p 8080:8080 -v wfm-data:/data \
registry.gitlab.com/httpanimations/wfm:latestOpen http://localhost:8080 and create the owner account. Everything (SQLite
database and media files) persists in the wfm-data volume.
Or with compose: grab deploy/docker-compose.yaml
and run docker compose up -d next to it. To update later:
docker compose pull && docker compose up -dApps > Discover Apps > Custom App:
- Image repository:
registry.gitlab.com/httpanimations/wfm, taglatest - Port forwarding: container
8080to a host port you like - Storage: a host path (dataset) mounted at
/data
Everything works out of the box with those three settings. To update, edit
the app and repull latest, or pin a version tag such as v0.3.0.
The root docker-compose.yml builds the whole stack locally (RustFS plus a
from-source WFM image, about 40 minutes the first time):
cp .env.example .env # set real secrets
docker compose up --build./scripts/build-web.sh # builds the Flutter app into server/web/app
cd server && cargo run # sqlite + local media dir by defaultThe app is at /app/; the craft bridges live at /filmcraft/wfm.html,
/scriptcraft/wfm.html and /deckcraft/wfm.html, all taking ?project=<id>.
Everything is a flag or env var (wfm --help):
WFM_DB-sqlite:<path>(default) orpostgres://...(release builds and the Docker image include postgres; source builds need--features postgres)WFM_MEDIA-s3orlocal; S3 settings viaWFM_S3_*. Any S3-compatible store works: RustFS, MinIO, AWS, BackblazeWFM_FFMPEG/WFM_FFPROBE- binary pathsWFM_FILMCRAFT_CLI- the patched filmcraft-cli for renders and inspect. A bare name resolves next to the wfm binary, never PATH, so an official FilmCraft install's binary cannot be picked up by accident. The server warns at startup when the binary is missing or reports another version.WFM_WEB_DIR/WFM_FILMCRAFT_DIR/WFM_SCRIPTCRAFT_DIR/WFM_DECKCRAFT_DIR- serve frontends from disk instead of embeddedWFM_MAX_UPLOAD_MB,WFM_SESSION_DAYS,WFM_LOCK_TTL,WFM_SECURE_COOKIESWFM_TRUSTED_PROXIES- comma-separated proxy IPs/CIDRs. Off by default; when set,X-Forwarded-Foris only honored from those addresses. Owners can change it later under Settings > Server, and first-time setup offers it too.
SQLite by default; point WFM_DB at a postgres URL to use postgres instead.
WFM_MEDIA=s3 talks S3 to any compatible service (RustFS is the default in
compose). WFM_MEDIA=local keeps files under WFM_MEDIA_PATH. Because both the
database and the media are external, a reinstall only needs the DB dump and the
bucket contents.
Multiple storage nodes run behind the same interface via WFM_MEDIA_NODES (or
repeated --media-node), a JSON array where each entry is a local or s3
backend:
WFM_MEDIA_NODES='[
{"name":"fast","kind":"local","path":"/mnt/ssd/media"},
{"name":"nas","kind":"local","path":"/mnt/truenas/media"},
{"name":"archive","kind":"s3","s3_endpoint":"https://s3.example.com",
"s3_region":"us-east-1","s3_bucket":"wfm",
"s3_access":"...","s3_secret":"..."}
]'
WFM_MEDIA_MODE=spread # or "replicate"spread (default) writes each upload to the node with the most free space and
reads fall through every node. replicate writes to the first node and copies
to all the rest, so losing one node loses nothing. Each node's usage shows as
its own pool under Manage > Storage, and admins can run Resync there to copy
objects a replica is missing.
Owners should turn on the storage gate under Settings > Server: uploads and renders are refused once a pool's free space drops below a percentage or an absolute GB threshold, which keeps a shared bucket or a small disk from being silently filled. Object stores report no capacity, so the percentage mode needs a notional pool quota entered next to it (or use the GB mode against local pools).
The server never renders itself; every server render runs on a render node. Create a node under Manage > Render nodes, then on the worker machine:
WFM_WORKER_TOKEN=<token> wfm --worker http://<wfm-host>:8080 <name>(Passing the token positionally still works — wfm --worker <url> <token> <name> —
but puts it in ps output and shell history.)
The node polls for jobs, downloads inputs, runs ffmpeg, and uploads the export.
student < mod < teacher < admin < owner. Each account belongs to the
tree of whoever created it; managers only see their own subtree. The first
account created at /api/setup is the owner.
Three editors come built in:
- FilmCraft - timeline video editor
- ScriptCraft - Fountain screenwriting
- DeckCraft - storyboards and slide decks
Android and iOS builds ship the WFM UI only; the craft editors stay on web and desktop. Android APKs are signed and attached to each release. iOS is distributed unsigned through an AltStore source:
https://gitlab.com/HttpAnimations/wfm/-/raw/main/repos/altstore.json
AGPL-3.0


