I’ve skipped the show. curl tinthe.dev is HTML, don’t see why to mess with the default. Seems like a super rare use-case. Are there people who curl sites?
Although, I did put in <link rel="alternate"type="text/markdown" href="/home.md" title="..."> as a hint for using Accept:text/markdown on the same URL. Or going to .md versions of pages. Did it a “sprint” of optimizing for other devices, screen readers, and LLMs. It is supported on the full page, posts included. Same point as the draft preview, less color.
Not sure if the X-Original header is the bit to use though. How many users will be comfy with cURL and headers, while not being comfortable using something like Accept:text/html (which is the defacto standard). Poking at the implementation, seems like you ignore Accept headers entirely.
Now I’m tempted to drop an invisible “instructions” block on top of curl, instructing for this alternate approach. But we’re approaching diminishing returns there, hah.
Not sure, and when I check my own website using curl it’s actually even worse at it doesn’t even give me a redirect output. I’ll have to give it a think.
I curl sites by hand not that rarely, but generally to check at which stage things break for my curl → html-to-text pipeline. (I read a lot of stuff in Vim after having saved them to my drive)
If anURL marks itself text/plain via headers, then it gets to skip the html2txt part, of course.
I’ve skipped the show.
curl tinthe.devis HTML, don’t see why to mess with the default. Seems like a super rare use-case. Are there people who curl sites?Although, I did put in
<link rel="alternate" type="text/markdown" href="/home.md" title="...">as a hint for usingAccept: text/markdownon the same URL. Or going to .md versions of pages. Did it a “sprint” of optimizing for other devices, screen readers, and LLMs. It is supported on the full page, posts included. Same point as the draft preview, less color.Not sure if the
X-Originalheader is the bit to use though. How many users will be comfy with cURL and headers, while not being comfortable using something likeAccept: text/html(which is the defacto standard). Poking at the implementation, seems like you ignore Accept headers entirely.Now I’m tempted to drop an invisible “instructions” block on top of curl, instructing for this alternate approach. But we’re approaching diminishing returns there, hah.
score 1 · canonical
I’ve only memorized one,
curl wttr.ingives a weather forecast in colored ASCII drawings. Unsure why it stuck with me…A similar thing was showing a starwars movie in ASCII over telnet, probably a very long time ago.
score 2 · canonical
Yes, good old
towel.blinkenlights.nl.nc towel.blinkenlights.nl 23 # or, if you still have it and want to learn how to *quit* it: telnet towel.blinkenlights.nlscore 1 · canonical
Fun, presumably.
score 1 · canonical
Well, there was a tiny bit more in my comment, let me follow it up:
I was wondering whether people do actually do do that for fun. First I’ve heard of it is the author and their inspirations. I’m genuinely curious.
score 1 · canonical
My site works down to IE6, and soon™ IE4. Sometimes the implementation is the fun part, even if it’s extremely unlikely anyone will ever use it.
score 1 · canonical
People jump out of airplanes for fun. We can be sure there are people who
curlwebsites for Easter eggs.score 1 · canonical
curl tinthe.devjust gives you301 Moved Permanently, but slapping on a schema does resolve it.score 1 · canonical
curl defaults to http:// before the server even sees the request, so that 301 is the HTTPS push. I’d be curious if you’ve found a way around it.
score 2 · canonical
curl -LfollowsLocation:headers.score 1 · canonical
Not sure, and when I check my own website using curl it’s actually even worse at it doesn’t even give me a redirect output. I’ll have to give it a think.
score 2 · canonical
I curl sites by hand not that rarely, but generally to check at which stage things break for my curl → html-to-text pipeline. (I read a lot of stuff in Vim after having saved them to my drive)
If anURL marks itself text/plain via headers, then it gets to skip the html2txt part, of course.
score 1 · canonical