How windmill-labs/windmill works
Windmill is a self-hostable developer platform for turning scripts into runnable interfaces, composing scripts into workflows, and exposing them through apps, APIs, and event triggers. A typical path starts with a developer or operator creating a script, then a user or trigger starts a run; the backend queues work for a worker, which executes it and returns a result. The README documents additional app, flow, scheduling, and integration capabilities. The graph uses those documented relationships and tree-supported paths; source excerpts are partial and do not establish every internal call.
Main entry points: lib.rs Backend API · windmill-api-workers/src Workers · windmill-api-scripts/src Scripts and assets · lib Generated UIs
Components 22
Authoring and assets
- Scripts and assets
backend/windmill-api-scripts/src - Language parsers
backend/parsers - Workflow flows
backend/windmill-api-flows/src
Execution and orchestration
- Trigger handlers
backend/windmill-api/src/triggers - Schedules
backend/windmill-api-schedule/src - Job queue
backend/windmill-queue/src - Workers
backend/windmill-api-workers/src - Language runtimes
backend/windmill-runtime-nativets/src/lib.rs - Job results
backend/windmill-api-jobs/src
User interfaces
- Web IDE
frontend/src/lib - CLI
cli/src - Generated UIs
frontend/src/lib - Custom apps
backend/windmill-api/src/apps.rs
Platform services
- Backend API
backend/windmill-api/src/lib.rs - PostgreSQL
Data and integrations
- Object storage
backend/windmill-object-store/src/lib.rs - Resources and secrets
backend/windmill-api/src/resources.rs - AI services
backend/windmill-ai/src/lib.rs - Windmill Hub
Other components
- Developer
- App user
- External trigger
Connections 28
- Developer → Web IDE: authors scripts
- Developer → CLI: syncs assets
- Web IDE → Scripts and assets: saves assets
- CLI → Backend API: calls API
- Scripts and assets → Language parsers: parses code
- Scripts and assets → PostgreSQL: stores assets
- Scripts and assets → Generated UIs: generates forms
- App user → Generated UIs: starts run
- App user → Custom apps: uses app
- Developer → Workflow flows: composes scripts
- Workflow flows → Scripts and assets: references scripts
- External trigger → Trigger handlers: starts workflow
- External trigger → Schedules: starts scheduled run
- Trigger handlers → Backend API: dispatches run
- Schedules → Job queue: enqueues jobs
- Generated UIs → Backend API: requests run
- Custom apps → Backend API: requests run
- Workflow flows → Backend API: submits workflow
- Backend API → Job queue: enqueues jobs
- Job queue → Workers: dispatches jobs
- Workers → Language runtimes: executes code
- Workers → Resources and secrets: reads resources
- Workers → Job results: records outcome
- Job results → PostgreSQL: stores run data
- Job results → Generated UIs: returns result
- Workers → Object storage: reads and writes files
- Backend API → AI services: uses AI services
- Developer → Windmill Hub: discovers assets