How utkuufuk/entrello works
entrello synchronizes tasks from configured HTTP services into Trello and, in server mode, forwards archived-card events to matching services. The graph separates runner/server entry points, synchronization stages, webhook automation, and configuration/Trello integration. README documents both operating modes and stale-card cleanup. Some subsystem behavior is represented from the README because its implementation was not sampled; uncertain wiring is omitted.
Main entry points: services.go Poll orchestration · server/main.go Server mode · runner/main.go Runner mode · poller.go Card reconciliation
Components 16
Entry points
- Runner mode
cmd/runner/main.go - Server mode
cmd/server/main.go
Synchronization
- Poll orchestration
internal/services/services.go - Poll scheduling
internal/services/poller.go - Card reconciliation
internal/services/poller.go
Webhook automation
- Webhook handler
cmd/server/main.go - Signature and event parsing
pkg/trello/webhooks.go - Archived card lookup
pkg/trello/api.go - Service notification
internal/services/services.go
Configuration and Trello
- Configuration
internal/config/config.go - Server env config
internal/config/init.go - Service parser
internal/config/parsers.go - Trello client
pkg/trello/trello.go
Other components
- Operator
- Custom HTTP services
- Trello API
Connections 20
- Operator → Runner mode: runs
- Operator → Server mode: starts
- Runner mode → Configuration: reads config
- Runner mode → Poll orchestration: calls
- Server mode → Server env config: uses settings
- Server env config → Service parser: parses services
- Server mode → Poll orchestration: dispatches sync
- Server mode → Webhook handler: routes requests
- Poll orchestration → Poll scheduling: selects services
- Poll scheduling → Poll orchestration: returns selected
- Poll orchestration → Trello client: loads board
- Poll orchestration → Card reconciliation: starts polling
- Card reconciliation → Custom HTTP services: GET tasks
- Card reconciliation → Trello client: creates or deletes cards
- Trello client → Trello API: reads and writes
- Webhook handler → Signature and event parsing: verifies and parses
- Webhook handler → Archived card lookup: fetches card
- Archived card lookup → Trello API: gets card
- Webhook handler → Service notification: dispatches card
- Service notification → Custom HTTP services: POST archived card