{"id":15678299,"url":"https://github.com/gowee/lccal-worker","last_synced_at":"2025-06-12T19:32:58.072Z","repository":{"id":39807219,"uuid":"258184334","full_name":"Gowee/lccal-worker","owner":"Gowee","description":"Auto-generated 📅 iCal/ics (calendar) for Leetcode Contests on Cloudflare Workers","archived":false,"fork":false,"pushed_at":"2024-08-19T06:09:44.000Z","size":809,"stargazers_count":28,"open_issues_count":6,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T03:44:22.913Z","etag":null,"topics":["cloudflare-workers","ical","leetcode","leetcode-contest","leetcode-contests","svg"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Gowee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-23T11:41:34.000Z","updated_at":"2025-05-01T20:52:36.000Z","dependencies_parsed_at":"2023-02-06T05:16:02.720Z","dependency_job_id":null,"html_url":"https://github.com/Gowee/lccal-worker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gowee%2Flccal-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gowee%2Flccal-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gowee%2Flccal-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gowee%2Flccal-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gowee","download_url":"https://codeload.github.com/Gowee/lccal-worker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252810272,"owners_count":21807759,"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":["cloudflare-workers","ical","leetcode","leetcode-contest","leetcode-contests","svg"],"created_at":"2024-10-03T16:19:44.816Z","updated_at":"2025-05-07T03:44:28.663Z","avatar_url":"https://github.com/Gowee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lccal-worker\n\nA script that generates 📅 [iCal/ics](https://tools.ietf.org/html/rfc5545) for Leetcode (Bi)Weekly Contests, deployed on Cloudflare Workes: [https://lccal-worker.bamboo.workers.dev/ical?download](https://lccal-worker.bamboo.workers.dev/ical).\n\n## iCal generator\n**Endpoint**: [`/ical`](https://lccal-worker.bamboo.workers.dev/ical)\n\nA subscribable [iCal/ics](https://tools.ietf.org/html/rfc5545) file.\n\nFor example, add `https://lccal-worker.bamboo.workers.dev/ical` to Google Calendar via https://calendar.google.com/calendar/r/settings/addbyurl. Then it will get updated automatically when there are new contests.\n\nMost other calendar services also support subscribing by URL: https://duck.com/?q=how+to+subscribe+ical+by+url .\n\n## SVG generator\n**Endpoint**: [`/svg`](https://lccal-worker.bamboo.workers.dev/svg)\n\nAn auto-generated SVG for fun.\n\n| Name   | Description                                       |\n| ------ | ------------------------------------------------- |\n| width  | The size of the generated SVG. `300` by default.  |\n| height | The size of the generated SVG. `auto` by default. |\n\nFor example:\n\n[![SVG](https://lccal-worker.bamboo.workers.dev/svg?width=180\u0026limit=5)](https://lccal-worker.bamboo.workers.dev/svg?width=300\u0026limit=5)\n[![SVG](https://lccal-worker.bamboo.workers.dev/svg?width=180\u0026offset=5\u0026limit=5\u0026timezone=Asia/Shanghai)](https://lccal-worker.bamboo.workers.dev/svg?width=300\u0026height=auto\u0026offset=5\u0026limit=5\u0026region=CN\u0026timezone=Asia/Shanghai)\n.\n\n## Other params\nThe following URL query params are for both of the two endpoint above.\n\n| Name     | Description                                                                           |\n| -------- | ------------------------------------------------------------------------------------- |\n| offset   | N-th contests, in descending order of time, to start. `0` by default.                 |\n| limit    | The number of contests to get. `10` by default.                                       |\n| region   | LeetCode's data region, either `US` or `CN`. `US` by default.                         |\n| timezone | Timezone to use in calendar. `Asia/Shanghai` by default when `region=CN`. `UTC` O.W.  |\n| download | When present and not `false` or `0`, instruct the browser to save the generated file. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgowee%2Flccal-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgowee%2Flccal-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgowee%2Flccal-worker/lists"}