tomayac / althttpd-wasm

A WebAssembly version of althttpd, a simple web server written in C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

althttpd-wasm

An attempt at bringing althttpd to WebAssembly.

Compile

This is the command to compile the C code to WebAssembly with emscripten.

./build.sh

Run

It's a web server and it supports the headers required for shared array buffer, so we can use it to serve the files in the directory.

./run.sh

About

A WebAssembly version of althttpd, a simple web server written in C.

License:Apache License 2.0


Languages

Language:C 50.8%Language:JavaScript 49.1%Language:HTML 0.1%Language:Shell 0.1%