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 →Reading feeds from BoxLang with bx-feeds
bx-feeds reads the world's messy feeds from BoxLang. Find a feed from any pasted address, fetch it politely, and parse RSS, Atom, JSON Feed and podcasts into one clean struct. This walkthrough builds the feed side of a reader, step by step.
boxlangBoxLang-express-mvc: ColdBox-style handlers for BoxLang Express
boxlang-express-mvc brings ColdBox-style conventions to BoxExpress: handlers with ( event, rc, prc ), a route().to() router, views, layouts and service injection. It is familiar, not compatible, and compiles to plain BoxExpress routes at startup. This post builds a todo list app in eight steps, with sessions, CSRF protection, bx-esapi encoders and a Dockerfile, noting at each step what matches ColdBox and what differs.
boxlangA Small BoxExpress App, Laid Out Like the Big Ones
Feedhouse, BoxPress and my other Boxlang Express apps share one layout. This post builds a small bookmarks API with it: a Bootstrap that wires every service by hand, routes that only speak HTTP, stores that never see req or res, and typed errors handled in one place. Each piece is mapped to its ColdBox equivalent (WireBox, handlers, interceptors, cfmigrations), with the trade-offs. A Claude skill for scaffolding is included.
boxlangBoxLang 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.
boxlangBoxPress: 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.
boxlangKeeping 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.
dockerServing 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.
boxlangTopics
All topics →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.
DismalThreads
A community of groups, posts and threaded comments, with friends, reactions and replies that update live.
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-express-mvc
ColdBox-style handlers, routes, views and layouts on top of boxlang-express: event, rc and prc, a routes file, flash and interceptors, all compiled to plain routes at startup.
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.