• @[email protected]
    link
    fedilink
    1723 hours 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

  • @[email protected]
    link
    fedilink
    10
    edit-2
    1 day 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>'
    
    
    • mesamuneOP
      link
      English
      9
      edit-2
      1 day ago

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