The Evolution of a Static Space: Mini-Apps and CLI Access
A personal blog can be more than a static digital notebook — it can be an active experimental lab. Over the last few days, I upgraded this site to turn standard articles into dynamic, shell-accessible experiences.
1. Posts as Self-Contained Mini-Apps
Instead of heavy frameworks, each post now embeds independent vanilla JavaScript to function as a lightweight mini-app. For example, my recent lunar calendar widget runs entirely on localized client logic right inside the article. This setup preserves speed while allowing interactive simulators or tools down the road.
2. The CLI Subdomain Ecosystem
For terminal users, I built a host-aware routing system using a Go-based AWS Lambda function. By inspecting the User-Agent and X-Forwarded-Host, the system serves raw plain-text to CLI clients and redirects browsers (via 302) to the visual interface at https://aslando.life.
Try accessing these subdomains directly from your terminal:
- Read the latest blog post:
curl -L read.aslando.life - Check today's Vietnamese Lunar calendar:
curl -L lunar.aslando.life - Access quick status, weather, or about info:
curl -L status.aslando.life curl -L weather.aslando.life curl -L about.aslando.life
Whether you prefer a sleek dark-mode browser or the raw efficiency of a shell prompt, the content is flatter, faster, and fully accessible to you.