20 votes

HTTP.sh: a web framework written entirely in Bash

8 comments

  1. Crestwave
    Link
    External dependencies? Meh. Is my script calling python3 -m http.server a Bash web server, then? Real programmers write web servers using only Bash builtins!

    written entirely in Bash
    ...
    Dependencies

    • either Ncat (not openbsd-nc, not netcat, not nc) or socat, or a combo of both

    External dependencies? Meh. Is my script calling python3 -m http.server a Bash web server, then?

    Real programmers write web servers using only Bash builtins!

    13 votes
  2. [5]
    tauon
    Link
    This may be the most egregious offender yet. I love/hate it.

    This may be the most egregious offender yet. I love/hate it.

    4 votes
    1. [4]
      ali
      Link Parent
      I am a bit out of the loop, but why is there this sudden influx of everything being written in bash?

      I am a bit out of the loop, but why is there this sudden influx of everything being written in bash?

      3 votes
      1. [2]
        zestier
        Link Parent
        It's more of an influx of Tildes posts specifically due to one person's mission to post some new Bash oddity every day. Based on the dates in the various repos associated with these posts many of...

        It's more of an influx of Tildes posts specifically due to one person's mission to post some new Bash oddity every day. Based on the dates in the various repos associated with these posts many of these projects have been around for years.

        Depending on the day and the specifics of the oddity found the posts can get some decent traction. Bash is not particularly well suited to what people are doing with it in a lot of these posts, which can make it amusing to spectate the chaos someone else has devised.

        18 votes
        1. merry-cherry
          Link Parent
          One of the main consequences of a small userbase. Its not always a negative as some small communities are propped up by great contributors but it's often abused.

          One of the main consequences of a small userbase. Its not always a negative as some small communities are propped up by great contributors but it's often abused.

          3 votes
      2. fxgn
        Link Parent
        They're all posted by @hungariantoast, he posts those every day, if you click the link in his comment you'll get to yesterday's bash post

        They're all posted by @hungariantoast, he posts those every day, if you click the link in his comment you'll get to yesterday's bash post

        6 votes
  3. zenen
    Link
    This is incredible. I was writing a server setup suite in BASH at one point but it never reached the maturity that these projects have. Happy to see what other people do in my favorite programming...

    This is incredible. I was writing a server setup suite in BASH at one point but it never reached the maturity that these projects have. Happy to see what other people do in my favorite programming language

    4 votes