crappy social network server. going to eventually support activitypub but doesnt yet
Find a file
2022-10-16 05:48:12 -07:00
src Add basic websocket support 2022-10-16 05:48:12 -07:00
tests/api_integration Add sql connection pool 2022-10-12 23:19:59 -07:00
.gitignore Add config file 2022-07-29 23:14:42 -07:00
build.zig Get integration tests working 2022-10-11 22:48:08 -07:00
CONTRIBUTING.md Update docs 2022-10-11 20:21:44 -07:00
README.md update readme 2022-10-11 20:42:22 -07:00

Untitled Social Network server

Building

Requirements

  • A recent-ish build of zig from the main branch (0.9.1 will NOT work, it is missing stdlib apis we use)
  • System libraries
    • sqlite3
    • libpq

NOTE: compilation is broken right now because of:

https://github.com/ziglang/zig/issues/12240

for a temporary fix, rebuild zig after changing $stdlibdir/crypto/scrypt.zig:465 to use default_salt_len instead of salt_bin.len

Commands

To build a binary: zig build To run in debug mode: zig build run

License

fuck you. i don't license this code to you. steal it or fuck off