usoscal
Your USOS timetable as a calendar subscription that can keep the classes that have already passed.
{{if .Error}}{{.Error}}
Sign in with your university account and you get a private calendar address for Google Calendar, Apple Calendar, Outlook or anything else that reads iCalendar. Every class carries the course, the class type, the room with the building address, and the lecturer.
USOS only exports what is ahead of today. Turn on the archive and past classes stay in your calendar.
USOS will ask you to allow reading your studies and to keep that access while you are offline, which the daily update needs. The access tokens are stored encrypted, and signing out revokes them.
Signed in as {{.Name}}.
{{if not .Connected}}{{if .SyncError}}{{.SyncError}}{{else}}USOS access is missing. Sign in again to resume updates.{{end}}
Calendar address
{{if .FeedURL}}Add it as a subscription by URL, not as a file import, so it keeps updating. Anyone who has this address can read your timetable. Issuing a new one or revoking it stops the current address at once.
There is no active address.
{{end}}Archive
{{if .Backfilling}}Earlier terms are being fetched, reload in a minute.
{{end}}Status
{{if .Events}}{{.Events}} classes in the calendar, the earliest on {{.First}}.{{else}}No classes in the calendar yet.{{end}} {{if .Synced}}Last updated from USOS on {{.Synced}}.{{else if .Connected}}The first update is running, reload in a minute.{{end}}
{{if and .Connected .SyncError}}{{.SyncError}}
{{end}}