Quite a self-explantory title. This is a simple script that takes your Arbor timetable and converts it to a PDF.
Note
Currently, this script will only output a HTML file in out/timetable.html. The whole PDF bit is still a bit WIP.
You can use your browser to print the HTML file to a PDF, or directly to a printer, however you will need to mess with the print settings to get the scale right.
Also, please use landscape...
- Deno (https://deno.land/)
- A valid Arbor student account with access to your timetable.
- A hard drive
- An internet connection
- Some way to open a PDF file lol
- Clone the repository
- Run
deno run --allow-net --allow-write --allow-read main.ts- Alternatively, you can run
deno run dev.
- Alternatively, you can run
- Enter your Arbor Student email and password when prompted.
- You can also create a .env file with the following contents:
EMAIL="a.student@some.school" PASS="yourpassword" - Be patient...
- The script will log in to your Arbor account, fetch your timetable, and generate a PDF file named
timetable.pdfin the current directory.
- The script will log in to your Arbor account, fetch your timetable, and generate a PDF file named
- Enjoy!
Not affiliated with Arbor in any way. Use at your own risk. I am not responsible for any possible damage caused by this script.
Also, before using this script, make sure it's all good to even run this script (your school might have some stupid policies).