A Phoenix-inspired code generator for LiveTemplate applications with CRUD functionality and interactive TUI wizards.
go install github.com/livetemplate/lvt@latestOr download pre-built binaries from the releases page.
Or build from source:
git clone https://github.com/livetemplate/lvt
cd lvt
go build -o lvt .- LiveTemplate Core - Go library for server-side rendering
- Client Library - TypeScript client for browsers
- Examples - Example applications
LVT follows the LiveTemplate core library's major.minor version:
- Core:
v0.1.5→ LVT:v0.1.x(any patch version) - Core:
v0.2.0→ LVT:v0.2.0(must match major.minor)
See CONTRIBUTING.md for development guidelines.
All pull requests require passing CI checks including tests, linting, and code formatting.
- Issues: GitHub Issues
- Discussions: GitHub Discussions
lvt provides AI assistance through multiple approaches, supporting all major AI assistants:
# List available AI agents
lvt install-agent --list
# Install agent for your AI assistant
lvt install-agent --llm <type> # claude, copilot, cursor, aider, generic
# Or start the MCP server (works with all MCP-compatible AIs)
lvt mcp-server| AI Assistant | Installation | Best For |
|---|---|---|
| Claude Code | lvt install-agent --llm claude |
Full workflows with 20+ skills |
| GitHub Copilot | lvt install-agent --llm copilot |
In-editor suggestions |
| Cursor | lvt install-agent --llm cursor |
Rule-based development |
| Aider | lvt install-agent --llm aider |
CLI-driven development |
| Generic/Other | lvt install-agent --llm generic |
Custom LLMs via MCP |
Full-featured agent with skills and workflows:
# Install
lvt install-agent --llm claude
# Upgrade
lvt install-agent --upgrade
# Start Claude Code
claudeFeatures:
- 20+ skills for lvt commands
- Project management agent
- Guided workflows
- Best practices enforcement
Try asking:
- "Add a posts resource with title and content"
- "Generate authentication system"
- "Create a quickstart blog app"
Instructions-based integration:
# Install
lvt install-agent --llm copilot
# Open in VS Code - Copilot automatically understands LiveTemplateRule-based development patterns:
# Install
lvt install-agent --llm cursor
# Open project in Cursor - rules apply to *.go files automaticallyCLI configuration:
# Install
lvt install-agent --llm aider
# Start Aider - configuration loads automatically
aider# Upgrade any agent type
lvt install-agent --llm <type> --upgradeThis preserves your custom settings while updating the agent files.
For detailed setup instructions for each AI assistant, see:
- docs/AGENT_SETUP.md - Complete setup guide for all AI assistants
- docs/MCP_TOOLS.md - MCP server tools reference
- docs/WORKFLOWS.md - Common development workflows
- docs/AGENT_USAGE_GUIDE.md - Claude Code usage examples
lvt also provides a Model Context Protocol (MCP) server that works with Claude Desktop, Claude Code, and other MCP-compatible AI applications. This gives you global access to lvt commands from anywhere.
-
Install lvt globally:
go install github.com/livetemplate/lvt@latest
-
Configure Claude Desktop by editing
claude_desktop_config.json:macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.jsonAdd:
{ "mcpServers": { "lvt": { "command": "lvt", "args": ["mcp-server"] } } } -
Restart Claude Desktop
Once configured, Claude has access to these 16 tools:
Project & Resource Generation:
- lvt_new - Create new apps with kit/CSS/module options
- lvt_gen_resource - Generate CRUD resources with fields
- lvt_gen_view - Generate view-only handlers
- lvt_gen_auth - Generate authentication systems
- lvt_gen_schema - Generate database schema only
Database Migrations:
- lvt_migration_up - Run pending migrations
- lvt_migration_down - Rollback last migration
- lvt_migration_status - Check migration status
- lvt_migration_create - Create new migration files
Data & Inspection:
- lvt_seed - Generate test data for resources
- lvt_resource_list - List all available resources
- lvt_resource_describe - Show detailed schema for a resource
Validation & Configuration:
- lvt_validate_template - Validate and analyze template files
- lvt_env_generate - Generate .env.example with detected config
- lvt_kits_list - List available CSS framework kits
- lvt_kits_info - Show detailed kit information
In Claude Desktop, simply ask:
"Create a new LiveTemplate app called 'blog' with the multi kit"
Claude will use the MCP tools to create your app, even before you have a project directory!
- MCP Server: Global access, works with Claude Desktop, great for project creation
- Embedded Agent: Project-specific, richer workflows, 20+ skills with detailed guidance
Use both for the best experience!
You can use lvt in two modes: Interactive (TUI wizards) or Direct (CLI arguments).
Important: Create apps outside of existing Go module directories. If you create an app inside another Go module (e.g., for testing), you'll need to use GOWORK=off when running commands:
GOWORK=off go run cmd/myapp/main.go# Launch interactive app creator
lvt new
# Launch interactive resource builder
lvt gen
# Launch interactive view creator
lvt gen viewlvt new myapp
cd myappThis generates:
- Complete Go project structure
- Database layer with sqlc integration
- go.mod with Go 1.24+ tools directive
- README with next steps
# With explicit types
lvt gen users name:string email:string age:int
# With inferred types (NEW!)
lvt gen products name price quantity enabled created_at
# → Infers: name:string price:float quantity:int enabled:bool created_at:timeThis generates:
app/users/users.go- Full CRUD handlerapp/users/users.tmpl- Tailwind CSS UIapp/users/users_ws_test.go- WebSocket testsapp/users/users_test.go- Chromedp E2E tests- Database schema and queries (appended)
lvt migration up # Runs pending migrations and auto-generates database codeThis automatically:
- Applies pending database migrations
- Runs
sqlc generateto create Go database code - Updates your query interfaces
Add to cmd/myapp/main.go:
import "myapp/app/users"
// In main():
http.Handle("/users", users.Handler(queries))go run cmd/myapp/main.goOpen http://localhost:8080/users
Let's build a complete blog system with posts, comments, and categories to demonstrate lvt's capabilities.
lvt new myblog
cd myblogThis creates your project structure with database setup, main.go, and configuration. Dependencies are automatically installed via go get ./....
lvt gen posts title content:string published:bool
lvt gen categories name description
lvt gen comments post_id:references:posts author textThis generates for each resource:
- ✅
app/{resource}/{resource}.go- CRUD handler with LiveTemplate integration - ✅
app/{resource}/{resource}.tmpl- Component-based template with Tailwind CSS - ✅
app/{resource}/{resource}_test.go- E2E tests with chromedp - ✅ Database migration file with unique timestamps
- ✅ SQL queries appended to
database/queries.sql
For the comments resource with post_id:references:posts:
- ✅ Creates
post_idfield as TEXT (matching posts.id type) - ✅ Adds foreign key constraint:
FOREIGN KEY (post_id) REFERENCES posts(id) ON DELETE CASCADE - ✅ Creates index on
post_idfor query performance - ✅ No manual migration needed!
lvt migration upThis command:
- ✅ Runs all pending database migrations
- ✅ Automatically generates Go database code with sqlc
- ✅ Creates type-safe query interfaces
You'll see output like:
Running pending migrations...
OK 20240315120000_create_posts.sql
OK 20240315120001_create_categories.sql
OK 20240315120002_create_comments.sql
Generating database code with sqlc...
✅ Database code generated successfully!
✅ Migrations complete!
go mod tidyThis resolves all internal package imports created by the generated code. Required before running the app.
The routes are auto-injected, but verify in cmd/myblog/main.go:
import (
"myblog/app/posts"
"myblog/app/categories"
"myblog/app/comments"
)
func main() {
// ... database setup ...
// Routes (auto-injected)
http.Handle("/posts", posts.Handler(queries))
http.Handle("/categories", categories.Handler(queries))
http.Handle("/comments", comments.Handler(queries))
// Start server
http.ListenAndServe(":8080", nil)
}go run cmd/myblog/main.goVisit:
- http://localhost:8080/posts - Create and manage blog posts
- http://localhost:8080/categories - Organize posts by category
- http://localhost:8080/comments - View all comments
Note: Visiting http://localhost:8080/ will show a 404 since no root handler exists. You can add a homepage next.
lvt gen view home
go mod tidy
go run cmd/myblog/main.goThis creates a view-only handler (no database operations). Edit app/home/home.tmpl to create your landing page, then visit http://localhost:8080/home.
# Run all tests (E2E + WebSocket)
go test ./...
# Run specific resource tests
go test ./app/posts -v1. Generate resources (CSS framework determined by kit):
# Resources use the CSS framework from your chosen kit
# Multi and single kits use Tailwind CSS
# Simple kit uses no CSS framework (semantic HTML)
lvt gen tags name
# To use a different CSS framework, create your app with a different kit
lvt new myapp --kit simple # Uses no CSS (semantic HTML)
cd myapp
lvt gen authors name bio # Will use semantic HTML2. Use Type Inference:
# Field types are inferred from names
lvt gen articles title content published_at author email price
# Infers: title=string, content=string, published_at=time,
# author=string, email=string, price=float3. Create Custom Templates:
# Copy templates to customize
lvt template copy all
# Edit templates in .lvt/templates/
# Your customizations apply to all new resources4. Define Relationships with references:
# Basic reference (ON DELETE CASCADE - default)
lvt gen comments post_id:references:posts author text
# Custom ON DELETE behavior
lvt gen audit_logs user_id:references:users:set_null action:string
# Makes user_id nullable, sets NULL when user deleted
# Multiple references
lvt gen likes user_id:references:users post_id:references:posts
# Restrict deletion (prevent deleting parent if children exist)
lvt gen invoices customer_id:references:customers:restrict amount:float5. Add More Features:
# Tags for posts
lvt gen tags name color:string
# Post-tag relationship (many-to-many with references)
lvt gen post_tags post_id:references:posts tag_id:references:tags
# User accounts
lvt gen users username email password_hash:string
# Post reactions with proper relationships
lvt gen reactions post_id:references:posts user_id:references:users type:stringAfter completing the tutorial, your project looks like:
myblog/
├── cmd/myblog/main.go
├── internal/
│ ├── app/
│ │ ├── posts/
│ │ │ ├── posts.go
│ │ │ ├── posts.tmpl
│ │ │ ├── posts_test.go
│ │ │ └── posts_ws_test.go
│ │ ├── categories/
│ │ ├── comments/
│ │ └── home/
│ └── database/
│ ├── db.go
│ ├── migrations/
│ │ ├── 20240315120000_create_posts.sql
│ │ ├── 20240315120001_create_categories.sql
│ │ └── ...
│ ├── queries.sql
│ └── models/ # Generated by sqlc
│ ├── db.go
│ ├── models.go
│ └── queries.sql.go
└── go.mod
- Add Authentication - Integrate session management
- Rich Text Editor - Add markdown or WYSIWYG editor to post content
- Image Uploads - Add image upload functionality
- Search - Implement full-text search across posts
- RSS Feed - Generate RSS feed from posts
- Admin Dashboard - Create
lvt gen view admin - API Endpoints - Add JSON API alongside HTML views
- Start simple - Begin with core resources, add features incrementally
- Use migrations - Always use
lvt migration createfor schema changes - Test continuously - Run
go test ./...after each change - Customize templates - Copy and modify templates to match your design
- Component mode - Use
--mode singlefor SPA-style applications
Creates a new LiveTemplate application with:
myapp/
├── cmd/myapp/main.go # Application entry point
├── go.mod # With //go:tool directive
├── internal/
│ ├── app/ # Handlers and templates
│ ├── database/
│ │ ├── db.go # Connection & migrations
│ │ ├── schema.sql # Database schema
│ │ ├── queries.sql # SQL queries (sqlc)
│ │ ├── sqlc.yaml # sqlc configuration
│ │ └── models/ # Generated code
│ └── shared/ # Shared utilities
├── web/assets/ # Static assets
└── README.md
Generates a full CRUD resource with database integration.
Example:
lvt gen posts title:string content:string published:bool views:intGenerated Files:
- Handler with State struct, Change() method, Init() method
- Bulma CSS template with:
- Create form with validation
- List view with search, sort, pagination
- Delete functionality
- Real-time WebSocket updates
- WebSocket unit tests
- Chromedp E2E tests
- Database schema and queries
Features:
- ✅ CRUD operations (Create, Read, Update, Delete)
- ✅ Search across string fields
- ✅ Sorting by fields
- ✅ Pagination
- ✅ Real-time updates via WebSocket
- ✅ Form validation
- ✅ Statistics/counts
- ✅ Bulma CSS styling
- ✅ Comprehensive tests
- ✅ Auto-injected routes - Automatically adds route and import to
main.go
Generates a view-only handler without database integration (like the counter example).
Example:
lvt gen view dashboardGenerates:
app/dashboard/dashboard.go- View handler with state managementapp/dashboard/dashboard.tmpl- Bulma CSS templateapp/dashboard/dashboard_ws_test.go- WebSocket testsapp/dashboard/dashboard_test.go- Chromedp E2E tests
Features:
- ✅ State management
- ✅ Real-time updates via WebSocket
- ✅ Bulma CSS styling
- ✅ Comprehensive tests
- ✅ No database dependencies
- ✅ Auto-injected routes - Automatically adds route and import to
main.go
Generates a complete authentication system similar to Phoenix's mix phx.gen.auth.
Example:
# Generate with default settings (password + magic-link auth)
lvt gen auth
# Generate with only password authentication
lvt gen auth --no-magic-link
# Generate with only magic-link authentication
lvt gen auth --no-password
# Disable email confirmation
lvt gen auth --no-email-confirm
# Disable CSRF protection
lvt gen auth --no-csrfFlags:
--no-password- Disable password authentication--no-magic-link- Disable magic-link authentication--no-email-confirm- Disable email confirmation flow--no-password-reset- Disable password reset functionality--no-sessions-ui- Disable session management UI--no-csrf- Disable CSRF protection middleware
Note: At least one authentication method (password or magic-link) must be enabled.
Generates:
shared/password/password.go- Password hashing utilities (bcrypt)shared/email/email.go- Email sender interface with console loggerdatabase/migrations/YYYYMMDDHHMMSS_create_auth_tables.sql- Auth tables migration- Auth queries appended to
database/queries.sql
Features:
- ✅ Password authentication with bcrypt hashing
- ✅ Magic-link email authentication
- ✅ Email confirmation flow
- ✅ Password reset functionality
- ✅ Session management
- ✅ CSRF protection with gorilla/csrf
- ✅ Auto-updates
go.moddependencies - ✅ EmailSender interface (console logger + SMTP/Mailgun examples)
- ✅ Case-insensitive email matching
- ✅ Configurable features via flags
Database Tables:
users- User accounts with email and optional hashed passworduser_tokens- Tokens for magic links, email confirmation, password reset
Next Steps After Generation:
# 1. Run migrations
lvt migration up
# 2. Generate sqlc code
sqlc generate
# 3. Update main.go to register auth handler
# (Implementation in Phase 2)When you generate a resource or view, lvt automatically:
-
Adds the import to your
cmd/*/main.go:import ( "yourapp/app/users" // ← Auto-added )
-
Injects the route after the TODO comment:
// TODO: Add routes here http.Handle("/users", users.Handler(queries)) // ← Auto-added
-
Maintains idempotency - Running the same command twice won't duplicate routes
This eliminates the manual step of wiring up routes, making the development workflow smoother. Routes are inserted in the order you generate them, right after the TODO marker.
| CLI Type | Go Type | SQL Type |
|---|---|---|
| string | string | TEXT |
| int | int64 | INTEGER |
| bool | bool | BOOLEAN |
| float | float64 | REAL |
| time | time.Time | DATETIME |
Aliases:
str,text→stringinteger→intboolean→boolfloat64,decimal→floatdatetime,timestamp→time
The CLI includes an intelligent type inference system that automatically suggests types based on field names:
When using the type inference system, you can omit explicit types and let the system infer them:
// In ui.InferType("email") → returns "string"
// In ui.InferType("age") → returns "int"
// In ui.InferType("price") → returns "float"
// In ui.InferType("enabled") → returns "bool"
// In ui.InferType("created_at") → returns "time"String fields (default for unknown):
- Exact:
name,title,description,email,username,url,slug,address, etc. - Contains:
*email*,*url*
Integer fields:
- Exact:
age,count,quantity,views,likes,score,rank,year - Suffix:
*_count,*_number,*_index
Float fields:
- Exact:
price,amount,rating,latitude,longitude - Suffix/Contains:
*_price,*_amount,*_rate,*price*,*amount*
Boolean fields:
- Exact:
enabled,active,published,verified,approved,deleted - Prefix:
is_*,has_*,can_*
Time fields:
- Exact:
created_at,updated_at,deleted_at,published_at - Suffix:
*_at,*_date,*_time
The inference system is available via the ui package:
import "github.com/livetemplate/lvt/internal/ui"
// Infer type from field name
fieldType := ui.InferType("email") // → "string"
// Parse field input (with or without type)
name, typ := ui.ParseFieldInput("email") // → "email", "string" (inferred)
name, typ := ui.ParseFieldInput("age:float") // → "age", "float" (explicit override)In upcoming phases, this will power:
- Interactive field builders that suggest types as you type
- Direct mode support:
lvt gen users name email age(without explicit types) - Smart defaults that reduce typing
The generated app follows idiomatic Go conventions:
cmd/- Application entry pointsapp/- Handlers and templates (co-located!)database/- Database layer with sqlcshared/- Shared utilitiesweb/assets/- Static assets
Key Design Decision: Templates live next to their handlers for easy discovery.
package users
type State struct {
Queries *models.Queries
Users []User
SearchQuery string
SortBy string
CurrentPage int
PageSize int
TotalPages int
// ...
}
// Action methods - automatically dispatched based on action name
func (s *State) Add(ctx *livetemplate.ActionContext) error {
// Create user
return nil
}
func (s *State) Update(ctx *livetemplate.ActionContext) error {
// Update user
return nil
}
func (s *State) Delete(ctx *livetemplate.ActionContext) error {
// Delete user
return nil
}
func (s *State) Search(ctx *livetemplate.ActionContext) error {
// Search users
return nil
}
func (s *State) Init() error {
// Load initial data
return nil
}
func Handler(queries *models.Queries) http.Handler {
tmpl := livetemplate.New("users")
state := &State{Queries: queries, PageSize: 10}
return tmpl.Handle(state)
}The project includes comprehensive testing infrastructure at multiple levels.
Use these convenient make targets for different testing workflows:
make test-fast # Unit tests only (~30s)
make test-commit # Before committing (~3-4min)
make test-all # Full suite (~5-6min)
make test-clean # Clean Docker resourcesSee Testing Guide for detailed documentation on test optimization and architecture.
# Run all tests (fast mode - skips deployment tests)
go test ./... -short
# Run all tests (including slower e2e tests)
go test ./...
# Run specific package tests
go test ./internal/generator -v
# Run tests with coverage
go test ./... -coverFast tests for individual packages and functions:
# Internal packages
go test ./internal/config ./internal/generator ./internal/parser -v
# Commands package
go test ./commands -vDuration: <5 seconds
Fast unit tests for WebSocket protocol and state changes in generated resources:
go test ./app/users -run WebSocketFeatures:
- Test server startup with dynamic ports
- WebSocket connection testing
- CRUD action testing
- Server log capture for debugging
Duration: 2-5 seconds per resource
Full browser testing with real user interactions for generated resources:
go test ./app/users -run E2EFeatures:
- Docker Chrome container
- Real browser interactions (clicks, typing, forms)
- Visual verification
- Screenshot capture
- Console log access
Duration: 20-60 seconds per resource
Comprehensive deployment testing infrastructure for testing real deployments:
# Mock deployment tests (fast, no credentials needed)
go test ./e2e -run TestDeploymentInfrastructure_Mock -v
# Docker deployment tests (requires Docker)
RUN_DOCKER_DEPLOYMENT_TESTS=true go test ./e2e -run TestDockerDeployment -v
# Fly.io deployment tests (requires credentials)
export FLY_API_TOKEN="your_token"
RUN_FLY_DEPLOYMENT_TESTS=true go test ./e2e -run TestRealFlyDeployment -vFeatures:
- Mock, Docker, and Fly.io deployment testing
- Automatic cleanup and resource management
- Smoke tests (HTTP, health, WebSocket, templates)
- Credential-based access control
Duration: 2 minutes (mock) to 15 minutes (real deployments)
| Variable | Purpose | Default |
|---|---|---|
RUN_DOCKER_DEPLOYMENT_TESTS |
Enable Docker deployment tests | false |
RUN_FLY_DEPLOYMENT_TESTS |
Enable Fly.io deployment tests | false |
FLY_API_TOKEN |
Fly.io API token for real deployments | - |
Tests run automatically on every pull request via GitHub Actions:
- ✅ Code formatting validation
- ✅ Unit tests (all internal packages)
- ✅ Commands tests
- ✅ E2E tests (short mode)
- ✅ Mock deployment tests
On-demand/scheduled deployment testing available via manual workflow dispatch or weekly schedule.
For detailed CI/CD documentation, see:
Use -short flag to skip slow tests (deployment tests, long-running e2e tests):
go test -short ./...For comprehensive testing documentation, see:
- Deployment Testing - Complete deployment testing guide
- CI/CD Testing - CI/CD workflows and setup
- Deployment Plan - Implementation progress and status
Generated go.mod includes:
//go:tool github.com/sqlc-dev/sqlc/cmd/sqlcRun migrations (automatically runs sqlc):
lvt migration upAll generated templates use Bulma CSS by default:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.4/css/bulma.min.css">Components used:
.section,.container- Layout.box- Content containers.table- Data tables.button,.input,.select- Form controls.pagination- Pagination controls
- Create app:
lvt new myapp - Generate resources:
lvt gen users name:string email:string - Run migrations:
lvt migration up(auto-generates DB code) - Wire routes in
main.go - Run tests:
go test ./... - Run app:
go run cmd/myapp/main.go
lvt new myblog
cd myblog
# Generate posts resource
lvt gen posts title:string content:string published:bool
# Generate comments resource
lvt gen comments post_id:string author:string text:string
# Run migrations (auto-generates DB code)
lvt migration up
# Run
go run cmd/myblog/main.golvt new mystore
cd mystore
lvt gen products name:string price:float stock:int
lvt gen customers name:string email:string
lvt gen orders customer_id:string total:float
lvt migration up # Runs migrations and generates DB code
go run cmd/mystore/main.goThe generator uses custom delimiters ([[, ]]) to avoid conflicts with Go template syntax:
- Generator templates:
[[.ResourceName]]- Replaced during generation - Output templates:
{{.Title}}- Used at runtime by LiveTemplate
All templates are embedded using embed.FS for easy distribution.
- Parse field definitions (
name:type) - Map types to Go and SQL types
- Render templates with resource data
- Generate handler, template, tests
- Append to database files
go test ./cmd/lvt -v-
Parser Tests (
cmd/lvt/internal/parser/fields_test.go)- Field parsing and validation
- Type mapping correctness
- 13 comprehensive tests
-
Golden File Tests (
cmd/lvt/golden_test.go)- Regression testing for generated code
- Validates handler and template output
- Update with:
UPDATE_GOLDEN=1 go test ./cmd/lvt -run Golden
-
Integration Tests (
cmd/lvt/integration_test.go)- Go syntax validation
- File structure validation
- Generation pipeline testing
-
Smoke Test (
scripts/test_cli_smoke.sh)- End-to-end CLI workflow
- App creation and resource generation
- File structure verification
-
✅ Completelvt gen view- View-only handlers -
Router auto-update✅ Complete -
Bubbletea interactive UI✅ Complete (Phase 1-3)- Dependencies & infrastructure
- Smart type inference system (50+ patterns)
- UI styling framework (Lipgloss)
- Interactive app creation wizard
- Interactive resource builder
- Interactive view builder
- Mode detection (auto-switch based on args)
- Type inference in direct mode
-
Enhanced validation & help system (Phase 4)✅ Complete- Real-time Go identifier validation
- SQL reserved word warnings (25+ keywords)
- Help overlay with
?key in all wizards - Color-coded feedback (✓✗⚠)
- All 3 wizards enhanced
-
Migration commands✅ Complete- Goose integration with minimal wrapper (~410 lines)
- Auto-generate migrations from
lvt gen resource - Commands:
up,down,status,create <name> - Timestamped migration files with Up/Down sections
- Schema versioning and rollback support
-
Custom template support✅ Complete- Cascading template lookup (project → user → embedded)
-
lvt template copycommand for easy customization - Project templates in
.lvt/templates/(version-controlled) - User-wide templates in
~/.config/lvt/templates/ - Selective override (only customize what you need)
- Zero breaking changes (~250 lines total)
-
Multiple CSS frameworks✅ Complete- Tailwind CSS v4 (default)
- Bulma 1.0.4
- Pico CSS v2
- None (pure HTML)
- CSS framework determined by kit (multi/single use Tailwind, simple uses Pico)
- 57 CSS helper functions for framework abstraction
- Conditional template rendering (single source of truth)
- Semantic HTML support for Pico CSS (, )
- Zero breaking changes (~550 lines total)
-
✅ Phase 1 Completelvt gen auth- Authentication system- Password authentication (bcrypt)
- Magic-link email authentication
- Email confirmation flow
- Password reset functionality
- Session management tables
- CSRF protection (gorilla/csrf)
- Auto-dependency updates (go.mod)
- EmailSender interface with examples
- Configurable via flags
- Auth handlers (Phase 2)
- Custom authenticator (Phase 3)
- Middleware templates (Phase 4)
- GraphQL support
See the main LiveTemplate CLAUDE.md for development guidelines.
Same as LiveTemplate project.