Fancy Curl Sites
53 points by adunk 4 hours ago | 12 comments
classictraffic 3 hours ago
Fun! I also did something similar with my personal website this summer:
reply- `curl listening.cailinpitt.com` shows what music I've been listening to recently
- `curl reading.cailinpitt.com` shows what books and articles I've been reading recently
treykeown 20 minutes ago
Not quite the same, but shameless plug for my polyglot website with a `curl | sh` mode: https://trey.sh
replyjayknight 3 hours ago
>If you were just trying to download the original HTML version of this page, add -H "X-Original: true" to the curl command to have the server respond exactly how it would've to any non-curl HTTP client.
replyIt seems like "Accept: text/html" would be more standard
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...
... and then use `text/x-ansi` as the curl version, so other text-based clients could also fetch it:
wget -O - --header='Accept: text/x-ansi' nytpu.com/gemlog/2026-03-18
See: https://www.digipres.org/formats/sources/wikidata/formats/#q...
lightandlight 2 hours ago
Yeah, I like this more. I want curl/wget to get the canonical representation by default.
replyIncRnd 2 hours ago
Also germane today a fix for curl/libcurl was released. The main vulnerability hinges upon using a malicious server to attack the client.
replyCVE-2026-92392
https://daniel.haxx.se/blog/2026/10/07/twenty-two-pending-cu...
zanderwohl 3 hours ago
I think these are very fun and I would love to see more content you can visit with curl. I'm setting up a home chores + calendar + weather station that runs off my homeserver. I was contemplating making a plaintext version so very stupid devices could still read and display interesting data.
reply
When you curl it, it still writes the HTML to your terminal, but immediately clears that buffer and writes the ANSI version to your real screen. In browsers, this ANSI stuff is hidden in an HTML comment. This is useful for static sites on GitHub pages or something.