Skip to content
dev-prophet-codePublic

About

ILIAS Sync – menu bar / tray app for macOS and Windows that syncs your ILIAS courses and files to a local folder / ILIAS-Kurse automatisch synchronisieren

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

ILIAS Sync

ILIAS Sync

Deutsch · English

A small menu bar / system tray app for macOS and Windows that shows your courses from an ILIAS system and automatically downloads new or changed course files into a folder of your choice.

Status: early version (0.2). So far only tested against an ILIAS installation using the newer UI framework. Other versions and themes may need adjustments. Tested and working on macOS and Windows. Note: the user interface of both apps is in German.

Keywords: ILIAS sync, ILIAS downloader, ILIAS client for macOS and Windows, synchronize ILIAS courses, ILIAS course files offline, ILIAS menu bar app, ILIAS tray app, e-learning, LMS, Swift, SwiftUI, C#, WPF.

Repository layout

Folder Contents
macOS/ macOS app (Swift, SwiftUI) – menu bar icon
Windows/ Windows app (C#, .NET 8, WPF) – system tray icon
docs/ Screenshots

Both apps do the same thing and share the same behavior and safety rules.

Download

Ready-to-run apps are available under Releases:

Platform File Notes
macOS 13+ (Apple Silicon & Intel) ILIASSync-…-macOS.zip Unzip, drag ILIASSync.app to Applications. First launch: right-click → Open (not notarized).
Windows 10/11 (x64) ILIASSync-…-Windows-x64.zip Unzip and run ILIASSync.exe (no installation, .NET included). SmartScreen may warn because the file is unsigned: More info → Run anyway.

Screenshot

Settings window on macOS (demo data)

Features

  • Setup through a small window: server address, username, password, sync folder, interval
  • Afterwards the app lives only in the menu bar (macOS) or system tray (Windows), no Dock icon / taskbar button
  • Menu: Meine Kurse (my courses, opens the course in your browser), Jetzt synchronisieren (sync now), Sync-Ordner öffnen (open sync folder), Einstellungen (settings)
  • Downloads files from courses and subfolders and mirrors the folder structure locally
  • Individual courses can be excluded from syncing
  • Notification "Neue Daten synchronisiert" (new data synced) whenever a sync downloads new or updated files
  • Optional: launch at login
  • The password is stored securely: macOS Keychain / Windows DPAPI (encrypted for your user account)

Safety of your local data

  • The app never deletes files in the sync folder and never uploads anything. It only makes read requests to ILIAS (apart from logging in).
  • Existing files are compared by SHA-256. If the content is identical, nothing happens.
  • If a file was re-uploaded in ILIAS and differs from your local copy, it is not overwritten; the new version is saved next to it as Name (neue Version YYYY-MM-DD HH-mm).ext.
  • If a file is removed in ILIAS, your local copy stays.
  • Only https:// server addresses are accepted (so credentials are never sent unencrypted).
  • If ILIAS rejects your credentials, automatic syncs pause until you save them again, so a wrong password cannot lock your account.

Usage

  1. Start the app. On first launch the settings window opens.
  2. Enter the ILIAS address (e.g. https://ilias.uni-beispiel.de), username and password, and choose a sync folder.
  3. Click Speichern & Verbinden (save & connect). The app logs in, shows the number of courses and starts the first sync.
  4. After each sync that brings new or changed files you get the notification "Neue Daten synchronisiert" (on macOS, allow notifications when asked).
  5. Close the window. The icon stays in the menu bar / tray; open the settings again from its menu (macOS: also by launching the app again; Windows: double-click the tray icon).

Build it yourself

macOS

Requires macOS 13+ and Xcode (license accepted; the SwiftUI macros need the Xcode toolchain).

git clone https://github.com/dev-prophet-code/ILIASsync.git
cd ILIASsync/macOS
./build.sh
open build/ILIASSync.app

build.sh builds a universal (arm64 + x86_64) release build, creates build/ILIASSync.app (with icon and LSUIElement) and signs it ad hoc. If Xcode is not at /Applications/Xcode.app, set DEVELOPER_DIR accordingly. The app is not notarized; distributing it without a Gatekeeper warning requires an Apple Developer ID.

Windows

Requires the .NET 8 SDK on Windows 10/11.

git clone https://github.com/dev-prophet-code/ILIASsync.git
cd ILIASsync\Windows
.\build.ps1
.\build\ILIASSync.exe

build.ps1 publishes a single self-contained ILIASSync.exe (win-x64). For development, dotnet run in the Windows folder works as well. The exe is unsigned, so SmartScreen shows a warning on other machines.

How it works

Without admin setup, ILIAS offers no simple user-level API. The apps therefore log in like a browser through the login form, read "My courses" (ilmembershipoverviewgui, falling back to the dashboard) and walk through courses and folders via goto.php?target=…. Files are fetched via goto.php?target=file_<id>_download. Change detection uses Last-Modified/Content-Length and the SHA-256 hash.

Local sync state: macOS ~/Library/Application Support/ILIASSync/state.json, Windows %APPDATA%\ILIASSync\state.json.

Changelog

  • 0.2.0 – Notification "Neue Daten synchronisiert"; https only; automatic syncs pause after rejected credentials; HTTP errors and expired sessions are reported instead of "all up to date"; fewer redundant downloads (macOS: single request, versioned files no longer re-downloaded); Windows: second launch no longer throws. Tested on macOS and Windows.
  • 0.1.0 – First release.

Known limitations

  • No single sign-on (Shibboleth, CAS, …), only username and password login
  • Only files are downloaded, not learning modules, forums, links or group folders
  • Parsing the HTML pages may differ on other ILIAS versions or themes
  • Windows: very long paths (> 260 characters) may fail unless long paths are enabled in Windows

License

Apache License 2.0

About

ILIAS Sync – menu bar / tray app for macOS and Windows that syncs your ILIAS courses and files to a local folder / ILIAS-Kurse automatisch synchronisieren

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages