Skip to content

darthnithin/slugschedule

This branch is 44 commits behind cabalex/slugschedule:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fab6be1 · Feb 28, 2025
Sep 12, 2024
Feb 26, 2025
Aug 14, 2023
Feb 28, 2025
Feb 26, 2025
Aug 12, 2023
Aug 14, 2023
Nov 22, 2024
Nov 22, 2024
Nov 7, 2024
Apr 6, 2024
Apr 6, 2024
Aug 14, 2023
Aug 14, 2023
Aug 14, 2023
Aug 14, 2023

Repository files navigation

I didn't realize how bad the course shopping experience was... so here's a way to make it better!

How it works

Every hour, a GitHub Action will run which sends a request to the class schedule to fetch all the courses in one request. From there, it will detect which courses have changed (whether it be if a course has been created, or seats have been filled/created/vacated), and fetch more details if so. It then recompiles all this data into a new database and pushes that to the server.

Interested in messing around with the data?

The database is freely exposed in the window with the variable db! Open the console with CTRL + SHIFT + C, and type db to print the database.

Contributing

To develop in the repository, you must run npm install --force in the root directory after cloning. This is because there is a version conflict between the version of Svelte this project currently uses and the ones some of the libraries I use support, but it causes no issues, and can be ignored.

You must also run npm install in the .server directory.

Then, you can run npm run dev in the root directory to start the dev server, or npm run dev in the .server directory to run the GitHub Action script (for updating the class schedule).

License

MIT. If you make something cool with my code, feel free to let me know! :)

About

Everything you need to register in one place

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 67.4%
  • TypeScript 30.4%
  • CSS 1.2%
  • Other 1.0%