http
winner
http | winner | |
---|---|---|
1 | 7 | |
1 | 481 | |
- | 3.7% | |
0.0 | 4.4 | |
about 3 years ago | 3 months ago | |
Java | HTML | |
- | Creative Commons Zero v1.0 Universal |
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.
http
-
An HTTP server in a single .c file
My single file HTTP/1.0-ish java http server:
https://github.com/pablo-mayrgundter/http
I use it for most of my local dev. Handles only GET requests, serving files below the directory in which the server is started. Does Content-Type inference based on file extensions (e.g. html, js, png, jpg).
Currently disables any type of cacheing as I use it mostly for local development and want to avoid versioning mistakes.
Also has fledgling SSL support that has occasionally worked.
> ./http_load -p 10 -f 100000 test.url
winner
- Radiation-hardened Quine: A quine that works after any one character is deleted
-
concise code vs code longer than necessary.
Don't write code like the obfuscated C code contest. Don't spend too much time modifying working code to make it shorter, especially if there's no end-user perceivable speed increase.
-
Kilo Lisp: A Kilo Byte-Sized Lisp System
Just found one after replying to another comment on this story.
https://github.com/ioccc-src/winner/blob/master/1989/jar.2.c (accompanying explanation: https://github.com/ioccc-src/winner/blob/master/1989/jar.2.h... )
It apparently works somewhat after a few minor tweaks.
Another one that I've bookmarked some months earlier: https://github.com/rui314/minilisp
-
A horrifying single line neural network using NumPy
The first one is "a bit" obscure. If you give up (which means you've passed the human test... if you do not give up, report for alien termination) check out the description
-
An HTTP server in a single .c file
One of 2004 IOCCC winners (2004/hibachi [1]) was a CGI and vhost capable HTTP server. It is one of a few winning entries that ever came with its own ./configure, and violated so many guidelines but not a single rule, making judges pretty upset.
[1] https://github.com/ioccc-src/winner/blob/main/2004/hibachi.h...
What are some alternatives?
darkhttpd - When you need a web server in a hurry.
stoneknifeforth - a tiny self-hosted Forth implementation
publictext - TEXT://PROTOCOL SERVER
vertx-web - HTTP web applications for Vert.x
uip - The historical uIP sources
uncroppable - Make your image uncroppable
android-http-server - A complete zero-dependency implementation of a web server and a servlet container in Java with a sample Android application.
sectorlisp - Bootstrapping LISP in a Boot Sector