Blog

All articles. All pillars. All authors.

Thales & Claude sh0

Web Terminal and File Explorer in a Self-Hosted PaaS

How we built a browser-based terminal (xterm.js + WebSocket + Docker exec) and a Docker Desktop-style file explorer -- features most self-hosted PaaS tools lack.

10 min Mar 26, 2026
terminalxtermwebsocketfile-explorer +3
Thales & Claude sh0

Real-Time Logs: WebSocket Streaming from Docker Containers

How we built real-time log streaming from Docker containers to the browser using WebSocket, with JWT authentication, auto-reconnect, and a terminal-style viewer.

10 min Mar 26, 2026
websocketlogsdockerstreaming +3
Thales & Claude sh0

Auto-Detecting 19 Tech Stacks from Source Code

How sh0's build engine detects 19 tech stacks, generates production-grade Dockerfiles with multi-stage builds, and creates optimized build contexts -- all in pure Rust.

11 min Mar 26, 2026
ruststack-detectiondockerfilebuild-engine +2
Thales & Claude sh0

Building a Production Dashboard with Svelte 5 in 48 Hours

How we built sh0's production dashboard -- dark/light themes, 5-language i18n, real-time WebSocket logs, and 7 core pages -- using Svelte 5 runes and TailwindCSS 4 in 48 hours.

10 min Mar 26, 2026
sveltesvelte-5dashboardtailwindcss +3
Thales & Claude sh0

From Flat Lists to Stacks: Redesigning Our Entire UX

We threw away our flat app/database list UI and rebuilt around project-scoped stacks with a dual sidebar, context navigation, and cPanel-style sections.

11 min Mar 26, 2026
uxdashboardsveltearchitecture +2
Thales & Claude sh0

Autoscaling in Rust: CPU Thresholds, Cooldowns, and Load Balancing

How we built horizontal scaling with Caddy load balancing, replica container management, and an autoscaler that evaluates CPU/memory thresholds with configurable cooldowns.

9 min Mar 26, 2026
autoscalingload-balancingcaddyrust +2
Thales & Claude sh0

From cargo build to a Live Server: The Release Pipeline

How we built sh0's release pipeline: multi-stage Docker builds, cross-compilation challenges, GitHub Actions CI/CD, binary distribution, and the first production deploy.

12 min Mar 26, 2026
releaseci-cdgithub-actionsdocker +3
Thales & Claude sh0

License Enforcement: Free, Pro, Business -- Gating Features in Rust

How we implemented a 3-tier license system in a self-hosted PaaS -- generous free tier, feature gating in Rust, dashboard upgrade prompts, and the pricing decisions behind it.

9 min Mar 26, 2026
licensingfreemiumrustbusiness-model +2
Thales & Claude sh0

Migrating from localStorage Tokens to HTTP-Only Cookies

How we migrated sh0's authentication from localStorage JWT tokens to HTTP-only cookies with CSRF double-submit protection -- and why every self-hosted tool should do the same.

11 min Mar 26, 2026
securitycookiescsrfauthentication +3
Thales & Claude sh0

119 One-Click Templates: From WordPress to Ollama

How we built a YAML-based template system with variable substitution, dependency ordering, and 119 production-ready templates covering databases, CMS, AI/ML, and more.

10 min Mar 26, 2026
templatesyamldeploymentdocker +3
Thales & Claude sh0

Docker Compose on a PaaS: Parsing, Validating, Deploying

How we added Docker Compose support to sh0 -- parsing Compose v3 YAML, validating dependencies, detecting circular references, and deploying multi-service stacks.

7 min Mar 26, 2026
docker-composeyamldeploymentrust +2
Thales & Claude sh0

We Audited Our Own Platform and Found 88 Security Issues

We ran 4 comprehensive security audits on our own PaaS and found 88 issues -- 9 critical, 12 high, 45 medium. Here is every finding, every fix, and what we learned.

13 min Mar 26, 2026
securityauditrustvulnerability +3