Git Product home page Git Product logo

ce's Introduction

Calender Engine

Scrape lesson information from different learning systems and generat iCalendar data.

Supported systems:

  • Benesse's Challenge English Online Speaking
  • Comiru

If you have a few children using these systems, it's a pain to have to login for each to check for upcoming lessons. This project 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 ce.yaml.sample ce.yaml) and add your login information.
  • Run bundle install to install dependencies.
  • Run ruby ce.rb to generate iCalendar data.
  • You can invoke ce.sh from cron (crontab -e) if you want to save the output to a web-accessible directory. Make to change the directory in ce.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.

ce's People

Contributors

deardaniel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.