This was replaced with fr0gtech/subsunday-back-drizzle
This is the backend of sub-sunday.com written in Bun.js. This reads chat via IRC and saves votes. It includes the socket.io logic for realtime updates. streak.ts is ran from crontab every sunday at 23:59 to check for streaks.
The Frontend can be found here
- Realtime updates with socket.io
- IRC Twitch reader
- Get games from steam suggestion api
Check .env file
requirements:
- Bun.js
- postgresql
bun installbun index.ts
For development purposes we have a seed.ts file to create fake votes
bun seed.ts