Johnnei's World
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
mesamunefire@lemmy.world to Programming@programming.devEnglish · 4 months ago

A web framework written in bash. fully configurable, with a basic templating engine, router and much more

donotsta.re

external-link
message-square
4
link
fedilink
46
external-link

A web framework written in bash. fully configurable, with a basic templating engine, router and much more

donotsta.re

mesamunefire@lemmy.world to Programming@programming.devEnglish · 4 months ago
message-square
4
link
fedilink
Domi.UwUException –—=> FOSDEM | i need to pad out this display_name to keep the joke running uhhhhh did you know: i like cats. cats are cool. you should pet a cat today (T&Cs may apply. don't pet if allergic to cats). (@domi@donotsta.re)
donotsta.re
external-link
for those who’d like to get involved with hacking on my bash web framework - I made an IRC channel to discuss it. I’ll use that to throw ideas around (and maybe it’ll help my impostor syndrome a bi...

Saw this on: https://donotsta.re/notice/ApmsQzRYt4SeNH543k

So wanted to share.

alert-triangle
You must log in or register to comment.
  • QuazarOmega@lemy.lol
    link
    fedilink
    arrow-up
    20
    ·
    4 months ago

    First off, big respect to the author for taking on this endeavour and procuring themselves permanent scars in the process. Second of all, I will hide back in my cave, thanks

  • towerful@programming.dev
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    4 months ago

    The repo: https://git.sakamoto.pl/laudom/http.sh

    An example:

    #!/bin/bash
    echo '<html><head><meta charset="utf-8"></head><body>'
    
    if [[ ! "${get_data[example]}" ]]; then
    	echo '<form>
    			<input type="text" name="example">
    			<input type="submit">
    		</form>'
    else
    	echo "<p>you sent: $(html_encode "${get_data[example]}")</p>"
    fi
    
    echo '</body></html>'
    
    
    • mesamunefire@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      4 months ago

      Its so…ugly to me but someone wanted it. Better than Cobol on wheelchair framework thats for sure.

  • moonpiedumplings@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    4 months ago

    Reminds me of https://github.com/cgsdev0/bash-stack

    Made by this twitch streamer: https://m.twitch.tv/badcop_/home

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 49 users / day
  • 826 users / week
  • 2.87K users / month
  • 6.99K users / 6 months
  • 1 local subscriber
  • 20.1K subscribers
  • 2.13K Posts
  • 32.8K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org