0.1.2 • Published 4 years ago

matrix-strava-bot v0.1.2

Weekly downloads
1
License
AGPL-3.0-or-later
Repository
github
Last release
4 years ago

matrix-strava-bot

Reports Strava club activities.

Kingo T. 🚶 Afternoon Walk - 3.13 kilometers in 30 minutes 19 seconds

Unfortunately due to public Strava API restrictions, we cannot query more information on a given club activity, and thus the bot can't link to it.

Develop

yarn install
yarn dev

Run

Bootstrap mode

# clone repo
yarn install

cp bot-config.sample.json bot-config.json
# configure bot-config.json

yarn global add pm2
pm2 start pm2.config.js

As a Node.js package

yarn add matrix-strava-bot
import { startBot } from 'matrix-strava-bot';

const config = {
  // see bot-config.sample.json
};

startBot(config);

Config

See settings.ts for config descriptions

Setup a Strava api client key and generate an accessToken at https://www.strava.com/settings/api

Reference

Uses Strava v3 api: http://developers.strava.com/docs/reference/

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago