OSS / 01Amsonia Core / Apache-2.0

Go administration. Backed by PostgreSQL.

Amsonia Core is our open-source administration scaffold for Go applications. Start with one organization, accounts, invitations, roles, sessions, audit, and a React console. Enable multi-tenancy when your application needs it.

Go + PostgreSQL

Keep tenant permissions and data isolation together.

Core provides administration and an authorization boundary. Your host application authenticates end users, resolves the active organization, and chooses the permission each business action requires.

01

Tenant-scoped and delegated RBAC

Work with memberships, permission catalogs, immutable role versions, and scoped permissions. Review the public tests for grant-cycle and stale-version rejection.

02

PostgreSQL row-level security

A signed, transaction-local tenant binding and reference FORCE RLS policies connect the authorization boundary to database access. The host-table example includes cross-tenant reads and rejected writes.

03

Sessions, audit, and administration

Inspect administrator authentication, rotating refresh sessions, append-only policy audit, a versioned HTTP API, and the React management console.

Run it locally

Start with a working example.

The Compose quick start requires Docker with the Compose plugin and Go 1.26.10 or newer. Follow the repository guide for configuration and administrator bootstrap.

git clone https://github.com/willunylabs/amsonia-core.git
cd amsonia-core
make demo

Open http://127.0.0.1:8080 after setup. The command prompts for an administrator password; follow the guide to manage the local stack and its PostgreSQL data.

Then inspect the business-data RLS walkthrough: two tenants access the same invoice table, with isolation enforced through the reference database policies.

The Next.js product

Looking for a complete Next.js SaaS starter?

Amsonia Next is our private commercial Next.js application with accounts, Stripe billing, PostgreSQL/Drizzle, and admin. Core is an independently useful Go/PostgreSQL administration scaffold; it does not include Next source, billing, or the full SaaS product.