Skip to content

Add Primitive web studio and deployment - #1

Merged
FlynnWan merged 1 commit into
masterfrom
agent/primitive-web-studio
Jul 17, 2026
Merged

Add Primitive web studio and deployment#1
FlynnWan merged 1 commit into
masterfrom
agent/primitive-web-studio

Conversation

@FlynnWan

Copy link
Copy Markdown
Owner

Summary

  • add a self-hosted Web interface backed by the existing Go image generator
  • persist jobs in SQLite with FIFO execution, SSE progress, previews, cancellation, retry, and downloads
  • preserve the CLI through a shared generation service
  • add Linux AMD64 GitHub Actions builds and a hardened systemd unit

Why

Primitive was CLI-only. This adds a single-user browser workflow for configuring multi-stage image generation while keeping deployment simple: one static Go binary plus a data directory.

User impact

Users can upload an image, configure shape stages, follow live progress, and download PNG, JPG, SVG, or GIF results. Completed jobs survive service restarts. The Linux artifact is retained for one day to minimize Actions storage usage.

Validation

  • go test -race ./...
  • go vet ./...
  • CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w" ./cmd/web
  • CLI PNG smoke test
  • desktop and 390px mobile browser checks

@FlynnWan
FlynnWan marked this pull request as ready for review July 17, 2026 10:10
@FlynnWan
FlynnWan merged commit 7316dd1 into master Jul 17, 2026
1 check passed
@FlynnWan
FlynnWan deleted the agent/primitive-web-studio branch July 17, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant