Skip to main content

v0.3.2 documentation

Gojang Framework

An AI-native, batteries-included web framework for Go and HTMX

AI-native workflow

Built-in skills help agents add data models, public pages, admin behavior, auth changes, tests, and HTMX UI using Gojang conventions.

Batteries included

Authentication, sessions, CSRF, Ent models, admin CRUD, logging, email, rate limiting, and deployment guidance are ready from the start.

HTMX first

Build dynamic interfaces with Go templates, partial rendering, reusable components, and small server-rendered HTMX responses.

Admin workspace

Generated Ent models are discovered automatically and surfaced through an Airtable-style staff workspace with registry-based customization.

Modern auth

Email verification, forgot-password and reset-password flows, SES with SMTP fallback, and reCAPTCHA v3 support are documented and integrated.

Production ready

Security headers, HTTPS enforcement, structured logging, deployment guides, backups, monitoring, and distributed deployment patterns are covered.

Run Gojang locally

Clone, configure, generate models, and start the dev server.

git clone https://github.com/gojangframework/gojang
cd gojang
cp .env.example .env
go mod download
task schema-gen
task dev

# Seed the first admin account when ready
task seed