Skip to content

Commit

Permalink
update readme with credits to tleydxdy
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco149 committed Nov 1, 2019
1 parent 7d6394b commit 16eb1e4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
single-page http server for x86\_64 linux in a 5kb static binary,
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
```

0 comments on commit 16eb1e4

Please sign in to comment.