hello

command
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Command hello is a minimal burrow application that serves a single "Hello, World!" page with Tailwind v4 styling and i18n support.

This example demonstrates the core concepts of a burrow app in a flat layout — one Go file, one templates/ directory, one static/ directory, one tailwind.css:

  • Creating a server with contrib apps (staticfiles, htmx)
  • Defining a custom app that ships its own templates and embeds its own static CSS
  • Configuring the CLI with urfave/cli for flags like --host, --port, etc.

Translations are provided via burrow's built-in `t` template function.

Run it (mise builds the Tailwind CSS first, then starts the server):

mise run example-hello

Then open http://localhost:8080 in your browser.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL