Skip to content

feat(api): add CTFtime RSS event calendar integration#7

Merged
fb0sh merged 1 commit into
mainfrom
ctftime
May 15, 2026
Merged

feat(api): add CTFtime RSS event calendar integration#7
fb0sh merged 1 commit into
mainfrom
ctftime

Conversation

@fb0sh

@fb0sh fb0sh commented May 15, 2026

Copy link
Copy Markdown
Contributor

Add event calendar endpoint that combines internal events with CTFtime external events fetched via RSS, with caching support using new kv_store table.

Implement RSS fetching with reqwest and XML parsing with quick-xml, cache results for 30 minutes to reduce external requests. Add kv_store entity and SQL migration for key-value storage with TTL support.

Include organizer parsing from CTFtime JSON format and HTML stripping for event titles. The new endpoint is accessible at GET /api/event_calendar and requires no authentication.

Add event calendar endpoint that combines internal events with CTFtime
external events fetched via RSS, with caching support using new kv_store
table.

Implement RSS fetching with reqwest and XML parsing with quick-xml,
cache results for 30 minutes to reduce external requests. Add kv_store
entity and SQL migration for key-value storage with TTL support.

Include organizer parsing from CTFtime JSON format and HTML stripping
for event titles. The new endpoint is accessible at GET
/api/event_calendar and requires no authentication.
@fb0sh fb0sh merged commit 4d6c521 into main May 15, 2026
@fb0sh fb0sh deleted the ctftime branch May 15, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant