Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/totallymoney/totallyrunning-slackbot
Slack bot for the TotallyRunning Strava club
https://github.com/totallymoney/totallyrunning-slackbot
Last synced: 3 days ago
JSON representation
Slack bot for the TotallyRunning Strava club
- Host: GitHub
- URL: https://github.com/totallymoney/totallyrunning-slackbot
- Owner: totallymoney
- License: mit
- Created: 2020-06-12T17:25:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T00:00:51.000Z (over 1 year ago)
- Last Synced: 2024-04-14T00:53:18.432Z (7 months ago)
- Language: JavaScript
- Size: 2.38 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TotallyRunning slack bot
Connects to the TotallyRunning Strava club, run `/totallyrunning-leaderboard` in the TotallyMoney slack and it will post the total distances of the authenticated runners, ordered in descending order, for the last 7 days.
This was a product of TotallyMoney's Big Hack 2020, held on 11/06/20.
## Future
### Technical
- Implement [https://www.npmjs.com/package/serverless-slack](serverless-slack)
- Implement [https://github.com/UnbounDev/node-strava-v3](node-strava-v3)
- Convert to TypeScript
- Write unit tests
- Use DynamoDB instead of S3 for persisting data### Features
- Use a CloudWatch trigger to automatically post the leaderboard at a specific time each week
- Compare data to previous time periods (e.g week-by-week)
- Get different time periods, using the slash command e.g `/totallyrunning-leaderboard 30` to get the last 30 days
- Live streamed updates from Strava when someone sets a personal best
- Other activity types
- Use Slack usernames in the leaderboard
- Make authenticate message (`/totallyrunning-auth`) only visible to the user who requested it get