1 unstable release
| 0.1.0 | Oct 16, 2025 |
|---|
#1904 in Command line utilities
150KB
3.5K
SLoC
๐ ๏ธ Anvil - Universal Template Engine
A powerful, universal template engine for developers. Generate production-ready projects with intelligent service composition and cross-platform support.
๐ Quick Start
Installation
cargo install anvil-cli
Usage
# Create a new full-stack SaaS project
anvil create my-saas --template fullstack-saas
# Create with specific services
anvil create my-app --template fullstack-saas --auth clerk --api rest
# Use a preset configuration
anvil create my-app --template fullstack-saas --preset "Starter Pack"
# List available templates
anvil list
โจ Features
- ๐ฏ Service Composition: Mix and match authentication, payments, databases, AI, and more
- ๐ง Multi-Language: Templates for TypeScript, Rust, Go, and more
- ๐ฆ Preset Configurations: Quick-start with pre-configured service combinations
- ๐ Production Ready: Generate fully functional, deployable applications
- ๐งช Tested: Comprehensive integration tests across all platforms
- ๐ Cross-Platform: Works on Linux, macOS, and Windows
๐ Documentation
๐ ๏ธ Available Templates
- fullstack-saas: Next.js 14 + TypeScript SaaS template
- rust-web-api: Axum web API template
- rust-hello-world: Simple Rust CLI
- go-cli-tool: Go CLI with Cobra framework
๐ Service Integrations
Authentication
- Clerk, Auth0, Firebase, Supabase
Payments
- Stripe
Databases
- Neon, PlanetScale, MongoDB, Supabase
AI
- OpenAI, Claude, Replicate
API Patterns
- REST (with OpenAPI), tRPC, GraphQL
Deployment
- Vercel, Railway, Render, Docker
๐งฉ Example
# Create a SaaS with authentication, payments, and AI
anvil create my-startup \
--template fullstack-saas \
--auth clerk \
--payments stripe \
--ai openai \
--database neon \
--deployment vercel
๐ค Contributing
Contributions are welcome! Please feel free to submit a PR.
๐ License
This project is licensed under the MIT license (LICENSE)
Dependencies
~18โ34MB
~502K SLoC