Skip to content

Auto-generated 📅 iCal/ics (calendar) for Leetcode Contests on Cloudflare Workers

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

Gowee/lccal-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lccal-worker

A script that generates 📅 iCal/ics for Leetcode (Bi)Weekly Contests, deployed on Cloudflare Workes: https://lccal-worker.bamboo.workers.dev/ical?download.

iCal generator

Endpoint: /ical

A subscribable iCal/ics file.

For 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.

Most other calendar services also support subscribing by URL: https://duck.com/?q=how+to+subscribe+ical+by+url .

SVG generator

Endpoint: /svg

An auto-generated SVG for fun.

Name Description
width The size of the generated SVG. 300 by default.
height The size of the generated SVG. auto by default.

For example:

SVG SVG .

Other params

The following URL query params are for both of the two endpoint above.

Name Description
offset N-th contests, in descending order of time, to start. 0 by default.
limit The number of contests to get. 10 by default.
region LeetCode's data region, either US or CN. US by default.
timezone Timezone to use in calendar. Asia/Shanghai by default when region=CN. UTC O.W.
download When present and not false or 0, instruct the browser to save the generated file.

About

Auto-generated 📅 iCal/ics (calendar) for Leetcode Contests on Cloudflare Workers

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published