https://github.com/cabalex/slugschedule
Everything you need to register in one place
https://github.com/cabalex/slugschedule
classes scheduler slugschedule ucsc
Last synced: 2 months ago
JSON representation
Everything you need to register in one place
- Host: GitHub
- URL: https://github.com/cabalex/slugschedule
- Owner: cabalex
- License: mit
- Created: 2023-08-14T12:53:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-11T21:45:11.000Z (3 months ago)
- Last Synced: 2026-01-11T22:16:39.964Z (3 months ago)
- Topics: classes, scheduler, slugschedule, ucsc
- Language: Svelte
- Homepage: https://cabalex.github.io/slugschedule/
- Size: 12.7 GB
- Stars: 6
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [SlugSchedule](https://cabalex.github.io/slugschedule)
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! :)