2026-04-16 13:35:26 +02:00
2026-04-08 04:29:35 +02:00
2026-04-16 13:35:26 +02:00
2026-04-08 04:40:41 +02:00
2026-04-08 04:29:35 +02:00
2026-04-08 04:29:35 +02:00
2026-04-15 22:56:25 +02:00
2026-04-08 04:29:35 +02:00
2026-04-08 04:29:35 +02:00
2026-04-16 13:35:26 +02:00
2026-04-16 13:35:26 +02:00
2026-04-08 04:40:41 +02:00
2026-04-08 04:29:35 +02:00

create-glstack

Scaffold a fullstack application with a Go backend, SvelteKit frontend, and PostgreSQL database, connected via Connect RPC.

Work in progress -- additional frontend frameworks and features are planned for future releases.

Usage

bun create glstack

What you get

A monorepo with the following structure:

  • services/api -- Go backend using Cobra for CLI, pgx for Postgres, and Connect RPC for the API layer
  • apps/web -- SvelteKit frontend with shadcn-svelte, TailwindCSS, TanStack Query, and Paraglide for i18n
  • packages/proto -- Protobuf service definitions with Buf for codegen (Go + TypeScript)
  • packages/rpc -- Generated TypeScript Connect RPC client shared across frontend apps

Dev environment

The template includes a devenv.nix configuration that sets up:

  • Go, TypeScript, Bun
  • PostgreSQL with an auto-provisioned database
  • File watchers for protobuf, SQL, and frontend hot reload
  • Air for Go live reload
  • sqlc for type-safe SQL
  • dbmate for database migrations

Starter example

The generated project includes a working Todo CRUD example wired end-to-end: protobuf schema, Go service implementation, SQL queries, and a SvelteKit UI.

License

MIT

Description
No description provided
Readme 385 KiB
Languages
Svelte 75.6%
TypeScript 18.8%
Go 3.5%
CSS 1.3%
Nix 0.4%
Other 0.4%