Martin Hohenberg 6df42800ee Add start, stop, and finish job actions
- POST /jobs/{id}/start: modal picks from idle/offline printers,
  sets job → printing, printer → printing, logs "Job started on {name}"
- POST /jobs/{id}/stop: job → queued, clears printer_id + started_at,
  printer → idle, logs "Job stopped (was on {name})"
- POST /jobs/{id}/finish: job → done, sets finished_at + duration_minutes,
  printer → idle, logs "Job finished on {name}"
- Job detail shows Start / Stop+Finish buttons based on current status
- All printers currently printing are excluded from the Start printer picker

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 22:45:46 +02:00
2026-06-18 22:17:55 +02:00

POPS — Printing Operations Production System

A web-based production management system for 3D print farms.

Features

  • Printer overview — see all printers and their current status at a glance
  • Job queue — track what is printing now and what is in the pipeline
  • Status updates & to-do lists — stay on top of ongoing work
  • Filament database — connect to and manage your filament inventory
  • Price calculator — calculate job costs
  • Print log — keep a history of completed print jobs

Stack

  • Backend: FastAPI
  • Frontend: Web UI (served by FastAPI)
  • Database: MySQL (managed via Alembic migrations)
  • Deployment: Docker

Getting Started

Prerequisites

  • Docker & Docker Compose
  • A MySQL database instance

Run

docker compose up

The application will be available at http://localhost:8720.

Database Migrations

alembic upgrade head
Description
No description provided
Readme 419 KiB
Languages
Python 54.1%
HTML 45.3%
Mako 0.4%
Dockerfile 0.2%