pomf clone in zig. experimenting with the web
Find a file
2021-04-12 17:37:53 -03:00
src move impl to zhp handlers 2021-04-12 17:37:53 -03:00
.gitignore add image uploads 2021-04-09 18:30:32 -03:00
build.zig attach zigmod deps to build.zig 2021-04-09 18:02:31 -03:00
README.md add basic usage and todo 2021-04-09 18:39:00 -03:00
zig.mod trying to use zhp part 1 2021-04-10 18:18:49 -03:00

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'