147 points adunk 2 days ago 30 comments
classictraffic 2 days ago | parent
- `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
frangonf 2 days ago | parent
zanderwohl 2 days ago | parent
jayknight 2 days ago | parent
It 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 days ago | parent
ximm 2 days ago | parent
basilikum 2 days ago | parent
bingo-bongo 2 days ago | parent
An RFC exists that discourages the “x-“ naming, but it’s still very much in use in the wild.
basilikum 1 day ago | parent
Rohansi 2 days ago | parent
IncRnd 2 days ago | parent
CVE-2026-92392
https://daniel.haxx.se/blog/2026/10/07/twenty-two-pending-cu...
colewilson 2 days ago | parent
- `curl -L https://cole.ws` (my personal portfolio site) does this
It embeds the actual HTML inside an alternate terminal buffer (starting with `<!--\x1b[?1049h-->\r` and ending with `<!--\x1b[?1049l\x1b[3D\r`), and has the curl-able content appended to the end.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.
G_o_D 2 days ago | parent
djriley 2 days ago | parent
pizzaiolo 2 days ago | parent
mediumsmart 2 days ago | parent
Good Browser.
treykeown 2 days ago | parent
jtbaker 2 days ago | parent
reaperducer 2 days ago | parent
abound 2 days ago | parent
curl https://wthr.dev/Washington,DC
The geocoding heuristics can be a bit wonky, but it works decent.(also I have comically strict rate limits in place, so you probably don't want to use this. it's also running out of my basement)
jesse_dot_id 2 days ago | parent
I made https://addr.fyi to return various information about IP addresses in plaintext.
chengjunsuger 2 days ago | parent
tinthedev 2 days ago | parent
But, 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 in 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.
Gets you 95% of the way there. The agents can take the .md and skip the layout. And I think `curl -LH "Accept: text/markdown" tinthe.dev` is pretty readable, too.
____tom____ 1 day ago | parent