Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Small script to get notified when there're new grades available on the "FHWS Studenten Portal"

License

Notifications You must be signed in to change notification settings

silicht/fhws-grades-push

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FHWS Grades Push

License Status

Small script to get notified when there're new grades available on the "FHWS Studenten Portal". Uses ugly HTML scraping and there's almost no error handling, deal with it. Very untested. Such wow.

Installation

Directly

You'll need node.js to run this.

git clone https://github.com/sebbo2002/fhws-grades-push.git
cd ./fhws-grades-push
npm install

I use crontab to run this script regularly.

Docker

You can also use the docker container to run this script:

docker build -t fhws-grades-push .
docker run -t -e FHWS_USERNAME=k***** -e FHWS_PASSWORD=***** -e PUSHBULLET_ACCESS_TOKEN=***** -v /opt/fhws-grades-push/result.json:/app/result.json fhws-grades-push

Configuration

Use environment variables to set login credentials and pushover tokens:

FHWS_USERNAME Your username for the "FHWS Studenten Portal"
FHWS_PASSWORD Your password for the "FHWS Studenten Portal"
PUSHBULLET_ACCESS_TOKEN Your pushbullet access token. You can get yours here.

Example

FHWS_USERNAME="k*****" \
FHWS_PASSWORD="*********" \
PUSHBULLET_ACCESS_TOKEN="*********" node app

Such wow, much awesome

About

Small script to get notified when there're new grades available on the "FHWS Studenten Portal"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.1%
  • Dockerfile 3.9%