bserver Documentation

bserver is a YAML-driven web server that generates HTML pages from structured definitions. Write YAML, get HTML.

Key Features

How It Works

Every page starts from html.yaml, which references head and body. The body references header, main, and footer. Your page defines main to set its content. Names are resolved by searching for matching YAML files, starting in the current directory and walking upward.

Quick Example

A minimal page needs just an index.yaml file:

main:
  - h1: "Hello World"
  - p: "Welcome to my site."
                  

This produces a complete HTML page with doctype, head, body, navbar, and footer - all from a few lines of YAML.

Documentation

Use the navigation above to explore, or choose a topic:

Getting Started Content Definitions Format Definitions Built-in Components Server-Side Scripts Advanced Features