The Tracks CLI tool is ready to generate production-ready Go web applications. Install it now and start building.
What works now:
✅ CLI infrastructure (complete)
Root command with version, help, and global flags
Renderer pattern (Console, JSON, TUI-ready)
Mode detection (TTY, CI, flags, env vars)
Theme system with Lip Gloss styling
Comprehensive test coverage (unit + integration + Docker E2E)
✅ Project generation (tracks new command)
Production-ready project scaffolding
Choice of database drivers (LibSQL, SQLite3, PostgreSQL)
Clean architecture with layered structure (handlers → services → repositories)
Auto-generated .env with sensible defaults
Health check endpoint with repository pattern
Cross-platform support (Linux, macOS, Windows)
✅ Complete development tooling
Makefile with comprehensive targets (dev, test, lint, build, generate-mocks)
Docker Compose for all database drivers (auto-started with make dev)
Air for live reload during development
golangci-lint configuration for code quality
Mockery integration for automatic mock generation
SQLC integration for type-safe database code
GitHub Actions CI workflow (tests on Ubuntu, macOS, Windows)
✅ Comprehensive documentation
Live documentation site with guides and tutorials
Architecture overview and layer-by-layer guide
CLI reference with examples
Testing strategies and patterns
Installation guides for all platforms
Quick Start
Install Tracks and create your first project:
# Install (requires Go 1.25+)
go install github.com/anomalousventures/tracks/cmd/tracks@latest
# Create a new project
tracks new myapp
# Start development (auto-starts Docker services and generates .env)
cd myapp
make dev # Auto-starts required services, starts server with live reload
# Verify health endpoint
curl http://localhost:8080/api/health
What you get:
Production-ready project structure with clean layered architecture
Health check endpoint with database connectivity test
Complete development tooling (Makefile, Air live reload, golangci-lint)
Docker Compose for local development (auto-started with make dev)
Tracks will be a code-generating web framework for Go that produces idiomatic, production-ready applications. Built for developers who want the productivity of modern frameworks with the performance and simplicity of Go.
Tracks uses a multi-layered testing approach for maximum cross-platform coverage:
make test # Unit tests (fast, all platforms)
go test ./tests/integration # Integration tests (all platforms)
go test -tags=docker ./tests/integration # Docker E2E tests (Ubuntu only)
make test-coverage # All tests with coverage reports
Test Types:
Unit Tests - Colocated with source, run with -short flag, use race detector
Docker E2E Tests - Full end-to-end with databases (Postgres, LibSQL) via Docker Compose
Docker E2E tests use the //go:build docker tag and only run on Ubuntu in CI due to Docker setup complexity on macOS/Windows. Non-Docker tests run on all platforms.