togo-framework/togo

togo

Go, the artisan way — microkernel of the togo framework (Go + sqlc + Atlas + GraphQL/OpenAPI + Next.js)

togo is an open-source, API-first application framework for the Go + sqlc + Atlas + GraphQL/OpenAPI + Next.js stack. It brings a Laravel-artisan-like developer experience to Go: a powerful CLI, code generators, a plugin marketplace, Supabase auth/dashboard by default, built-in Terraform deploys, and first-class Claude Code / MCP integration.

This repository is the microkernel — the thin core every togo app builds on. The kernel provides configuration, a priority-ordered hook/event bus, a plugin loader + registry, a database driver registry, and server bootstrap. Everything else (REST, GraphQL, auth, dashboard, resources) is a plugin installed by the CLI.

The togo organization

Repo
Role
togoMicrokernel (this repo)
cliThe togo binary — generators, db, install, mcp, deploy
create-togo-appProject template rendered by togo new
plugin-templateStarter for togo plugins
mcpMCP server exposing generators to AI agents
Rows per page
1–5 of 5
Page 1 of 1

Quickstart

bash
go install github.com/togo-framework/cli@latest   # installs the `togo` binary
togo new myapp && cd myapp
togo make:resource Post title:string body:text:nullable
togo generate          # sqlc + gqlgen + atlas + openapi
togo migrate && togo serve

Principles

  • API-first — every resource is exposed over GraphQL and REST/OpenAPI 3.1.
  • Everything is a plugin — the core is a microkernel; capabilities are installed.
  • Generator-firsttogo make:resource scaffolds across six targets from one manifest.
  • Dynamic by default — connections, URLs, endpoints come from togo.yaml + .env + hooks.
  • AI-native — projects ship .claude/ skills/agents + .mcp.json for Claude Code.

License

MIT