Skip to content

Sunzzx/rc-apps-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RC Apps Generator — AI-Powered Rocket.Chat App Creation

GSoC 2026 — AI Rocket.Chat Apps Generator

An AI-powered CLI tool built as a gemini-cli extension that enables anyone to create, test, and deploy production-ready Rocket.Chat Apps through natural language conversations.

✨ Features

  • 🏗️ Scaffold Apps — Generate complete App skeletons from descriptions
  • Generate Handlers — Create any handler type (slash commands, HTTP endpoints, schedulers, message handlers, livechat)
  • 🧪 Auto-Generate Tests — Create Jest tests with proper Apps Engine mocking
  • 🚀 Deploy — Package and deploy Apps to Rocket.Chat instances
  • 📚 Built-in Knowledge — Deep understanding of Apps Engine APIs, lifecycle, and best practices

Quick Start

# Clone and navigate
git clone https://github.com/Sunzzx/rc-apps-generator.git
cd rc-apps-generator

# Start gemini-cli with Apps Engine knowledge
gemini

# Then just describe what you want:
# > "Create a poll app that lets users vote in channels"
# > "Add a slash command /translate that auto-translates messages"
# > "Generate tests for my PollCommand handler"

Architecture

rc-apps-generator/
├── .gemini/                    # Gemini CLI config + system prompt
├── skills/                     # Modular capabilities
│   ├── scaffold-app/           # App skeleton generation
│   ├── generate-handler/       # Handler code generation
│   ├── generate-tests/         # Test generation with mocks
│   ├── deploy-app/             # Package & deploy
│   └── knowledge/              # Apps Engine API reference
├── examples/                   # Reference implementations
│   ├── poll-app/
│   └── webhook-forwarder/
└── src/                        # CLI utilities

Skills

Skill Description
scaffold-app Creates complete App project from description
generate-handler Generates typed handler implementations
generate-tests Creates Jest tests with Apps Engine mocks
deploy-app Packages and deploys via REST API

Supported Handler Types

  • /slash-command — Slash command handlers
  • http-endpoint — REST API endpoints
  • message-handler — Pre/post message processing
  • scheduler — Cron and interval jobs
  • livechat-handler — Omnichannel events
  • ui-kit — Modal and button interactions

Author

Ayush KandwalGitHub · LinkedIn

License

MIT

About

AI-powered Rocket.Chat Apps Generator — GSoC 2026 prototype

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors