Daymark is the product site and Apple Calendar subscription service for Chinese holiday, solar-term, and adjusted workday reminders.
packages/calendarexposes@daymark/calendar, the shared iCalendar generator.apps/docs/index.htmlis the public product homepage source.apps/docs/scripts/build.mjsrenders that HTML and a preview.icsfile intoapps/docs/dist.apps/workerserves the live.icssubscription endpoint.- Event
UIDvalues are stable across releases to avoid duplicate events. - Calendar responses include content type, validators, and cache headers.
The source repo stays private. The public product surface is:
https://daymark.agentclub.dev/
https://daymark.agentclub.dev/calendar/daymark.ics
pnpm install
pnpm test
pnpm buildGenerated artifacts are written under each app, for example apps/docs/dist.
Daymark is provided at:
https://daymark.agentclub.dev/
https://daymark.agentclub.dev/calendar/daymark.ics
The homepage presents Daymark as a product page for Chinese holiday, solar-term, and adjusted workday subscriptions. It includes one-click copying for the live subscription URL:
https://daymark.agentclub.dev/calendar/daymark.ics
The live calendar endpoint uses two protections:
- Edge caching for the
.icsresponse. Repeated requests can be served from cache, and conditional requests with a matchingETagreturn304. - Rate limiting with
CALENDAR_RATE_LIMITER, configured at 60 requests per 10 seconds percf-connecting-ip.
The production WAF rule targets the public subscription path:
Expression:
(http.host eq "daymark.agentclub.dev" and http.request.uri.path eq "/calendar/daymark.ics")
Suggested action:
Managed Challenge or Block
Suggested threshold:
60 requests per 10 seconds per IP
Daymark prefers reviewed local holiday schedules when available. For future years
that are not yet maintained locally, the service can supplement adjusted holiday
data from the timor.tech holiday API at https://timor.tech/api/holiday/year.
This version covers deterministic festival reminders, solar terms, and reviewed adjusted holiday schedules. Future public holiday schedules can be added locally or fetched by the service when the official year data is available.