{"id":18075019,"url":"https://github.com/lnsp/tum.events","last_synced_at":"2026-02-03T17:02:14.507Z","repository":{"id":82588269,"uuid":"493274928","full_name":"lnsp/tum.events","owner":"lnsp","description":"Talk aggregator for TUM CS talks.","archived":false,"fork":false,"pushed_at":"2024-10-13T22:45:15.000Z","size":145,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-31T10:44:16.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://tum.events","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lnsp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-17T13:58:38.000Z","updated_at":"2024-10-13T22:45:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9fa8df2-d46d-4e35-bb44-18625ee2bf55","html_url":"https://github.com/lnsp/tum.events","commit_stats":null,"previous_names":["lnsp/tumtalks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Ftum.events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Ftum.events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Ftum.events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Ftum.events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnsp","download_url":"https://codeload.github.com/lnsp/tum.events/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230364007,"owners_count":18214717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T10:44:12.272Z","updated_at":"2026-02-03T17:02:14.417Z","avatar_url":"https://github.com/lnsp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TUM Events [![Go Reference](https://pkg.go.dev/badge/github.com/lnsp/tum.events.svg)](https://pkg.go.dev/github.com/lnsp/tum.events)\n\nThis is the source repository for the TUM Events service available at [tum.events](https://tum.events). \n\n## Public sources\n- https://www.net.in.tum.de/talks/\n- https://db.in.tum.de/research/db_ag/?lang=de\n- https://www.cs.cit.tum.de/sccs/aktuelles/sccs-kolloquium/\n\n## Architecture\n\nTUM Events uses Valar KV to store all talk data. Talks are stored in the format of `{prefix}_talks_{talkid}`.\nThe talk structure uses a minimal JSON format where a single character identifies a field. It is defined using\nthe following Go structure.\n\n### Talks\n\n```go\ntype Talk struct {\n\tID       int64     `json:\"i,omitempty\"`\n\tRank     int64     `json:\"-\"`\n\tUser     string    `json:\"u\"`\n\tTitle    string    `json:\"t\"`\n\tCategory string    `json:\"c\"`\n\tDate     time.Time `json:\"d\"`\n\tLink     string    `json:\"l,omitempty\"`\n\tBody     string    `json:\"b,omitempty\"`\n}\n```\n\nThus, the following JSON block is a valid Talk doc.\n\n```json\n{\n    \"i\": 1,\n    \"u\": \"go42tum\",\n    \"t\": \"title\",\n    \"c\": \"databases\",\n    \"d\": \"2022-05-18T10:00:00+02:00\",\n    \"l\": \"https://google.com\"\n}\n```\n\nTalks are synchronized if and only if the talk cache is empty OR the talk doc list changes.\n\n### Login\n\n```go\ntype Login struct {\n\tExpiration time.Time `json:\"e\"`\n\tUser       string    `json:\"u\"`\n\tKey        string    `json:\"k\"`\n\tCode       string    `json:\"c\"`\n\tAttempt    int       `json:\"a\"`\n}\n```\n\n### Sessions\n\nA session represents an authenticated user.\n\n```go\ntype Session struct {\n\tExpiration time.Time `json:\"e\"`\n\tUser       string    `json:\"u\"`\n\tKey        string    `json:\"k\"`\n}\n```\n\n### Verification\n\n```go\n\ntype Verification struct {\n\tExpiration time.Time `json:\"e\"`\n\tTalk       *Talk     `json:\"t\"`\n}\n```\n\n## Workflow\n\nWhen developing locally, you most likely want to edit templates \u0026 run a local service instance.\n\n```bash\n# To continously render the tailwind.min.css styles, run the following command.\nnpx tailwindcss -i tailwind.css -m -w -o tailwind.min.css \n# In a second terminal, run \u0026 restart the web service as you see fit.\nDEBUG=true go run main.go\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Ftum.events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnsp%2Ftum.events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Ftum.events/lists"}