Skip to content

About

Let your AI download McMaster Avenue (D2L) course files. Mac and Windows tray app with a CLI and MCP server.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Avenue Sync

Let Claude or ChatGPT fetch your McMaster course files from Avenue, so you never have to.

Download for Mac or Windows

The Avenue Sync window

Avenue Sync is a small app that stays signed in to McMaster's Avenue to Learn (D2L Brightspace) for you. It gives AI assistants a plain command, avenue, to find a file in any of your courses and download just that one. Or switch on automatic sync and it keeps a full copy of every course on your computer.

Download

Mac, Apple silicon Avenue-Sync-…-mac-arm64.dmg
Mac, Intel Avenue-Sync-…-mac-x64.dmg
Windows Avenue-Sync-…-win-x64.exe

Get them from the latest release. The apps are not signed with a paid developer certificate, so your computer will ask you to confirm the first time:

  • Mac: open the app, then go to System Settings > Privacy & Security and press Open Anyway.
  • Windows: on the blue SmartScreen screen, press More info, then Run anyway.

Set up

  1. Open Avenue Sync and enter your MacID and password. Sign-in is automatic from then on. If Microsoft asks for a code, the app tells you.
  2. Under Connect your AI, press Connect next to your assistant: Claude Code, ChatGPT Codex or Claude Desktop. The app registers itself; if it cannot (the assistant is not installed), it shows the exact text to copy instead. Nothing else needs installing, not even Node.
  3. Optional: press Install under Terminal command to also get avenue in your terminal.

Now ask it: "What does the DEMO 1A03 syllabus say about the midterm?"

The command

avenue find syllabus                        # search every course, no download
avenue find "DEMO 1A03" midterm             # or just one course
avenue read 100/file/10                     # the text of that item, in pieces
avenue grep midterm                         # search inside downloaded files
avenue due                                  # deadlines in the next 14 days
avenue news                                 # recent announcements
avenue get 100/file/10                      # download exactly that item
avenue sync --wait                          # everything new
avenue auto on                              # keep everything up to date

Search results are cached for 15 minutes (--fresh skips that). Add --json for machine-readable output. Exit codes: 0 done, 1 error, 2 the app could not be started. If the app is not running, the command starts it in the background first.

Your data

  • Your password is encrypted with your computer's keychain and is only ever typed into Microsoft's sign-in page. As with most desktop apps, other programs running as you could in principle ask the app to decrypt it.
  • There are no servers. The app only talks to McMaster's Avenue and Microsoft sign-in.
  • The command works through a local port that needs a secret token only your user account can read.
  • Files go to Documents/Avenue unless you choose another folder.
  • The app starts at login and lives in the menu bar or system tray, so your assistant can always reach it. Quit it from there.

Build from source

git clone https://github.com/MattModeCode/avenue-sync && cd avenue-sync
npm ci
npm start          # run
npm test           # tests
npm run dist       # installer for this computer's OS

The Mac and Windows apps are built by the release workflow. Windows has been checked by CI and a smoke test only. Avenue Sync works with McMaster's Avenue only. It is not affiliated with McMaster University.

MIT licence.

About

Let your AI download McMaster Avenue (D2L) course files. Mac and Windows tray app with a CLI and MCP server.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages