Overview describes what it does, really. Sends stdout of shell scripts to a client through http, routing via folders. “What a complicated bs!” I thought about this principle back in the day. Sigh.
From the repo: “This project is intended for educational / entertainment purposes only. In its current implementation, it is riddled with security issues, and it would probably be extremely irresponsible to use this for any sort of production grade web service.
...having said that, if you happen to use it for anything, I'd love to hear about it!”
So looks like a toy project for a bit of fun. Would like to see an example of what it does anyway though.
Joke? Push notifications have a lot of valid use cases for web apps even if they are useless (or harmful) for web pages. The platform is shared between the two categories.
Push notifications are cancer. Push notifications are used a hundred times more for spam than they are some above board legitimate purpose. Even legitimate users have marketing departments foaming at the mouth to push ads with them.
Other similar projects require a CGI-capable web server. This one instead uses djb's tcpserver. Guess next step will be to drop any external dependencies.
28 comments
[ 2.4 ms ] story [ 43.2 ms ] threadhttps://github.com/cgsdev0/bash-stack
Overview describes what it does, really. Sends stdout of shell scripts to a client through http, routing via folders. “What a complicated bs!” I thought about this principle back in the day. Sigh.
...having said that, if you happen to use it for anything, I'd love to hear about it!”
So looks like a toy project for a bit of fun. Would like to see an example of what it does anyway though.
The github page says “see the docs!” for all info, which appears to be (on its face) stored with the demo, heh. Fun one!
Put scripts on an S3 backed filesystem, and as you grow, wrap them in a container, then an auto-scaling group. It might even work today!
I'm surprised I haven't seen more of this from the anti-Kubernetes crowd.
Iirc bash has some built-in support for networking but perhaps it's only for clients?
Library is part of bash and patch is for supporting multiple connections. On vers>=5.2 patch is included so no need to compile anything.
AWK is definitely limited as a language, but IMO it’s a saner choice than going with BASH.
It’s also been interesting to integrate with SQLite by interfacing with it through AWK’s “pipe to variable” mechanism.