decentralized and customizable links page on top of atproto

move ingestor to separate folder

Changed files
+6 -5
dist
ingestor
+3 -3
Makefile
··· 9 9 run: 10 10 uv run -- dotenv run -- gunicorn 11 11 12 - .PHONY: ingest 13 - ingest: 14 - uv run -- src/ingest.py 12 + .PHONY: ingestor 13 + ingestor: 14 + uv run -- ingestor
+1 -1
dist/ligoatingestor.service
··· 3 3 After = ligoat.service 4 4 5 5 [Service] 6 - ExecStart = uv run -- src/ingest.py 6 + ExecStart = uv run -- ingestor 7 7 Type = simple 8 8 Restart = always 9 9 RestartSec = 5s
+2 -1
src/ingest.py ingestor/__main__.py
··· 10 10 11 11 12 12 async def ingest_jetstream(config: dict[str, str | None]): 13 - socket = f"wss://{config['JETSTREAM_URL']}/subscribe" 13 + base = config.get("JETSTREAM_URL", "jetstream1.us-east.bsky.network") 14 + socket = f"wss://{base}/subscribe" 14 15 socket += "?wantedCollections=at.ligo.*" 15 16 logger.info(f"connecting to {socket}") 16 17 async with aiohttp.ClientSession() as session: