visitor@madhavt.com.np: ~

visitor@madhavt.com.np:~$ curl madhavt.com.np/blog/hello-world

Why my portfolio speaks curl

2026-07-01 · devops, cloudflare, meta

You are (probably) reading this in a terminal. Try opening the same URL in a browser — you'll get a themed page instead. Same content, two skins.

How it works

  • A Cloudflare Worker inspects the User-Agent on every request.
  • curl / wget / httpie get ANSI-colored plain text.
  • Browsers get a terminal-themed HTML page.
  • Append ?format=json to any route for machine-readable output.

Try it

curl madhavt.com.np/skills

curl madhavt.com.np/experience

curl 'madhavt.com.np/projects?format=json'

Written from the same Block model that renders this whole site.


← back to /blog /blog