Trusted-CGI
sozluk-cgi
Trusted-CGI | sozluk-cgi | |
---|---|---|
4 | 3 | |
213 | 210 | |
- | - | |
6.6 | 10.0 | |
2 months ago | about 8 years ago | |
Go | Pascal | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Trusted-CGI
- Lightweight self-hosted lambda/applications/CGI/serverless-functions engine
-
The beauty of CGI and simple design
I felt exactly the same as the author. That's why I created https://trusted-cgi.reddec.net/ (currently on the way to v1 and under the heavy refactoring)
-
OSv Unikernel – Optimizing Guest OS to Run Stateless and Serverless Apps
Check out this project: https://github.com/reddec/trusted-cgi
I’d say the base is CGI + chroot, and then you grow over this base.
If you want to rebuild AWS Lambda, though, check their documentation on custom runtimes and some “how to make your own docker using cgroups” guides.
Firecracker is used to improve workload/tenant isolation, but if all you’re running is trusted, you might skip this part.
- Seeking a tool to generate dashboard
sozluk-cgi
-
Ask HN: What's your "it's not stupid if it works" story?
Using CGI protocol on a Windows server. IIS (Windows' own web server) basically interfaces with executables by running them, feeding them HTTP headers, and server variables through environment variables, and gets the response HTTP headers and the body from their STDOUT. It's very inefficient, of course, since every request requires spawning a new copy of the executable, but it had worked fine in its first months :)
Here is a very simple example from the original sources: https://github.com/ssg/sozluk-cgi/blob/master/hede.pas
-
The beauty of CGI and simple design
I wrote Eksi Sozluk, the most popular Turkish social platform to date, back in 1999 using Delphi as CGI executables[1]. Delphi was the tool that I knew best, and CGI worked for me at the beginning. I almost immediately started having problems with EXE files constantly active, making updates impossible (as it was Windows based), which required restarting the server for any kind of update.
CGI executables also caused problems when I switched to an Alpha AXP RISC server which emulated x86, bringing the performance to a crawl. That made me switch to classic ASP, and about 10 years later, to ASP.NET MVC with routing, unit tests, abstractions, jQuery, all the shiny things at the time.
Web didn't stop there of course; there came SPA's, React, Vue and whatnot.
Now, seeing the yearning for CGI in 2023 feels funny. Have we come full circle? :)
___
[1] https://github.com/ssg/sozluk-cgi
What are some alternatives?
OpenFaaS - OpenFaaS - Serverless Functions Made Simple
quickserv - Dangerously user-friendly web server for quick prototyping and hackathons
IronFunctions - IronFunctions - the serverless microservices platform by
php - Prolog Home Page
fx - A Function as a Service tool makes a function as a container-based service in seconds.
vehiclelogserver - Vehicle logging server for Second Life vehicles
LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline
preemptible-thread - How to preempt threads in user space
nanos - A kernel designed to run one and only one application in a virtualized environment
zfs - OpenZFS on Linux and FreeBSD
Appwrite - Your backend, minus the hassle.
FuckIt.py - The Python error steamroller.