Skip to content

A Slack slash handler to output live departure boards from National Rail feeds.

Notifications You must be signed in to change notification settings

cmbuckley/slack-slash-trains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-slash-trains

A Slack slash handler to output live departure boards from National Rail feeds.

Usage

First, register for OpenLDBWS to obtain a token for Darwin.

Then, create a Slack app and set up a Slash Command for /train. Grab the signing secret while you’re there.

Then create a .env file with the following:

SLACK_SIGNING_SECRET=slacksecret
DARWIN_TOKEN=darwintoken

The station codes can be updated from the National Rail website or running npm run stations.

About

A Slack slash handler to output live departure boards from National Rail feeds.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published