0Charliecat / EduPageCal

A better Calendar then the standard EduPage one
GNU Affero General Public License v3.0
6 stars 1 forks source link
calendar edupage edupage-org ical javascript school

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!

Known Issues

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