Auto Class Launcher
This is a little script I wrote to launch my classes 5 minutes before! But it is highly customisable, and you can download it and use it for yourselves! Just feed it your timetable and it will work flawlessly.
Features
- π Launches your class link 5 minutes before the time.
- β° If link can't be provided, launches an alarm clock page for you
- Available for Windows, Linux and macOS(Intel and M1)
Who is this for?
-
This tool will only be useful if you have same links for each subject throughout, and your weekly schedule is same. If it changes week to week, this script isn't for you.
-
The timetable is stored in a JSON file on your computer. There's no Graphical User Interface. You should know how to navigate your computer's filesystem, and have confidence in editing configuration files.
Getting started
Go to the Releases page. There, you'll see some files under the Assets section
These are all executable binary files. Click on the file suitable for your operating system
- If you're on Ubuntu or any other Linux, go for
class-launcher-linux
file - If on Windows, go for
class-launcher-windows.exe
- If on macOS
- If you're on a MacBook/Mac with an Intel chip processor, go for
class-launcher-apple-intel
- If you're on the new M1 chip macBook/Mac, go for
class-launcher-apple-m1
- If you're on a MacBook/Mac with an Intel chip processor, go for
When you download your file, simply double click on it to run it. And that's it!! You're almost done.
Editing the timetable
When you launch the program the first time, you'll see this screen
Notice the line in the middle that says Your config file is stored at LOCATION
. You have to go to this path listed here(Note: It will be different for you).
Shortcuts to go to this path
Windows
In Files, click on the address bar on top, and type %APPDATA%
, and it will take you to the folder, and there you'll find the file named auto-class-launcher-timetable.json
Linux and macOS
In Files, type $HOME
, and there you'll find the file named auto-class-launcher-timetable.json
Open up this file in a text editor(Visual Studio Code, Atoms, Notepad, Gedit, etc).
So you open up the file, and you see this π
{
"disc-structures": {
"link": "https://meet.google.com/txo-tvbd-zvt?authuser=2",
"times": [
{
"day": "tue",
"time": "12:00"
},
{
"day": "wed",
"time": "12:00"
},
{
"day": "thu",
"time": "11:00"
},
{
"day": "fri",
"time": "15:00"
}
]
},
"eng-graphics": {
"link": "https://meet.google.com/uaa-brhr-rwy?authuser=2",
"times": [
{
"day": "mon",
"time": "12:00"
},
{
"day": "thu",
"time": "14:00"
},
{
"day": "mon",
"time": "12:00"
}
]
},
"env-design": {
"times": [
{
"day": "sun",
"time": "23:08"
}
]
}
}
What you see is the author's timetable here. You'll have to modify it to suit your own needs. As you can this follows the pattern:
subject:
link: 'LINK TO OPEN'
times:
day: 'The day of class. Can be mon or tue or wed or thu or fri or sat or sun'
time: 'hh:mm'
So all you have to do is change the subject names in it, the links, and the times.
What if I don't have a link (Or link changes every once in a while)?
In that case, afraid you can't provide a link. But you can use the Alarm Clock feature
. If you don't provide a link, but specify the times, it will automatically open up a webpage 5 minutes before reminding you that you have a class.
Example:
"env-design": {
"times": [
{
"day": "sun",
"time": "23:08"
}
]
}
As you can see, the time is defined, but no link provided.