2025-09-11 16:01:32 +02:00
|
|
|
# papercut-lite-printshop
|
|
|
|
|
|
|
|
|
|
Minimal Flask-based PDF print-cost calculator with optional ink-coverage adjustment.
|
|
|
|
|
|
|
|
|
|
Run:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
docker-compose up --build
|
|
|
|
|
```
|
|
|
|
|
|
2025-09-17 19:12:31 +02:00
|
|
|
Then open http://localhost:8000 and upload PDFs. Configure rate via env var RATE_PER_M2 (default 4.0).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```mermaid
|
|
|
|
|
graph TD
|
2025-09-17 19:21:22 +02:00
|
|
|
subgraph WebApp ["Studio Einszwovier Internal Pages"]
|
|
|
|
|
LP[Landing Page<br>studio-einszwovier.local]
|
|
|
|
|
About[About Page]
|
|
|
|
|
CostCalc[Cost Calculator]
|
|
|
|
|
Mailto[Mailto Contact]
|
|
|
|
|
OutlinePage[Outline Page<br>Knowledge Library<br>via IServ SSO]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
subgraph Matrix ["Matrix Server"]
|
|
|
|
|
MatrixServer[Matrix Server<br>Collect print jobs & payments]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
subgraph OutlineServer ["Outline Server"]
|
|
|
|
|
OutlineSrv[Outline Server<br>Manages manuals & docs]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
%% Landing page links
|
|
|
|
|
LP --> About
|
|
|
|
|
LP --> CostCalc
|
|
|
|
|
LP --> Mailto
|
|
|
|
|
LP --> MatrixServer
|
|
|
|
|
LP --> OutlinePage
|
|
|
|
|
|
|
|
|
|
%% Cost calculator workflow
|
|
|
|
|
CostCalc --> PDF[PDF upload]
|
|
|
|
|
PDF --> Quote[Generate Quote]
|
|
|
|
|
Quote --> MatrixServer
|
|
|
|
|
|
|
|
|
|
%% Outline workflow
|
|
|
|
|
OutlinePage --> OutlineSrv
|
|
|
|
|
|
2025-09-17 19:12:31 +02:00
|
|
|
```
|