How shinasmuhammedk/org works
ORG is a workflow-automation platform; this tree shows its Go API and runtime, not the visual editor. Users authenticate, create and configure workflows, then publish, schedule, or trigger runs; queued jobs execute and runs can be inspected. The README documents broader execution capabilities, OAuth, billing, and monitoring. Some runtime links are supported only by README statements or are unverified because their source was not sampled; dashed edges mark those unverified links.
Main entry points: workflow_service.go Workflow service · router.go HTTP API · auth_handler.go Authentication · google_auth_handler.go Google OAuth
Components 21
API and identity
- HTTP API
services/api-core/internal/router/router.go - Authentication
services/api-core/internal/auth/handler/auth_handler.go - Auth service
services/api-core/internal/auth/service/auth_service.go - User repository
services/api-core/internal/auth/repository/sqlc_user_repository.go - Google OAuth
services/api-core/internal/auth/handler/google_auth_handler.go
Workflow design
- Workflow API
services/api-core/internal/workflow/handler/workflow_handler.go - Workflow service
services/api-core/internal/workflow/service/workflow_service.go - Workflow repository
services/api-core/internal/workflow/repository/sqlc_workflow_repository.go - Workflow state
services/api-core/internal/db/workflow.sql.go
Execution runtime
- Redis job queue
services/api-core/internal/queue/redis_queue.go - Workflow worker
services/api-core/internal/worker/workflow_worker.go - Workflow executors
services/api-core/internal/workflow/executor/executor.go - Cron scheduler
services/api-core/internal/scheduler/scheduler.go - Run monitoring
services/api-core/internal/workflow/service/workflow_service.go
Platform integrations
- Gemini integration
services/api-core/internal/gemini/service/gemini_service.go - Google identity
- Billing API
services/api-core/internal/billing/handler.go - Billing service
- Stripe
- Usage tracking
services/api-core/internal/usage/handler/handler.go
Other components
- User
Connections 24
- User → HTTP API: sends requests
- HTTP API → Authentication: routes auth
services/api-core/internal/router/router.go - Authentication → Auth service: calls
services/api-core/internal/auth/handler/auth_handler.go - Auth service → User repository: uses
services/api-core/internal/auth/service/auth_service.go - Authentication → Google OAuth: routes OAuth
- Google OAuth → Auth service: gets user tokens
services/api-core/internal/auth/handler/google_auth_handler.go - Google OAuth → Google identity: exchanges code
services/api-core/internal/auth/handler/google_auth_handler.go - HTTP API → Workflow API: routes workflows
services/api-core/internal/router/router.go - Workflow API → Workflow service: calls
services/api-core/internal/workflow/handler/workflow_handler.go - Workflow service → Workflow repository: reads and writes
services/api-core/internal/workflow/service/workflow_service.go - Workflow repository → Workflow state: runs queries
services/api-core/internal/workflow/repository/sqlc_workflow_repository.go - Workflow service → Redis job queue: enqueues runs
services/api-core/internal/workflow/service/workflow_service.go - Redis job queue → Workflow worker: delivers jobs
- Workflow worker → Workflow service: executes run
services/api-core/internal/worker/workflow_worker.go - Workflow service → Workflow executors: dispatches steps
- Workflow executors → Gemini integration: requests AI steps
- Cron scheduler → Workflow service: starts scheduled runs
- Workflow service → Run monitoring: publishes run events
services/api-core/internal/workflow/service/workflow_service.go - Run monitoring → User: streams updates
- HTTP API → Billing API: routes billing
services/api-core/internal/router/router.go - Billing API → Billing service: requests billing
services/api-core/internal/billing/handler.go - Billing service → Stripe: handles payments
- HTTP API → Usage tracking: routes usage
services/api-core/internal/router/router.go - Workflow API → Usage tracking: checks usage