anvil-cli

Crates.ioanvil-cli
lib.rsanvil-cli
version0.1.0
created_at2025-10-16 00:48:34.18661+00
updated_at2025-10-16 00:48:34.18661+00
descriptionCLI tool for the Anvil universal template engine
homepagehttps://useanvil.tech
repositoryhttps://github.com/amruth-sn/anvil
max_upload_size
id1885176
size95,953
Amruth (amruth-sn)

documentation

https://docs.useanvil.tech

README

๐Ÿ› ๏ธ Anvil - Universal Template Engine

Crates.io Documentation License: MIT

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)

Commit count: 0

cargo fmt