All Projects → beizhedenglong → leetcode-site-generator

beizhedenglong / leetcode-site-generator

Licence: MIT license
Generate your personal LeetCode website with one command!

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to leetcode-site-generator

Leetcode
Solutions to LeetCode problems; updated daily. Subscribe to my YouTube channel for more.
Stars: ✭ 3,090 (+2929.41%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Notes
LeetCode 算法解答
Stars: ✭ 172 (+68.63%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Js
用 JS 刷 LeetCode
Stars: ✭ 165 (+61.76%)
Mutual labels:  leetcode, leetcode-solutions
Interviews
Everything you need to know to get the job.
Stars: ✭ 54,875 (+53699.02%)
Mutual labels:  leetcode, leetcode-solutions
Windary
🎓 My solutions to LeetCode problems written in Go, Java, JavaScript, Kotlin, Python, Rust & Swift.
Stars: ✭ 189 (+85.29%)
Mutual labels:  leetcode, leetcode-solutions
D.s.a Leet
References and summary for leetcode high-frequency algorithm problems
Stars: ✭ 155 (+51.96%)
Mutual labels:  leetcode, leetcode-solutions
Leetcodesolutions
Theoretical solutions for LeetCode problems.
Stars: ✭ 205 (+100.98%)
Mutual labels:  leetcode, leetcode-solutions
Datastructures Algorithms
The best library for implementation of all Data Structures and Algorithms - Trees + Graph Algorithms too!
Stars: ✭ 2,105 (+1963.73%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Solutions
A compilation of all the Leetcode solutions.
Stars: ✭ 188 (+84.31%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Python
LeetCode solutions in Python2. LeetCode题解 in Python2。
Stars: ✭ 182 (+78.43%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode In Swift
My solutions to LeetCode problems written in Swift
Stars: ✭ 150 (+47.06%)
Mutual labels:  leetcode, leetcode-solutions
SQL-Practice
Solutions to Problems For SQL on Leetcode, Hackerrank & DataLemur
Stars: ✭ 116 (+13.73%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode
leetcode刷题
Stars: ✭ 145 (+42.16%)
Mutual labels:  leetcode, leetcode-solutions
Algorithms Leetcode Javascript
Algorithms resolution in Javascript. Leetcode - Geeksforgeeks - Careercup
Stars: ✭ 157 (+53.92%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Java
leetcode 解题方法 Java 语言描述,包含各种常见解题模板和各个题目出题频率
Stars: ✭ 144 (+41.18%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Solutions
🏋️ Python / Modern C++ Solutions of All 2111 LeetCode Problems (Weekly Update)
Stars: ✭ 2,787 (+2632.35%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Java
LeetCode solutions written in Java
Stars: ✭ 134 (+31.37%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode
❓ My LeetCode solutions, currently written in Javascript
Stars: ✭ 134 (+31.37%)
Mutual labels:  leetcode, leetcode-solutions
Js Algorithms
A collection of algorithms written in javascript
Stars: ✭ 182 (+78.43%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Java Solutions
Solutions to LeetCode Online Judge problems in Java
Stars: ✭ 194 (+90.2%)
Mutual labels:  leetcode, leetcode-solutions

LeetCode Site Generator

Generate your personal LeetCode website with one command!

Example Website

leetcode-solutions

screenshot

Requirements

  • Make sure you have the recent version of node.js installed.
  • yarn(optional), you can use npm.

Features

  • Support both leetcode.com and leetcode-cn.com accounts.

Installation

yarn global add leetcode-site-generator or npm i -g leetcode-site-generator

Usage

  1. Run installation script: leetcode-site init, This will create a project called leet-site-base on your current directory.
  2. Go to the website directory of leet-site-base, run yarn download. It will open a popup window and ask you to input your LeetCode username and password. login
  3. Waiting for downloading process finished, then run yarn & yarn start.

Publish to Github pages

  1. Change the following keys in siteConfig.js
 const siteConfig = {
   // ...
   url: 'https://beizhedenglong.github.io', // Your website URL
   baseUrl: '/leetcode-site-generator/', // Base URL for your project
   projectName: 'leetcode-site-generator', // Your project name
   organizationName: 'beizhedenglong', // Your github username
   // ...
 }
  1. Run GIT_USER=<your github username> CURRENT_BRANCH=master USE_SSH=true yarn run publish-gh-pages

List of commands

Usage: leetcode-site [options] [command]

Options:
  -V, --version       output the version number
  -h, --help          output usage information

Commands:
  download [options]  Download your new accepted code from LeetCode.
  init                Generate your personal LeetCode website.
  login               Log in to your Leetcode account.
  logout              Log out of current account.

download

Usage: download [options]

Download your new accepted code from LeetCode.

Options:
  -a, --all   Download all your accepted code from LeetCode.
  -h, --help  output usage information
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].