Application Ecosystem

Not demos — shippable building blocks. Each package is a separate repository under the bagalang GitHub organization.

Packages live as their own repos in the bagalang organization. Open a card to go to that repository, or browse the full list on GitHub.

Web & Network Stack

HTTP through a Lucky-inspired web framework, WebSockets, OAuth, and query strings.

httpdbaga

HTTP/1.1 + HTTP/2 + HPACK — full protocol stack in pure Baga

fmrbaga

Web framework — router, JSON, middleware, OpenAPI, workers (Lucky-inspired)

wsbaga

WebSocket RFC 6455 — handshake, frames, echo server/client

chatbaga

Multi-room chat over WebSocket using poll-based I/O

oauthbaga

OAuth2 / OIDC-style flows, proxy, session cookie demo

querybaga

URL query / form parse and encode

Database & Storage

SQL clients, ORM, a multimodal SQL server, and a durable LSM engine.

pgbaga

PostgreSQL wire client — SCRAM-SHA-256, $1 params, Simple + Extended Query

ormbaga

ActiveRecord-style ORM + versioned migrations + pool — Postgres or boilaDB

boilaDB

Multimodal SQL server 0.7 — BoilaSQL, PG wire :6575, HTTP. NUMERIC, FK, CHECK, windows, SCRAM, COPY

boilabaga

Client adapter to boilaDB over PG wire (:6575 + BoilaSQL dialect)

rocksbaga

Durable LSM KV — WAL → memtable → SST + page cache + bloom. Storage flagship.

lsmbaga

Deprecated alias that points at rocksbaga

txnbaga

2PC coordinator + MVCC store — distributed transactions probe

kvbaga

RESP2 KV server with Map store and TTL — Redis-compatible protocol

bagadecimal

Fixed-precision decimal + Postgres NUMERIC — money, VAT, rates

queuebaga

Background job queue — disk payloads, worker pool over channels

Distributed Systems & Cloud

Raft consensus, metrics, tracing, and 12-factor patterns.

raftbaga

3-node Raft — election + log replication over channels

metbaga

Prometheus text metrics exporter

otelbaga

W3C Trace Context + OTLP/JSON export lite

logbaga

Structured JSON lines on stderr

cloudbaga

12-factor demo — healthz/readyz/metrics, graceful shutdown

relbaga

Resilience — backoff, retry, circuit breaker, bulkhead

Security & Protocols

JWT, protobuf, gRPC-shaped status, JSON-RPC, and Go-style context.

jwtbaga

JWT — HS256 sign/verify, RS256/ES256 verify, OIDC-ready

pbbaga

Protobuf wire codec + gRPC message framing

statusbaga

gRPC status codes + Status (Go codes/status style)

jsonrpcbaga

JSON-RPC 2.0 over HTTP — single + batch, name dispatch

ctxbaga

Context lite — deadlines, cancel, string values (Go context)

mdtbaga

gRPC metadata MD — multimap of key-value pairs

Documents, Images & Reports

Raster images, office documents, PDF, CSV, XML, ZIP, markdown, and templates.

imgbaga

Raster images — PNG/JPEG/GIF/QOI/ICO/TIFF/WebP/BMP/PNM

officebaga

Office docs — DOCX/XLSX/ODT/ODS (+ legacy DOC/XLS probe)

pdfbaga

PDF writer with UTF-8/Cyrillic via embedded TTF

reportbaga

Accounting reports — data/HTML → Excel · CSV · PDF · HTML

csvbaga

CSV parse/stringify (RFC 4180-ish)

xmlbaga

XML pull parser + writer (no DOM)

zipbaga

ZIP + DEFLATE/inflate + CRC-32 (used by officebaga)

mdbaga

Markdown parser / renderer

tplbaga

HTML template engine (Mustache-ish: if, filters, escape)

bufbaga

String builder — push chunks, join once

Utilities, Tooling & Runtime

Everyday helpers plus an in-process Wasmtime host.

pathbaga

Path helpers — join, basename, dirname, ext, stem

globbaga

Simple glob matching (*, ?)

uuidbaga

UUID v4 (RFC 4122)

grebaga

Grep-like line scanner — literal + mini patterns

testbaga

Minimal test assertions (assert_true, assert_eq_*)

flagbaga

Typed CLI flags over arg()

wasmtimebaga

Wasmtime host embedding — run wasm in-process (C API + shim)