https://github.com/rubriclab/gather-bot
https://github.com/rubriclab/gather-bot
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/rubriclab/gather-bot
- Owner: RubricLab
- Created: 2023-10-03T23:30:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-04T02:01:23.000Z (over 2 years ago)
- Last Synced: 2025-01-05T22:43:28.688Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://gather-bot.vercel.app
- Size: 197 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project was bootstrapped with create-rubric-app
TLDR:
- Vercel CRON hits /gather every minute
- /Gather hits the unofficial gather api and requests users
- Based on how long ago the user "last visited" -> we decide whether the user is online
- Then hit Vercel KV and see if theres a discrepency between live and db data
- If theres a discrepency, send a slack message with the update
- THEN update the KV store
- BOOM!