Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hiviexd/loved-tracker
script for tracking Project Loved tenure badges
https://github.com/hiviexd/loved-tracker
Last synced: 7 days ago
JSON representation
script for tracking Project Loved tenure badges
- Host: GitHub
- URL: https://github.com/hiviexd/loved-tracker
- Owner: Hiviexd
- License: mit
- Created: 2024-09-11T16:29:49.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T21:20:24.000Z (3 months ago)
- Last Synced: 2024-10-28T20:16:50.471Z (about 2 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# loved-tracker
a simple script that checks the [Project Loved tracksheet](https://docs.google.com/spreadsheets/d/117NbjqU9tBmJlv5iO3KuCJ9nVWmpcV-r94BziYX5TN0/edit?gid=2090615747#gid=2090615747) and notifies for needed badge updates via a Discord webhook.
this script is intended to be run as a cronjob.
## setup
1. have node.js
2. clone the repo
3. `yarn`
4. create a `config.json` based on `config.example.json`:
- `apiKey`: your google sheets api key
- `sheetId`: the id of the spreadsheet you want to track
- `sheetName`: the name of the sheet you want to track
- `webhookUrl`: the url of the discord webhook you want to send notifications through
- `discordPings`: a string array of discord user ids to ping when a notification is sent
5. `yarn start`