The `bencode` library is anything but production-grade, but it’s enough to parse the torrent files generated by Gazelle lol. This should help with … I haven’t really figured out yet what it helps with I guess. But it was fun. I like the `Parse` abstraction very much. It can parse XML and it can parse Bencode. Good. Change-Id: If1331de423eab3e91ce9db6e2a7eb84da51b18a2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/13211 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> |
||
|---|---|---|
| .. | ||
| services | ||
| src | ||
| .gitignore | ||
| build.ninja | ||
| default.nix | ||
| Main.hs | ||
| notes.org | ||
| README.md | ||
| server-notes.org | ||
| whatcd-resolver.cabal | ||
whatcd-resolver
To run:
ninja run-services
in one terminal (starts the background tasks)
ninja run
to start the server. It runs on 9092.
You need to be in the nix-shell in ./...
You need to set the pass key internet/redacted/api-keys/whatcd-resolver to an API key for RED.
You need to have a transmission-rpc-daemon listening on port 9091 (no auth, try ssh port forwarding lol).