How philjestin/daedalus works
Daedalus is a 3D-print-farm management and order-fulfillment platform, delivered as a Wails desktop app or self-hosted web app. Users manage products and sales-channel orders, turn order items into fulfillment tasks, and coordinate print jobs across discovered or registered printers; the system also tracks materials, expenses, analytics, and live status. The graph focuses on the documented web/API workflow and core service, persistence, and printer layers. Some domain routes and integrations are documented but unsampled, so those subsystem links are marked unverified rather than asserted as inspected calls.
Main entry points: service.go Business services · App.tsx App routes · manager.go Printer manager · client.ts API client
Components 27
Web interface
- App routes
web/src/App.tsx - Orders and tasks
web/src/pages/Orders.tsx - Product catalog
web/src/pages/Projects.tsx - Printer console
web/src/pages/Printers.tsx - API client
web/src/api/client.ts
HTTP and services
- HTTP API
internal/api/router.go - Domain handlers
internal/api/handlers.go - Business services
internal/service/service.go - Order workflows
internal/service/order.go - Task workflows
internal/service/task.go - Channel sync
internal/service/etsy.go
Domain and persistence
- Domain models
internal/model/models.go - Repositories
internal/repository/repository.go - SQLite database
internal/database/sqlite.go - Design files
internal/threemf/parser.go
Print operations
- Printer manager
internal/printer/manager.go - Printer drivers
internal/printer - Network discovery
internal/printer/discovery.go - Live event hub
internal/realtime/hub.go
External channels
- Etsy service
internal/service/etsy.go - Etsy API client
internal/etsy/client.go - Squarespace service
internal/service/squarespace.go - Squarespace client
internal/squarespace/client.go - Receipt OCR
internal/receipt/parser.go
Other components
- Farm operator
- Sales channels
- Printer fleet
Connections 30
- Farm operator → App routes: uses
- App routes → Orders and tasks: routes to
web/src/App.tsx - App routes → Product catalog: routes to
web/src/App.tsx - App routes → Printer console: routes to
web/src/App.tsx - Orders and tasks → API client: requests
web/src/pages/Orders.tsx - Product catalog → API client: requests
web/src/pages/Projects.tsx - Printer console → API client: requests
web/src/pages/Printers.tsx - API client → HTTP API: HTTP requests
web/src/api/client.ts - HTTP API → Domain handlers: dispatches
internal/api/router.go - Domain handlers → Business services: invokes
internal/api/handlers.go - Business services → Repositories: uses
internal/service/service.go - Repositories → SQLite database: queries
- Business services → Domain models: uses
internal/service/service.go - Order workflows → Repositories: uses
- Task workflows → Repositories: uses
- Sales channels → Channel sync: provides orders
- Channel sync → Etsy service: syncs through
- Etsy service → Etsy API client: calls
- Channel sync → Squarespace service: syncs through
- Squarespace service → Squarespace client: calls
- Farm operator → Order workflows: fulfills orders
- Farm operator → Design files: uploads designs
- Business services → Design files: parses 3MF
internal/service/service.go - Business services → Receipt OCR: parses receipts
internal/service/service.go - Business services → Printer manager: controls printers
- Printer manager → Printer drivers: connects
- Printer manager → Live event hub: broadcasts status
- Printer fleet → Network discovery: discovered by
- Network discovery → Printer manager: registers printers
- Farm operator → Live event hub: receives updates