~/acme $ go version › go1.26+
The full‑stack framework for GO
Routing, ORM, auth, cache, queues, mail, storage, and more.
One unified framework API. Learn once, use across every service.
brew install --cask velocitykode/tap/velocity$ velocity new acme full stack · react · sqlite · memory Creating project ✓ template · module · git · migrations · .env Installing dependencies ├─ go modules ✓ done ├─ js packages ✓ 50 installed └─ vel binary ✓ built Running migrations ✓ create_users · create_cache · create_jobs ✓ Project ready $ cd acme && vel serve App http://localhost:4000 Vite http://localhost:5173 GET / 200 1.2ms $Watch the intro
Everything you need, nothing you don't
Velocity is packed with production-ready features designed to accelerate your Go development.
Broadcasting
Real-time channels with WebSocket driver and presence tracking.
HTTP & gRPC
Full HTTP server with gRPC support, gateway, interceptors, and health checking.
Authentication
- Session and JWT schemes
- Access checks with policy delegation
- ORM-backed user store
- Per-route authorization
Queues & Jobs
- Jobs as simple Go structs
- Memory, Redis, Database drivers
- Retries and failed job tracking
- Delayed and inline dispatch
Events & Scheduler
- Event dispatching with listeners
- Queued event handling
- Cron-like task scheduling
- Daily, weekly, custom intervals
// every day at 02:00 s.Call(pruneSessions).DailyAt("02:00") // SendWelcome embeds events.QueuedBaseListener events.Listen(UserRegistered{}, &SendWelcome{})
SQLite in dev, Postgres in prod. One env var.
Database, cache, queue, storage, and mail each ship pluggable drivers, configured by environment variables. Swap backends without touching application code.
development
production
Type-safe queries. Same code, three databases.
Generic models with a fluent query builder. Define your schema once and query it with full type safety across PostgreSQL, MySQL, and SQLite.
type Post struct { orm.Model[Post] Title string `orm:"column:title"` UserID uint `orm:"column:user_id"` } posts, err := Post{}. Where("user_id = ?", userID). With("User"). Get(ctx) // []Post on SQLite, Postgres or MySQL
Default-deny cross-origin. Hardened on day one.
Security headers, HTTPS redirect, CORS, CSRF, and rate limiting - all built in with safe defaults. Cross-origin requests are denied until you explicitly allow them.
HTTP/1.1 200 OK strict-transport-security: max-age=63072000; includeSubDomains content-security-policy: default-src 'self' x-content-type-options: nosniff x-frame-options: DENY referrer-policy: strict-origin-when-cross-origin permissions-policy: camera=(), microphone=(), geolocation=()
Full stack. Or just the part you need.
Every subsystem is its own Go package. Take the whole framework with velocity.New(), or import one package into any Go program and use it on its own.
Built from .env and config/, handed to you as one app. Pick a package to take it alone.
v, err := velocity.New() // reads .env and config/ v.Router.Get("/", func(c *router.Context) error { return c.String(200, "hello") }) v.Serve()
One module, one go get. Heavy drivers stay in leaf packages.
One command. Full stack. Hot reload, both sides.
The stack and the DX that engineers actually want - auth and dashboard pre-wired.
- React 19
.tsxJSX + hooksVue 3.vueSFC + composition - Inertia 3SSR optional, same Go controller either way
- Vite + TypeScriptHMR out of the box
- Go binaryrebuilt on every savevel servewatches your Go code
- SQLite, Postgres, or MySQLpicked at scaffold time
- Memory or Redis cachepicked at scaffold time
Just the API. No frontend.
For services that only serve JSON. No Vite, no package.json - the binary is the whole deployable.
- JWT auth stateless, CSRF off
- JSON on every response
- /health and /api/health
- same layout minus the frontend
One CLI. Local dev, at its happiest.
vel generates handlers, models, migrations, and jobs the way Velocity expects - then runs your dev server, queues, and migrations from the same place.
15 commands · 5 categories
- vel gen handler post
- internal/handlers/post.go
- vel gen model user
- internal/models/user.go
- vel gen migration posts
- database/migrations/<ts>_posts.go
- vel gen job send_email
- internal/jobs/send_email.go
- vel migrate
- run pending migrations
- vel migrate rollback
- revert the last batch
- vel migrate fresh
- drop all tables, re-run
- vel migrate status
- show migration state
- vel queue work
- process queued jobs
- vel schedule work
- run scheduler ticks
- vel serve
- dev server with hot reload
- vel build
- compile production binary
- vel routes
- print registered routes
- vel cache clear
- flush cache stores
- vel key generate
- write APP_KEY to .env
Save the file. Watch it land.
One vel serve runs Go and Vite and watches your source. Pick a change and watch what reacts - and what doesn't.
1func Home(ctx *router.Context) error { 2 view.Render(ctx, "Home", view.Props{ 3 "message": "Welcome to Velocity", 4 }) 5 return nil 6}
Production-ready features, right out of the box
Everything you need to build, test, and deploy - no third-party packages required.
Testing
Built-in test helpers with in-memory services, type-safe model factories, fake dispatchers, and database helpers for setup and teardown.
Migrations
Fluent migration system with a table builder API, batch tracking, and rollback support. Driver-aware for PostgreSQL, MySQL, and SQLite.
Validation
Struct-based form requests and inline rules with database-aware checks. Validate once, trust everywhere.
Notifications
Multi-channel delivery to mail, database, broadcast, and Slack with one unified API. Send the same message everywhere your users are.
Encryption
AES-256-GCM with key rotation and HMAC signing helpers. Wrap secrets without rolling your own crypto.
Inertia Views
Server-driven frontends with the Inertia.js adapter and optional SSR. Build SPAs without splitting your stack into two.
Ready to build something great?
Get started with Velocity in minutes.
brew install --cask velocitykode/tap/velocity