GitXplorerGitXplorer
d

comiru

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
4d25bebe732c051ec1b69c1b665aa6e152664880

Make Comiru version from the ce repo

ddeardaniel committed 5 months ago
Unverified
dc1e78d89c47cf342eff5d40661abf9168f44a6c

Add README

ddeardaniel committed 5 months ago
Unverified
f984af705f9d8317e3641e3491fde5506381cd86

Initial commit

ddeardaniel committed 5 months ago

README

The README file for this repository.

Comiru calendar

If you have a few children using Comiru for their schooling, it's a pain to have to login for each to check when the next lessons are. This script scrapes the upcoming lesson schedules for each child's account, and creates iCalendar output. You can set up a cron job to save to a web-accessible file, and subscribe to that file's URL from your calendar to keep live updates.

Installing

  • Check out this repository.
  • Create a configuration file (cp comiru.yaml.sample comiru.yaml) and add your login information.
  • Run bundle install to install dependencies.
  • Run ruby comiru.rb to generate iCalendar data.
  • You can invoke comiru.sh from cron (crontab -e) if you want to save the output to a web-accessible directory. Make to change the directory in comiru.sh to the correct one. By default it assumes you are running from a directory in your home directory, and that a public_html directory exists in the home directory.
  • If using iOS or macOS, you can subscribe to the URL of your iCalendar file to see live updates in your calendar. Only upcoming lessons are shown and past ones will not appear.