/EduPageCal

A better Calendar then the standard EduPage one

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

EduPageCal

A better Calendar then the standard Edupage one

BackgroundEraser_image 4.png

Configuration

  1. Create .keychain.json file inside directory of this code and use example.keychain.json as your guide.
  2. Type in Terminal npm i and then node .
  3. Web server should be on port 4352

Its recommended to have this on computer (or something which can run nodejs) that is always on, like Raspberry Pi or a Server and have a forwarded port 4352 if you can't forward port, use cloudflared or ngrok.

If you want to use Replit DONT PASTE YOUR PASSWORD IN CLEAR TEXT, use secrets tab and change keychain variable in index.js to replit env.

Some calendars may not be happy with http iCal. Ignore that, they should have a button to Continue.

TO-DO!

  • Whole day school events, like: holidays or any others

  • More languages, (Now only in 🇬🇧)

    If you have an Idea to add, make an issue

Known Issues

  • Some school clubs classes may not have the acurate time of start and end

Replit Guide

  1. Clone this Repl ➡️ https://replit.com/@slovakcat/edupejc
  2. Select Secrets in the menu on the left side
  3. Select Open raw editor Button at the end
  4. Copy contents of example.keychain.json
  5. Change values as name, password, downloadKeychain and teacherEmailSchema
  6. Hit Save and Run
  7. Make the repl active!

.keychain.json

name - Your login Email or Name in edupage (example: CharlieChonster)

password - Password to your edupage account

downloadKeychain - A string of characters which are used to download the chalendar, Use something like UUID

teacherEmailSchema - A template of Teacher email address, use

[firstName] for teacher’s first name

[lastName] teacher’s last name

[firstNameIni] and [lastNameIni] for Initiales of teacher