How rmotgi1227/genie works
Genie discovers software requests, checks demand and existing tools, obtains human approval, builds and tests an app, then publishes it and replies to its requester. Its maintenance loop handles issues on published apps and requires approval before changes. The README documents the broader product workflow; sampled source confirms the central orchestration and selected module relationships, while several subsystem details are supported only by documentation or the source index.
Main entry points: genie.ts Approval orchestration · launch.ts Publish and reply · discover.ts Find and validate wishes · build.ts Generate app
Components 24
Wish discovery
- Find and validate wishes
steps/discover.ts - Reddit search and lookup
lib/reddit.ts - Search and grouping
lib/parallel.ts - Sample discovery
steps/discover.fake.ts
Human approval
- Approval orchestration
genie.ts - Ask and notify
steps/askApproval.ts - Messaging transports
lib/messenger.ts - Reply routing
lib/reply.ts
Build and test
- Generate app
steps/build.ts - App checks and screenshots
steps/build.ts
Launch and care
- Publish and reply
steps/launch.ts - Deploy app
steps/deploy.ts - Fix requested changes
steps/fix.ts - Composio tool client
lib/composio.ts - Repository ownership
lib/repo.ts
Runtime and interface
- Workflow state
lib/state.ts - Operator board
board/index.html - Untrusted input filtering
lib/guard.ts - Workflow data contract
lib/types.ts
Other components
- Owner
- Parallel
- GitHub
- Vercel
Connections 30
- Owner → Ask and notify: approves by text
README.md - Reddit → Reddit search and lookup: provides posts
README.md - Find and validate wishes → Reddit search and lookup: looks up posts
steps/discover.ts - Find and validate wishes → Search and grouping: searches and checks
steps/discover.ts - Find and validate wishes → Sample discovery: falls back to samples
steps/discover.ts - Search and grouping → Parallel: searches
README.md - Reddit search and lookup → Composio tool client: calls tools
lib/reddit.ts - Approval orchestration → Find and validate wishes: finds candidates
genie.ts - Approval orchestration → Ask and notify: asks approval
genie.ts - Approval orchestration → Generate app: builds approved app
genie.ts - Approval orchestration → App checks and screenshots: tests app
genie.ts - Approval orchestration → Publish and reply: ships approved app
README.md - Approval orchestration → Fix requested changes: handles issue changes
genie.ts - Ask and notify → Messaging transports: uses transport
steps/askApproval.ts - Approval orchestration → Reply routing: routes reply
genie.ts - Owner → Reply routing: sends decision
README.md - Generate app → App checks and screenshots: produces app for checks
README.md - Publish and reply → Deploy app: deploys app
steps/launch.ts - Publish and reply → Repository ownership: resolves owner
steps/launch.ts - Publish and reply → Composio tool client: publishes and replies
steps/launch.ts - Publish and reply → GitHub: creates public repo
README.md - Deploy app → Vercel: deploys to
README.md - Publish and reply → Reddit: replies to requester
README.md - Fix requested changes → Generate app: reuses build tooling
steps/fix.ts - Fix requested changes → App checks and screenshots: retests changes
README.md - Approval orchestration → Workflow state: records workflow
genie.ts - Operator board → Workflow state: shows workflow
README.md - Find and validate wishes → Untrusted input filtering: filters untrusted text
steps/discover.ts - Generate app → Workflow data contract: uses app contract
steps/build.ts - Publish and reply → Workflow data contract: uses app contract
steps/launch.ts