alxjrvs / alxjrvs/orrey

Per-campaign ICS feeds from D1 with feed_token

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
phase:6
Dominant language
HTML
Stars
0
Forks
0
Avg merge
1h 34m
Merged PRs (30d)
23

Description

Selective subscription: the one Orrey calendar is the sync spine, and people subscribe to only what they want via Orrey's own per-campaign ICS feeds, generated from D1. Calendar clients can't do OAuth, so the feed URL carries the user's unguessable `feed_token`.

- [ ] `GET /ics/:feedToken/all.ics` and `GET /ics/:feedToken/campaign/:id.ics` served by the Worker from D1; correct `VTIMEZONE`, `UID` per session (reuse the base32hex id), `SEQUENCE` bumped on reschedule.
- [ ] Feed URLs and a **regenerate token** action on the console (regeneration invalidates the old URL).
- [ ] Note in the console that Google refreshes public ICS every ~8–24h — Orrey's calendar is the timely one.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Worker handlers for GET /ics/:feedToken/all.ics and /ics/:feedToken/campaign/:id.ics, then trace their D1 reads and the console's feed-token regeneration action. Done means both feeds produce the required VTIMEZONE, session UIDs, and reschedule SEQUENCE values; regeneration invalidates the old URL; and the console includes the Google refresh-time note.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend, cloud, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.