2026-04-08 04:50:09 +02:00
2026-04-08 04:29:35 +02:00
2026-04-08 04:29:35 +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-08 04:29:35 +02:00
2026-04-08 04:29:35 +02:00
2026-04-08 04:29:35 +02:00
2026-04-08 04:50:09 +02:00
2026-04-08 04:47:27 +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 1.7 MiB
Languages
TypeScript 47.2%
Go 33.9%
Nix 7.6%
Svelte 4.4%
JavaScript 3.5%
Other 3.4%