One Go Framework.
Every Workload.
From single-binary web monoliths to interactive TUIs, high-speed static sites, book pipelines, background workers, microservices, cloud infra, and Go WebAssembly runtimes — build everything in Go with one CLI kiw and zero JS fatigue.
curl -fsSL https://krewire.com/scripts/install.sh | sh
kiw new my-app --site && cd my-app && kiw dev
Go 1.22+ · File-based routing · Scoped CSS · 100% Zero JS by default
---
title: Hello Krewire
layout: Landing
workload: site
---
<h1>{{.Title}}</h1>
<p>One Go Framework. Every Workload.</p>
<style>
h1 { color: var(--primary); font-weight: 900; }
p { font-size: 14px; color: var(--muted); }
</style>
krewire.yaml
One Framework. Eight Workloads.
Stop assembling disparate frameworks for web, CLI, background queues, and infra. Krewire provides unified ergonomics, shared configuration, and zero context switching.
app
Fullstack web monolith — compile your web interface, HTTP routing, and API handlers into a single static Go binary.
kiw run
cli
Command-line utilities and interactive TUIs powered by a Bubble Tea-inspired reactive terminal interface engine.
kiw build --cli
site
High-performance static site generator with file-based routing, scoped .kiw components, and zero client-side JS.
kiw build --site
book
Turn markdown manuscripts into structured documentation books with automatic indexing via mdbind.
kiw build --book
worker
Asynchronous job queues, scheduled cron tasks, retry policies, backoff timers, and dead-letter queues via framework/worker.
kiw run --worker
service
Distributed microservice architecture with service discovery, API gateway routing, rate limiting, and OpenTelemetry tracing.
kiw run --service
infra
Provider-agnostic infrastructure-as-code compiling directly to AWS, GCP, or Kubernetes specifications from Go declarations.
kiw infra apply
runtime
Compile Go into WebAssembly with virtual DOM diffing, reactive interactive islands, and partial client hydration.
kiw build --wasm
From Zero to Production in 4 Steps
Install once, then scaffold, develop, and deploy — no toolchain fatigue, no breaking dependency trees.
kiw install
One command installs the kiw CLI on Linux or macOS. No package manager needed.
curl -fsSL \
https://krewire.com/scripts/install.sh \
| sh
kiw new
Generate a production-ready project template for any workload in under one second.
kiw new my-site --site
cd my-site
kiw dev
Instant hot-reload local development server with file-based routing and scoped CSS updates.
kiw dev
# ⚡ Ready at http://localhost:3000
kiw deploy
Compile into a single static binary or static asset bundle and ship to GitHub Pages or Docker.
kiw deploy --target gh-pages
# ✓ Deployed successfully!
Go-First. Progressive. Zero Bloat.
Built for engineers who value compilation speed, predictable deployments, and maintainable software architecture.
Pure Go Toolchain
No Node.js, no npm dependencies, and no bundler configuration. Your entire application compiles with standard Go tooling into clean, self-contained binaries.
Scoped .kiw Components
Combines YAML frontmatter, standard Go HTML templates, and scoped <style> blocks. CSS classes never leak outside their component boundary.
Progressive Scaling
Start as a lightweight static site, grow into a fullstack web monolith, then seamlessly extract background workers and microservices — all within the same ecosystem.
Enterprise Resilience
Engineered with production defaults: structured JSON logging, distributed tracing, health checks, circuit breakers, and graceful shutdown out of the box.
Write Pages as Clean .kiw Components
The elegance of Svelte and Astro brought to Go. Frontmatter + HTML + scoped CSS in one intuitive file.
---
title: "Welcome to Krewire"
layout: Landing
workload: site
---
<section class="welcome">
<h1>{{ .Title }}</h1>
<p>Compiled Go speed with zero runtime bloat.</p>
</section>
<style>
.welcome { padding: 40px 0; text-align: center; }
h1 { color: var(--primary); font-weight: 900; }
p { font-size: 15px; color: var(--muted); }
</style>
Why Scoped CSS in Go?
Every .kiw component receives automatic data-kiw-component scope hashing at build time. No CSS collisions, no naming gymnastics, zero runtime cost.
- ✓ Scoped by Default: Styles remain strictly isolated to the component.
-
✓
Global CSS via
:root: Theme tokens cascade cleanly across layouts. - ✓ No Bundler Required: Built directly by the Go compiler without npm.
-
✓
Light & Dark Mode: Native token switching via
data-theme.
Ecosystem — One kiw for Everything
Modular, high-performance Go libraries engineered to build every workload together or standalone.
framework
App · web · UI · runtime · worker · service · infra workloads in unified Go.
github.com/krewire/framework
kiw
Developer multi-tool: instant scaffolding, fast builds, dev server, and deployment.
github.com/krewire/kiw
libs
Zero-dependency foundation: config loader, validation, terminal UI, and logging.
github.com/krewire/libs
mdbind
Manuscript-to-book engine: structured markdown, frontmatter, and search indexing.
github.com/krewire/mdbind
boost
Autonomous AI pair programming workflows, roles, and contributor guidelines.
github.com/krewire/boost
Start Building with Krewire Today
Start with a lightweight static site, scale to a web monolith, then to distributed cloud services — one repository, one CLI, one configuration.
kiw new my-app && cd my-app && kiw serve