/cdr

OSU course dependency visualizer

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

OSU course dependency visualizer

Screenshot of the dependency graph

Visit https://cdr.mbund.dev to view the dependency graph of every class offered at OSU. It might take ~30 seconds to build the full graph.

Filter the graph with comma separated query parameters specifying subject IDs:

Running

pnpm astro dev

Maintaining

Fetch the latest data from the OSU course catalog

  1. In a browser sign in to buckeyelink
  2. Navigate to Schedule Planner
  3. Inspect network traffic in the browser and take the cookie from a request header
    • Cookie format: Cookie: __RequestVerificationToken=AAAAAA; .AspNet.Cookies=BBBBBBBBBBBBBBBB
  4. Put the cookie in .env as COOKIE
    • Example: COOKIE="__RequestVerificationToken=AAAAAA; .AspNet.Cookies=BBBBBBBBBBBBBBBB"
  5. Run the fetcher with bun fetcher.ts
  6. Run the parser with bun parser.ts
  7. Organize data by placing the created JSON into a reasonable folder
  8. Commit the changes