Robert Zehnder

I write about BoxLang, CFML and the JVM web stack, and build open-source modules and apps with them. This is where the notes, the deep dives and the projects live.

Recent writing

All writing →

BoxLang Express 0.2.27, and sign-in with boxlang-express-auth

BoxLang Express 0.2.27 adds page layouts and partials, regex route params, schema validation, content negotiation, signed cookies, request timeouts and body limits, an access log, cron schedules, and middleware for WebSocket upgrades. Alongside it comes boxlang-express-auth: sign-in with GitHub, Google, Microsoft, GitLab, Apple or any OpenID Connect provider, plus account linking, logout at the identity provider, and a test provider for your own specs.

boxlang

BoxPress: a working BoxLang Express app you can install and make your own

An open-source blogging platform with a composer built for writers: visual and Markdown editing, a server-rendered preview, paste-to-upload images, and drafts that survive closed tabs and crashes. It also covers what real apps need, from passkeys and CSRF to migrations, scheduled jobs, self-hosted analytics and Docker, all in readable code you can change.

boxlang

Keeping Docker containers off your LAN

Hardened Docker containers (no published ports, capabilities dropped) can still reach the whole LAN, because bridge NAT lets them connect anywhere the host can. The fix on OrbStack/macOS is a helper container that reapplies DOCKER-USER egress rules every 15s. The rules block private ranges, OrbStack's 0.250.250.0/24 host range and all non-bridge IPv6, allow DNS to OrbStack's resolver, and stay above the ACCEPT OrbStack inserts on restart. Lesson: test effect, not existence.

docker

Serving Sites from Your Dev Server

Side projects shouldn’t cost more than they have users. Here’s how I moved mine off a $75/mo hosting bill and onto Docker on my dev server: a Cloudflare Tunnel with no open ports, a trusted CF-Connecting-IP header, JVM memory sized from container limits, a deploy script that tests itself before it touches production, and encrypted off-site backups to R2. It’s not high availability. It’s a home server. But the bill is zero.

boxlang

Passwordless sign-in for BoxLang with bx-passkeys

Passkeys replace passwords with a key pair kept on the user's device, so there's nothing reusable to phish or leak. This step-by-step guide adds them to a BoxLang app with bx-passkeys. You install the module, create the table and configure the relying party, then wire up four calls: registrationOptions(), register(), signInOptions() and verify(). It also covers the browser helper, listing and removing passkeys, testing with a fake authenticator, and a production checklist.

boxlang

Everything Runs on My Dev Box Now, and That’s Fine

November means burning leftover time off on side projects. Feedhouse outgrew a $75/mo hosting bill it was never going to earn back, so everything now runs in Docker on my dev machine behind Cloudflare Tunnels. It’s faster, too, now that the database isn’t starving. And DismalThreads is back with a facelift after a launch nobody came to and more rewrites than I’d like to admit: Facebook for developers, minus the memes and the LinkedIn-ness.

boxlang

The JVM Was Calling System.gc() Behind My Back

Feedhouse, a small BoxLang RSS reader, was running up to 70 full GCs an hour with its heap a quarter full. The likely cause: when direct (off-heap) buffer memory reaches -XX:MaxDirectMemorySize, the JDK calls System.gc() itself, and I had capped it at 64 MB. Raising the cap to 128 MB cut full GCs to 2-5 an hour, past the point where the spike used to begin. How I tracked it down with hourly JVM metrics and an admin GraphQL API, driven by Claude Code.

boxlang

MacMD Viewer: a read-only Markdown viewer for reviewing what Claude writes

MacMD Viewer is a native, read-only Markdown viewer for macOS. Press space in Finder for a formatted Quick Look preview, or open a window with an outline, syntax highlighting, Mermaid diagrams and auto-reload. Being read-only is the point: you can read SKILL.md and REFERENCE.md files while Claude edits them, without an editor fighting over the file. $19.99, or included with Setapp.

claude

Selected projects

All projects →

Feedhouse

A feed reader in the spirit of Google Reader: RSS, YouTube, podcasts, Mastodon and Bluesky, in the order they were published, with nothing ranking your feed.

BoxLang · BoxExpress feedhouse.app ↗

DismalThreads

A community of groups, posts and threaded comments, with friends, reactions and replies that update live.

BoxLang · BoxExpress · React dismalthreads.com ↗

boxlang-express

An Express.js-style web framework for BoxLang: routing, middleware, sessions, WebSockets and STOMP. Both apps above, and this site, run on it.

BoxLang module Docs

BoxPress

An open-source blogging platform to install and make your own: a composer with visual and Markdown editing that never loses a draft, self-hosted insights, and passkeys.

BoxLang · BoxExpress · React Overview