Fancy Curl Sites

(nytpu.com)

27 points by adunk1 hour ago

4 comments

  • classictraffic1 hour ago
    Fun! I also did something similar with my personal website this summer:<p>- `curl listening.cailinpitt.com` shows what music I&#x27;ve been listening to recently<p>- `curl reading.cailinpitt.com` shows what books and articles I&#x27;ve been reading recently
    • frangonf48 minutes ago
      hey that&#x27;s pretty curl
  • zanderwohl1 hour ago
    I think these are very fun and I would love to see more content you can visit with curl. I&#x27;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.
  • Rohansi41 minutes ago
    FYI it works just fine on Windows if you run it from Terminal instead. As long as you don&#x27;t use PowerShell mode in it.
  • jayknight1 hour ago
    &gt;If you were just trying to download the original HTML version of this page, add -H &quot;X-Original: true&quot; to the curl command to have the server respond exactly how it would&#x27;ve to any non-curl HTTP client.<p>It seems like &quot;Accept: text&#x2F;html&quot; would be more standard<p><a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;HTTP&#x2F;Reference&#x2F;Headers&#x2F;Accept" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;HTTP&#x2F;Reference&#x2F;...</a><p>... and then use `text&#x2F;x-ansi` as the curl version, so other text-based clients could also fetch it:<p>wget -O - --header=&#x27;Accept: text&#x2F;x-ansi&#x27; nytpu.com&#x2F;gemlog&#x2F;2026-03-18<p>See: <a href="https:&#x2F;&#x2F;www.digipres.org&#x2F;formats&#x2F;sources&#x2F;wikidata&#x2F;formats&#x2F;#q105854540" rel="nofollow">https:&#x2F;&#x2F;www.digipres.org&#x2F;formats&#x2F;sources&#x2F;wikidata&#x2F;formats&#x2F;#q...</a>
    • lightandlight16 minutes ago
      Yeah, I like this more. I want curl&#x2F;wget to get the canonical representation by default.