All Projects → lryong → Hugo Leetcode Dashboard

lryong / Hugo Leetcode Dashboard

Licence: mit
A LeetCode dashboard for hugo website

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Hugo Leetcode Dashboard

Kui
A hybrid command-line/UI development experience for cloud-native development
Stars: ✭ 2,052 (+1286.49%)
Mutual labels:  plugin, dashboard
Androbd
Android OBD diagnostics with any ELM327 adapter
Stars: ✭ 573 (+287.16%)
Mutual labels:  plugin, dashboard
Flexget qbittorrent mod
flexget qbittorrent删种、辅种 自动签到 插件
Stars: ✭ 144 (-2.7%)
Mutual labels:  plugin
Osprey
Simple, clean, and fast one-page Hugo portfolio theme accompanied by a blog
Stars: ✭ 147 (-0.68%)
Mutual labels:  hugo
Algorithm Pattern
算法模板,最科学的刷题方式,最快速的刷题路径,你值得拥有~
Stars: ✭ 12,970 (+8663.51%)
Mutual labels:  leetcode
Hugo Resume
A Hugo theme ported from startbootrap.com's resume template
Stars: ✭ 145 (-2.03%)
Mutual labels:  hugo
Poli
An easy-to-use BI server built for SQL lovers. Power data analysis in SQL and gain faster business insights.
Stars: ✭ 1,850 (+1150%)
Mutual labels:  dashboard
Dspellcheck
Notepad++ Spell-checking Plug-in
Stars: ✭ 144 (-2.7%)
Mutual labels:  plugin
Documentation
The source for Datadog's documentation site.
Stars: ✭ 147 (-0.68%)
Mutual labels:  hugo
Laravue
Admin dashboard for enterprise Laravel applications built by VueJS and Element UI https://laravue.dev
Stars: ✭ 1,964 (+1227.03%)
Mutual labels:  dashboard
Hyper Search
Search-text plugin for Hyper.js
Stars: ✭ 146 (-1.35%)
Mutual labels:  plugin
Leetcode
leetcode 顺序刷题,详细通俗题解,with JAVA
Stars: ✭ 2,192 (+1381.08%)
Mutual labels:  leetcode
Leetcode
leetcode刷题
Stars: ✭ 145 (-2.03%)
Mutual labels:  leetcode
Hugo Theme Fuji
A minimal Hugo theme with nice theme color. | 一个主题色极简 Hugo 主题。
Stars: ✭ 145 (-2.03%)
Mutual labels:  hugo
Stickyboard
Fully customizable Web Admin/Dashboard starter kit based on React
Stars: ✭ 144 (-2.7%)
Mutual labels:  dashboard
Lagmonitor
Monitor performance of your Minecraft server. Similar to VisualVM and Java Mission Control.
Stars: ✭ 147 (-0.68%)
Mutual labels:  plugin
Notus Svelte
Notus Svelte: Free Tailwind CSS UI Kit and Admin
Stars: ✭ 144 (-2.7%)
Mutual labels:  dashboard
Docker Hugo
Truly minimal Docker images for Hugo open-source static site generator.
Stars: ✭ 143 (-3.38%)
Mutual labels:  hugo
Leetcode Solutions In Good Style
首页已经更新,希望能对大家有帮助。
Stars: ✭ 2,289 (+1446.62%)
Mutual labels:  leetcode
Mobarena
MobArena plugin for Minecraft
Stars: ✭ 147 (-0.68%)
Mutual labels:  plugin

hugo-leetcode-dashboard

✨ 一个 LeetCode 答题看板的生成插件, 支持一键部署到 Hugo 站点。 完整记录刷题心路历程

在线预览 Demo

Screenshots

leetcode-dashboard

Installation

  1. 下载 Repo 到本地:

    git  clone https://github.com/lryong/hugo-leetcode-dashboard
    
  2. 安装依赖: 本项目需要用到 requestsaiohttp 包, 通过 pip 安装即可。

  3. 更新仓库根目录下的 config.json文件:

    {
      "username": "[email protected]",
      "password": "leetcode",
      "outputDir": "../LeetCode"
    }
    

    username 是 LeetCode-cn 账号, password 是对应密码。 outputDir 为 dashboard 生成路径。 (注: 这里配置为 hugo 站点的文档路径, 如:/Users/XXX/my_blogs/content)

  4. 因为 Hugo 默认只支持 markdown 文档, 在个人网站根目录下新建 layouts/shortcodes/rawhtml.html文件,以支持原生 HTML:

    <!-- raw html -- > {
       {
        .Inner;
      }
    }
    

    (具体参考这里)

  5. 最后一键部署到 Hugo 站点, 参考以下命令:

    echo "2" | python3 run.py && cp imgs/leetcode-logo.png /Users/XXX/my_blogs/static/images
    

Directory Structure

通过 hugo-leetcode-dashboard 生成的文件目录如下:

.
├── leetcode.md # 中文看板入口
├── leetcode_en.md #英文看板入口
├── problemset # 答题集
│   ├── 3sum #题目
│   │   ├── 3sum.go #题解原文件
│   │   ├── 3sum.go.md # 题解
│   │   ├── readme.md # 中文题目描述
│   │   └── readme_en.md # 英文题目描述

把以上文件放到 hugo 文章根目录即可

Features

  1. 答题情况总览(完成的题目和整体进程)
  2. LeetCode 个人答题看板, 包括展示 题号,题目,收藏标签,解答的语言, 题目通过率, 难度和题目类型
  3. 展示 LeetCode 问题描述
  4. 展示 LeetCode 个人的解题方案

License

Released under the MIT License.

Acknowledgements

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