I Will Not Add Query Strings to Your URLs

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
sponsored
  1. beagle

    Beagle - git-compatible revision control for modern workflows 🐕 (by gritzko)

    how does adding the word blob in the url help with that?

    i don't think it makes a difference here.

    in fact compare these urls:

    https://github.com/gritzko/beagle/blob/a7e172/VERBS.md

    https://github.com/gritzko/beagle/raw/a7e172/VERBS.md

    https://github.com/gritzko/beagle/commit/a7e172/VERBS.md

    turns out that "blob", "raw" and "commit" have nothing to do with the hash itself, but are functions to describe how the object in question is to be presented. so what i said above about blob being redundant is false, the problem is rather that it is in a weird place. it should be at the end, like a kind of extension because it signifies the format of the output. except i think putting it at the end makes handling relative paths more difficult as it would have to be appended to every link to other files.

    the roxen webserver has an interesting solution for that. they call it prestates and it's placed at the beginning of a url: https://github.com/(commit)/gritzko/beagle/a7e172/VERBS.md . it sets the format value visually apart, and you could have multiple prestate values separated by a comma. i have used that feature extensively on my own sites. i even expanded on the concept in custom modules.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. url

    URL Standard

    You know I was actually really curious about this so I went back to the HTML and URL W3C standards and surprisingly they don't actually have any definitions of format other than being percent encoded. One might conflate query strings with "form-urlencoded"[0] query strings, which is one potential interoperability format, but in general a queries string is just any percent encoded string following a "?" in a url[1], and just another property in the "URL" HTML object that can be used in the generation of a response. While additionally there is a URLSearchParams object that is the result of parsing the query string with the form-urlencoded parser, this is simply an interoperability layer for JavaScript.

    I'm going to be honest, I was pretty geared up to have a contrarian opinion until I looked at the standards but they're actually pretty clear, a 404 could be a proper response to query string with an unknown format or unknown parameters, and query string is as much part of the URL API as the path is, and I think pretty much everyone can acknowledge that just tacking random stuff onto the path would be ill advised and undefined behavior.

    [0]: https://url.spec.whatwg.org/#application/x-www-form-urlencod...

    [1]: https://url.spec.whatwg.org/#url-class

  4. libcurl

    A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, MQTTS, POP3, POP3S, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features

    Interesting! I took a look with the agent and it looks like it was this change that went in at curl 8.8.0: https://github.com/curl/curl/commit/3eac21d86bc50ba459a9a8a0...

    There's a flag that would preserve it, but no way to set it from the CLI afaict

  5. Puts Debuggerer

    Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.

    how does adding the word blob in the url help with that?

    i don't think it makes a difference here.

    in fact compare these urls:

    https://github.com/gritzko/beagle/blob/a7e172/VERBS.md

    https://github.com/gritzko/beagle/raw/a7e172/VERBS.md

    https://github.com/gritzko/beagle/commit/a7e172/VERBS.md

    turns out that "blob", "raw" and "commit" have nothing to do with the hash itself, but are functions to describe how the object in question is to be presented. so what i said above about blob being redundant is false, the problem is rather that it is in a weird place. it should be at the end, like a kind of extension because it signifies the format of the output. except i think putting it at the end makes handling relative paths more difficult as it would have to be appended to every link to other files.

    the roxen webserver has an interesting solution for that. they call it prestates and it's placed at the beginning of a url: https://github.com/(commit)/gritzko/beagle/a7e172/VERBS.md . it sets the format value visually apart, and you could have multiple prestate values separated by a comma. i have used that feature extensively on my own sites. i even expanded on the concept in custom modules.

  6. duckduckgo-locales

    Translation files for <a href="https://duckduckgo.com"> </a>

    Tested with the following URL:

      https://duckduckgo.com/?ia=web&origin=funnel_home_website&t=h_&q=hello+world&chip-select=search

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Shrimple – A Simpler, Nicer Markdown

    6 projects | news.ycombinator.com | 5 Jul 2026
  • OSF API: The Complete Guide

    6 projects | dev.to | 22 Apr 2025
  • Poco C++ Libraries: Build High-Performance Cross-Platform Apps for IoT and More

    1 project | news.ycombinator.com | 28 Aug 2024
  • The Unsung Heroes of Open Source: The Dedicated Maintainers Behind Lesser-Known Projects

    5 projects | dev.to | 5 Mar 2023
  • Log: A minimal, colorful Go logging library 🪵

    5 projects | /r/golang | 21 Feb 2023

Did you know that C is
the 6th most popular programming language
based on number of references?