How m4anuel/betterilias works
BetterIlias is a React client and FastAPI bridge for Uni Bern’s ILIAS, using the user’s existing ILIAS session. The main workflow is browsing semester courses and repository content, then using supported student or teaching-assistant operations; separate branches cover calendars, podcasts, and UniSport. The README documents these product capabilities, while sampled backend and frontend sources confirm session handling, scraping, API-client, and calendar responsibilities. Some routes and feature implementations were not sampled, so their internal call paths are not asserted.
Main entry points: main.py HTTP application · App.tsx React application · api.ts API client · ilias_client.py ILIAS client
Components 18
Web client
- React application
frontend/src/App.tsx - API client
frontend/src/lib/api.ts - Content cache
frontend/src/lib/cache.ts - Course browsing
frontend/src/components/RepositoryView.tsx - UniSport workflows
frontend/src/components/UnisportView.tsx
Application API
- HTTP application
backend/main.py - Authentication routes
backend/api/routes/auth.py - Calendar routes
backend/api/routes/calendar.py - Assignment routes
backend/api/routes/exercises.py - UniSport routes
backend/api/routes/unisport.py
ILIAS integration
- ILIAS sessions
backend/auth/session.py - ILIAS client
backend/services/ilias_client.py - Content scrapers
backend/scrapers
Product services
- Submission workflows
backend/scrapers/submissions.py - Calendar service
backend/services/calendar_service.py - UniSport services
backend/services/unisport_client.py - Shared coordination
backend/coordination.py
Other components
- Student or TA
Connections 20
- Student or TA → React application: uses
README.md - React application → API client: requests data
frontend/src/App.tsx - API client → HTTP application: calls API
README.md - React application → Course browsing: renders
frontend/src/App.tsx - Course browsing → API client: loads content
frontend/src/components/RepositoryView.tsx - API client → Content cache: uses cache
frontend/src/lib/api.ts - React application → UniSport workflows: renders
frontend/src/App.tsx - HTTP application → Authentication routes: registers routes
backend/main.py - HTTP application → Calendar routes: registers routes
backend/main.py - HTTP application → Assignment routes: registers routes
backend/main.py - HTTP application → UniSport routes: registers routes
backend/main.py - Authentication routes → ILIAS sessions: manages sessions
backend/api/routes/auth.py - Authentication routes → ILIAS client: uses client
backend/api/routes/auth.py - ILIAS client → ILIAS sessions: uses session
backend/services/ilias_client.py - ILIAS client → Content scrapers: parses pages
backend/services/ilias_client.py - Calendar routes → Calendar service: serves calendar
- Assignment routes → Submission workflows: handles submissions
- UniSport routes → UniSport services: uses service
- Calendar service → ILIAS client: fetches course data
backend/services/calendar_service.py - ILIAS sessions → Shared coordination: coordinates access
backend/auth/session.py