Skip to content

emilyclam/leetmon

Repository files navigation

LeetMon

Do Leetcode, catch Pokemon!



Table of Contents


Introduction

LeetMon is a browser extension made by the WXT framework, and animated using the GSAP library. Users can catch pokemon when they solve Leetcode problems.


Features

Random pokemon shows up on leetcode problem When you open a Leetcode problem, a random Pokemon from gen 1-5 will appear



Throws pokeball and catches the wild pokemon When you submit a correct solution, you catch the Pokemon



No pokemon caught yet

The wild pokemon you caught is there

View your caught Pokemon by clicking the extension widget


Quick Setup for Users

note: this is actually the development instructions for Chrome LeetMon is not currently published on any web stores. Instead, to set up the LeetMon extension in your browser quickly:

  1. Go to Releases, and download the zip file for your browser
  2. Unzip the folder
  3. Go to chrome://extensions and enable Developer mode
  4. Click Load unpacked and select the unzipped folder
  5. Start Leetcoding!

Setup and Build for Developers

Setup

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

  1. Clone this repository
git clone https://github.com/emilyclam/leetmon
  1. Go into the repository
cd leetmon
  1. Install dependencies
npm install
  1. Run the app
npm run dev

A new window will open with your extension automatically loaded. Or, follow steps 3-5 of the Quick Setup for Users guide to get your development code running in your regular browser, selecting the appropriate folder from .output/ to unpack.


Build

To build and zip for...

Chrome (Default):

wxt zip

Firefox:

wxt zip -b firefox

Edge:

wxt zip -b edge

Tools

LeetMon was built with:

  • WXT - web extension framework for bundling and fast development
  • GSAP - JS library for animations
  • PokeApi - RESTful Pokemon API for pokemon sprites and data

Browser Support

Chrome Chrome IE IE Edge Edge Safari Safari Firefox Firefox
Yes No Yes Yes Yes

About

Do Leetcode, catch pokemon

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors