Skip to content

Releases: cameronlxu/Leetcode-Tracker

Leetcode Tracker v2.2

01 May 19:24
10b817d

Choose a tag to compare

Overview

  • A new /codeshare command has been created
  • This command generates a new codeshare link, so users are able to click on it and join the same codeshare session
    • Codeshare links expire 24 hours after it being created, so Leetcode Tracker will also delete the message after 24 hours
    • Instead of using a timeout() approach, I decided to use the npm package cron to create a cron job that deletes the message after 24 hours of it being sent/created
  • /help has been updated to describe the new /codeshare command
  • README.md has been updated to reflect the new command

image

PR Links:

  • v2.2 - /codeshare: #12

Leetcode Tracker v2.1

18 Apr 07:32
022e034

Choose a tag to compare

Overview

  • Made some fixes to the /complete command:
    • PST time zone now set as default
    • Problem link now set as default

PR Links:

  • v2.1 - /complete fixes: #11

Leetcode Tracker v2.0

24 Feb 22:41
3db3b7d

Choose a tag to compare

Overview

  • Converted the bot framework to Discord.JS
  • Changed bot host from Glitch to an Oracle Cloud Infrastructure Computer Service "Virtual Machine"
    • Previously in version 1.1 I wanted to use NGROK along with an endpoint URL, but I found it too difficult to figure out how to get an endpoint URL connected to an open process in the virtual machine.
    • Thus the desire to change to Discord.JS as no endpoint URL is required to have the bot accept & read requests
    • NGROK along with the endpoint URL are no longer involved with this project
  • Bot now responds to commands with embeds, instead of just text
  • /help command now exists for users who are unsure of what Leetcode Tracker is, or if unsure about what commands are available and their functionalities
  • Updated Technical Architecture image to reflect the usage of OCI, also added more colorful images to make it nicer to read

PR Links:

  • Cold Start Problem, Privatize API Link, Remove Duplicate Function: #8
  • Conversion to Discord.JS + getDifficulty() Change: #9
  • Embeds, /help: #10

Leetcode Tracker v1.1

09 Feb 22:01
64e774d

Choose a tag to compare

Overview

  • There are no user facing changes in this update
  • PR Link: #8

Changes

  • The code is now being hosted on Oracle Cloud Infrastructure Compute Service (Virtual Machine), so the cold start problem should be eliminated now as the bot will never go offline.
  • Resolved dev bug where local development was not possible without the PING-PONG verification. I think it acts like a handshake type of ordeal
  • API Links are removed and are now environment variables
    • The previous links have now been changed as they were redeployed on AWS

Leetcode Tracker v1.0

15 Jan 02:07
d5528d3

Choose a tag to compare

The initial functional version release of the Leetcode Tracker discord bot. It is currently hosted on glitch and the backend services are hosted on AWS.

The following commands are available to users:

  • /create
  • /complete
  • /progress
    • stats
    • list
  • /ranking
    • Easy
    • Medium
    • Hard
    • Total