···11.env:
22- uv run -- generate_secrets.py >> .env
22+ uv run -- etc/generate_secrets.py >> .env
3344.PHONY: debug
55debug:
+7-5
README.md
···11# ligo.at
2233-A decentralized links page on top of [AT Protocol][atproto].
33+Decentralized and customizable links page on top of [AT Protocol][atproto].
4455## dependencies
66···8899## generate secrets
10101111-Use the `generate_secrets.py` script or run `make .env`.
1111+Use the `etc/generate_secrets.py` script or run `make .env`.
12121313## synchronization
1414···20202121The Jetstream ingestor can be started with `make ingestor`.
22222323-### systemd
2323+Some example configuration files are provided in the `etc` folder. They assume the code will live at `/var/www/ligoat`. Keep this in mind if you want to place it somewhere else.
24242525-Two systemd service files are found in the `dist` folder. They can be used to run both the server and the jetstream ingestor.
2525+- A `Caddyfile` that configures a [caddy][caddy] reverse proxy.
2626+- Two systemd service files. They can be used to run both the server and the jetstream ingestor.
26272728[atproto]: https://atproto.com
2929+[caddy]: https://caddyserver.com/
3030+[jetstream]: https://atproto.wiki/en/wiki/reference/networking/jetstream
2831[uv]: https://docs.astral.sh/uv/
2929-[jetstream]: https://atproto.wiki/en/wiki/reference/networking/jetstream
···11+example.com {
22+ handle_path /static/* {
33+ # change this to where you have the code
44+ root * /var/www/ligoat/src/static
55+ file_sever
66+ }
77+88+ handle {
99+ # change this to the port you use
1010+ reverse_proxy :8080
1111+ }
1212+}