Skip to content

hallazzang/pknulms-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pknulms-notifier

Pukyong National University LMS notifier for Slack

Screenshots

Logging in:

Screenshot

You can check your job log:

Screenshot2

It posts message to slack channel:

Slack Screenshot

Installation

If you want an executable binary, see Releases.

Or build from latest source code and install into $GOPATH/bin:

$ go get -u github.com/hallazzang/pknulms-notifier

This will put pknulms-notifier into your $GOPATH/bin.

Configuration

You should provide configuration file to run the program. Open your favorite editor and write one:

interval = 30 ; Crawling interval in seconds

[lms]
id = YOUR_STUDENT_NO ; Your LMS ID(=student number)
pw = YOUR_PASSWORD ; Your LMS password

[slack]
webhook-url = SLACK_WEBHOOK_URL ; "https://hooks.slack.com/services/.../.../..."

Save it as config.ini or whatever you want.

Run

If you've added $GOPATH/bin to your $PATH, you can simply run it:

$ pknulms-notifier -config=/path/to/config.ini

Otherwise, you would do like:

$ $GOPATH/bin/pknulms-notifier -config=/path/to/config.ini

Requirements

pknulms-notifier is written in Golang 1.9.2. Go version under 1.7 might not work.

About

Pukyong National University LMS notifier for Slack

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors