Skip to content

Commit 16eb1e4

Browse files
committed
update readme with credits to tleydxdy
1 parent 7d6394b commit 16eb1e4

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
1-
single-page http server for x86\_64 linux in a 5kb static binary,
1+
single-page http server for x86\_64 linux in a 1kb static binary,
22
doesn't depend on libc
33

4+
huge credits to @tleydxdy for bringing this down from 5kb to 1kb and
5+
<1kb with the asm version
6+
47
# build and run
58
```
69
./build.sh
710
./httpd 8080 test.html
811
```
912

1013
if you don't have gcc, change build.sh to match your compiler
14+
15+
build even smaller asm version with a custom elf header, < 1kb
16+
17+
requires nasm
18+
19+
```
20+
./asm.sh
21+
./httpd 8080 test.html
22+
```

0 commit comments

Comments
 (0)