Skip to main content

v0.5.1 documentation

Gojang Framework

A data-friendly, AI-native web framework for Go and HTMX

Define models with Ent and manage their records in Gojang’s Airtable-style admin workspace.

An Airtable-style admin workspace

Gojang automatically discovers your generated Ent models and displays their records. Once the database schema is in place, staff can search configured text fields, filter and sort records, and edit data in the grid or a record drawer.

Explore admin features
View full size
Gojang admin grid with twelve demo projects and controls for searching, filtering, and sorting records.
Edit project fields in the grid, search configured text fields, or filter and sort records.

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.

Built-in HTMX 4

Build server-rendered interfaces with Go templates and locally bundled HTMX 4.0.2. Update post lists and admin grids with partials and morphing. Upgrade to HTMX 4.

Type-safe data models

Define schemas in Go and use the generated Ent API to query records and relationships on SQLite or PostgreSQL.

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

Use Go 1.26.0 or newer and Task. The default SQLite setup runs without a C compiler.

git clone https://github.com/gojangframework/gojang
cd gojang
cp .env.example .env
# Set SESSION_KEY in .env to a generated secret.
task run

# After the server starts, open a second terminal in gojang:
task seed