Skip to content

Francesco149/nolibc-httpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

single-page http server for x86_64 linux in a 1kb static binary, doesn't depend on libc

huge credits to @tleydxdy for bringing this down from 5kb to 1kb and <1kb with the asm version

build and run

./build.sh
./httpd 8080 test.html

if you don't have gcc, change build.sh to match your compiler

build even smaller asm version with a custom elf header, < 1kb

requires nasm

./asm.sh
./httpd 8080 test.html

About

1kb single-page http server, static binary for linux x86_64

Resources

License

Stars

Watchers

Forks

Packages

No packages published