Throws out htmx for search in favor of a full page-reload for search. This means we can reload the page and it will re-do the search. It’s not POST anymore cause we don’t really change anything, just do some caching when doing the search. Could probably also cache the search result, but simple simple Change-Id: I70b0cbac55f67c986aeecfedcf0b3968890b3b9c Reviewed-on: https://cl.tvl.fyi/c/depot/+/13212 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).