██████╗ ██████╗ ███╗ ███╗███████╗
██╔══██╗██╔══██╗████╗ ████║██╔════╝
██████╔╝██████╔╝██╔████╔██║█████╗
██╔═══╝ ██╔══██╗██║╚██╔╝██║██╔══╝
██║ ██║ ██║██║ ╚═╝ ██║███████╗
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
A lightning-fast CLI tool to bootstrap your next project with curated starter templates
Prme is an interactive terminal-based project generator that helps developers quickly start new projects with pre-configured templates. Choose your language, select your project type, pick a template, and you're ready to code!
Built with Bubble Tea for a delightful terminal UI experience.
- 🎨 Interactive TUI - Beautiful terminal interface powered by Bubble Tea
- ⚡ Fast Setup - Clone and start coding in seconds
- 🔧 Multiple Languages - Support for TypeScript, Python, Go, and more
- 🎯 Project Types - Web apps, CLI tools, and other project types
- 📦 Curated Templates - Hand-picked starter templates with best practices
- 🛠️ Extensible - Easy to add your own custom templates
Install with a single command:
curl -fsSL https://raw.githubusercontent.com/chann44/homebrew-prme/main/install.sh | shOr if you prefer to review the script first:
curl -fsSL https://raw.githubusercontent.com/chann44/homebrew-prme/main/install.sh -o install.sh
chmod +x install.sh
./install.shbrew tap chann44/prme
brew install primeDownload the latest binary for your platform from the releases page:
- macOS (Apple Silicon):
prime_*_Darwin_arm64.tar.gz - macOS (Intel):
prime_*_Darwin_x86_64.tar.gz - Linux (64-bit):
prime_*_Linux_x86_64.tar.gz - Windows (64-bit):
prime_*_Windows_x86_64.zip
Extract and move to your PATH:
# macOS/Linux
tar -xzf prime_*.tar.gz
sudo mv prime /usr/local/bin/
# Windows
# Extract the zip and add prime.exe to your PATHMake sure you have Go 1.21+ installed.
go install github.com/chann44/prme@latest# Clone the repository
git clone https://github.com/chann44/prme.git
cd prime
# Build the binary
go build -o prime cmd/main.go
# Optional: Move to your PATH
sudo mv prime /usr/local/bin/Simply run the command and follow the interactive prompts:
primeThe CLI will guide you through:
- Select a language - Choose from TypeScript, Python, Go, etc.
- Choose project type - Web app or CLI tool
- Pick a template - Select from available starter templates
- Enter project name - Name your new project
- Done! - Your project is cloned and ready to go
$ prime
? Select a language: TypeScript
? Choose project type: web_app
? Select a template: Next.js + Prisma + PostgreSQL
? Enter project name: my-awesome-app
✓ Cloning template...
✓ Project created successfully!
cd my-awesome-app && npm install- Next.js + Prisma + PostgreSQL
- Next.js + Prisma + MySQL
- Next.js + Prisma + MongoDB
- TypeScript CLI Starter
- FastAPI + SQLAlchemy + PostgreSQL
- FastAPI + SQLAlchemy + MySQL
- FastAPI + SQLAlchemy + MongoDB
- Python CLI Starter
- Fiber + GORM
- Cobra CLI Starter
Templates are defined in templates/templs.yml. You can easily add your own templates:
your_language:
web_app:
- name: Your Template Name
repo: https://github.com/username/your-template
cli:
- name: Your CLI Template
repo: https://github.com/username/your-cli-templateprime/
├── cmd/
│ └── main.go # Entry point
├── internals/
│ ├── clone.go # Git cloning logic
│ └── options.go # Template selection logic
├── templates/
│ ├── template.go # Template parsing
│ └── templs.yml # Template definitions
├── ui/
│ ├── modal.go # UI components
│ └── view.go # UI views
└── go.mod
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
To add a new template:
- Add your template repository to
templates/templs.yml - Ensure the repository is publicly accessible
- Test the template cloning works correctly
- Submit a PR with your addition
This project is licensed under the MIT License - see the LICENSE file for details.
- Bubble Tea - For the amazing TUI framework
- All template maintainers for their excellent starter projects
Author: @chann44
Project Link: https://github.com/chann44/prme
If you find this project helpful, please consider giving it a ⭐!
Made with ❤️ by chann44