This repo used to power the full public afterword.blog site in SvelteKit. It now primarily acts as a sync and pipeline worker alongside the Astro/EmDash site.
The public site now lives in the Astro repo, but this worker still handles a few important background jobs:
sync.afterword.blog/api/swarm/push receives Swarm/Foursquare push events and writes check-ins to the PDSsync.afterword.blog/internal/music-sync imports music activity into the PDS and refreshes related snapshotssync.afterword.blog/api/checkins exposes normalized check-in data for the Astro sitesync.afterword.blog/api/media/* exposes normalized media data for the Astro site