dzove855
dzove855 on Hacker News
Seema pretty interesting! Would be nice to remove the shell dependancy
Hello,
You could avoid loadables.
Finfo <- load file inside a variable and get the size
Mktemp <- like you said with timestamp
Rm <- with a fifo or variable
Creator here:
I'm really happy to see somebody shared it on hackernews :D If you have some questions, feel free to ask me
it is already in my mind creating a bind to something like libressl or rustssl, but it will be much more complicated.
Posted by
dzove855 on Tuesday June 27, 2023 @07:26AM
from the show-hn dept.
Pihole-doh is pihole with dns over https support.Thanks to saashup we could provide pihole-doh as a service.The work is still in progress, because we need to do a few fix on saashup. All gains will be donated to pihole project.
The big difference is that saashup offers developers a platform to host they applications to third party people.
The platform is free for the developper to host the applications, the only one who is paying is the person which use your application.
One of the worker here:
The applications are all docker instances, this allows us to provide an environment cheapest then hosting a virtual machine or a dedicated instance.
Welcome to the new era of micro saas! Our company has established itself as the leading digital micro saas platform in France.
Since when? Since 2020, we've been supporting individuals and businesses who want to create their own saas easily, with just a few clicks, and in just a few seconds.
But what's exactly Saashup ?
Saashup is a simple solution for saasifying your application. We assist you in promoting your application and simplifying its management. Build and develop your software, and let us deploy it to your customers through your own customized SaaS. Our services remain flexible and scalable, adapting to your business needs.
Posted by
dzove855 on Friday June 16, 2023 @10:04AM
from the show-hn dept.
Posted by
dzove855 on Thursday September 01, 2022 @10:31AM
from the show-hn dept.
Creator here of this server.
: = does nothing
but the := in the variable declariation will assign set the value of BASH_LOADABLE_PATH to /usr/lib/bash if the variable is empty.
So instead of writing:
BASH_LOADABLE_PATH=${BASH_LOADABLE_PATH:-/usr/lib/bash}
you can just do :
: "${BASH_LOADABLE_PATH:=/usr/lib/bash}"
No need of tr here in your example.
The fd will only be used to stor it temporary since, we first need to sent headers, and the headers need to be sent before the bofy. The server base os working fine now with accept and a patch request os already sent to bash. So probaböy on the next release accept will be full usable.
Since now, multiple concurrent connections will work after my patch. (Need to add subshell) i will need to consider using fd as output cache. Instead of temporary files.
The project has been patched, now we can handle multiple connections!
I follow some projects from you on github. Keep up the work!
Falling back to something like socat, would destroy the whole idea behind it. I think the best way is patching accept and shipping it with the project. Like this no need to fallback.
And considering using something like socat, will force you to fork each request into a new process, which will be slow as hell.
I worked before on a web framework, which was used behind httpd or nginx as cgi, it was fast. But the moment where you get more connections it was slow as hell.
The idea of this project is writing some kind of fastCGI (like php-fpm), but for this i would need, to allow multithreading etc..
For creating some kind IPC, i would create a named fifo or even use coproc (see man bash)
Well just type: help BUILTIN
Example : help read
Well benchmarking it os currently not possible. I will try it in a few days and provide some benchmarks.
Well that's true. I took me two hours to get this done. Since accept was not clear at the beginning. But it will be cleaner in the future, i'm still not convinced how it works currently.
Bash is not mean for kind of projects like this. I even develop on other languages. But i like bash. A good bash script, is like reading a novel, because it's challenging to have a clean script.
I always use mktemp and trap to remove tmp files.
But in this script i would like to avoid external commands. I will even remove the use of tmp files kn thw future.
Basically yes, but it's a loadable builtin.
Yeah sure. I have see it, but basically this one use bash builtins instead of external commands.
Posted by
dzove855 on Tuesday January 04, 2022 @09:20AM
from the show-hn dept.
That was the idea behind it, make it readable and plugable for everyone. A good documentation is still missing for all the helper functions, but one day it will be there.