Coder Social home page Coder Social logo

gowee / lccal-worker Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 4.0 731 KB

Auto-generated ๐Ÿ“… iCal/ics (calendar) for Leetcode Contests on Cloudflare Workers

License: Apache License 2.0

TypeScript 95.98% JavaScript 4.02%
ical leetcode svg leetcode-contest leetcode-contests cloudflare-workers

lccal-worker's Introduction

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.

lccal-worker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lccal-worker's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.