/waster

A quite simple implementation of a HTTP JS function handler

Primary LanguageC

Waster

This is my own "whatever Functions" implementation.

What a waste of time, but amazing pet project

Build

Note: For now, just tested in macOS Ventura

Instructions for compile and run

mkdir -p build
cd build
cmake ..
# For debug mode
# cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . -j32
./waster

Doing the request with curl:

curl localhost:3000

Note:

This has a resource leak, I'm not releasing everything of libuv nor QuickJS resources, this is purely experimental.