matrix-strava-bot
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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/

Readme

Keywords

Package Sidebar

Install

npm i matrix-strava-bot

Weekly Downloads

2

Version

0.1.2

License

AGPL-3.0-or-later

Unpacked Size

73.2 kB

Total Files

36

Last publish

Collaborators

  • nik0kin