pomf clone in zig. experimenting with the web
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luna 8cffb0d809
use my fork of apple_pie
2 years ago
src use much better hack to remove CRLF from body 2 years ago
.gitignore add image uploads 2 years ago
README.md add basic usage and todo 2 years ago
build.zig add 'zig build test' command 2 years ago
zig.mod use my fork of apple_pie 2 years ago

README.md

yet-another-pomf-clone

how build

get zigmod.

git clone ...
cd yet-another-pomf-clone
zigmod fetch
zig build
./zig-cache/bin/yet-another-pomf-clone

happy webscale

todo

  • multipart parsing (this is going to be fun)
  • env vars for configuration
  • handle 404 on fetch

how use

do the thing

curl -F "test=@/path/to/file/lol" 'http://localhost:8080/api/upload'