Create random apps with chaos and creativity! A CLI tool that generates random application scaffolds using various frameworks, libraries, and features.
- π² Smart Randomization: Intelligently selects frameworks based on category, popularity, and stability
- π₯ Chaos Mode: Wild combinations that ignore compatibility rules
- π¦ Library Injection: Automatically adds random libraries to spice up your project
- β¨ Feature Generation: Generates random feature ideas with working examples
- π Multi-Framework Support: Web, mobile, desktop, CLI, and backend frameworks
- π¬ Interactive Prompts: User-friendly CLI interface
- π Quick Start: Automatic dependency installation and dev server startup
- React (Vite)
- Next.js
- Vue (Vite)
- Nuxt
- Svelte
- SolidJS
- Angular
- SvelteKit
- Astro
- Remix
- SolidStart
- Vite React TypeScript
- Next.js Starter
- React Native
- Expo
- Expo Stack
- Flutter
- Ionic
- Capacitor
- Tauri
- Electron
- Neutralino
- Ink (React CLI)
- TUI Framework
- Deno CLI
- Clack
- Cliffy
- Deno
- Bun Backend
- Node.js Express
- Fastify
- Koa
- Hono
- NestJS
# Clone the repository
git clone https://github.com/involvex/chaos-create.git
cd chaos-create
# Install dependencies
bun install
# Make it executable (optional)
chmod +x src/index.tsbun run src/index.ts createThis will prompt you for:
- Project name
- Output directory
- App category (or random)
- Chaos mode toggle
- Library injection options
- Feature generation options
- Dependency installation
- Dev server startup
bun run src/index.ts create [options]
Options:
-c, --category <category> App category (web, mobile, desktop, cli, backend)
-f, --framework <framework> Specific framework to use
-t, --template <url> Git template URL to use instead of random framework
--chaos Enable chaos mode (wild combinations)
--no-libs Skip random library injection
--no-features Skip random feature generation
--lib-count <number> Number of random libraries (default: 3)
--no-install Skip dependency installation
--start Start dev server after installation# Create a random web app
bun run src/index.ts create --category web
# Create a React Native app with chaos mode
bun run src/index.ts create --framework react-native --chaos
# Create a backend app without libraries
bun run src/index.ts create --category backend --no-libs
# Pure chaos mode
bun run src/index.ts chaosbun run src/index.ts listCreate projects from git templates:
# Create from a git template
bun run src/index.ts create --template https://github.com/user/template
# List templates from a repository
bun run src/index.ts template --url https://github.com/user/repo --list
# Validate a template
bun run src/index.ts template --url https://github.com/user/repo --validate
# List popular templates
bun run src/index.ts template --popular
# Clear template cache
bun run src/index.ts template --clear-cache- Framework Selection: Uses weighted randomization based on popularity and stability
- Smart Categorization: Respects category boundaries (unless in chaos mode)
- Library Injection: Adds compatible libraries based on the selected framework
- Feature Generation: Creates working example code for random features
- Project Creation: Executes the appropriate CLI command for the framework
- Dependency Management: Uses bun as the default package manager
Chaos mode disables compatibility rules and creates truly wild combinations:
bun run src/index.ts create --chaosIn chaos mode, you might get:
- React Native with Deno backend libraries
- Flutter with React state management
- CLI apps with mobile-specific features
- Any combination imaginable!
chaos-create/
βββ src/
β βββ index.ts # Main CLI entry point
β βββ prompts.ts # Interactive prompts
β βββ framework-registry.ts # Framework database
β βββ randomizer.ts # Randomization engine
β βββ generators/
β β βββ framework-generator.ts # Framework CLI wrappers
β β βββ library-injector.ts # Library injection
β β βββ feature-generator.ts # Feature code generation
β βββ utils/
β βββ logger.ts # Terminal output utilities
βββ docs/
β βββ README.md # Documentation index
β βββ ADVANCED_USAGE.md # Advanced usage guide
β βββ API.md # API documentation
βββ package.json
βββ tsconfig.json
βββ README.md
For comprehensive documentation, check out the docs directory:
- Getting Started - Installation and basic usage
- Advanced Usage - Advanced features and configurations
- API Documentation - Complete API reference
- Contributing Guide - How to contribute
- Changelog - Version history and changes
Contributions are welcome! Areas for improvement:
- Add more frameworks to the registry
- Improve the feature code templates
- Add git template integration
- Create more chaos mode combinations
- Add tests
- Improve error handling
If you find this project useful, consider supporting its development:
- GitHub Sponsors: Sponsor involvex
- Star the repo: β on GitHub to show your support
MIT Β© involvex
Created by involvex with π² and chaos
Warning: This tool is designed for learning and exploration. Generated projects may contain unconventional combinations that are not suitable for production use.