# skygragon/leetcode-cli

A cli tool to enjoy leetcode!

Repository: https://github.com/skygragon/leetcode-cli
Canonical: https://ross.abutalabs.com/products/leetcode-cli
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-03-04T00:37:12+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 70, release rhythm 8, longevity 100
- inputs: {"age_days": 3669, "days_push": 183, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3865, forks 460 (observed 2026-08-28T04:08:27.640604+00:00)

## What it is
A Node.js command-line tool for interacting with LeetCode, letting users browse, download, test, and submit solutions to problems directly from the terminal. It supports caching questions for offline work, generating solution scaffolds in multiple languages, and tracking submission status.

## Use cases
- download leetcode problems to local files from the terminal
- test and submit leetcode solutions without opening a browser
- generate boilerplate source code for a leetcode problem in cpp or python
- track my leetcode solved-problem statistics from the command line
- cache leetcode questions for offline practice
- log into leetcode from multiple machines with one account

## When to choose
- you practice leetcode regularly and prefer working in your own editor and terminal
- you want offline access to problem descriptions and automated test/submit workflows
- you want to script or automate leetcode interactions

## When to avoid
- you prefer a GUI or the official leetcode website experience
- you need features beyond the core CLI, which require the separate plugins repo
- you don't have a leetcode account or use competing judge platforms

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, developer-tools, http-client, caching
- domain: developer-tools, education, programming-languages
- platform: cli, cross-platform
- tags: leetcode, coding-interview, competitive-programming, algorithms, npm, command-line, nodejs

## Member repositories
- skygragon/leetcode-cli (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:27.640604+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:25:51.791750+00:00, confidence not recorded.
  - readme: https://github.com/skygragon/leetcode-cli (fetched 2026-08-28T04:08:27.640604+00:00, sha e93e77c5c583)
  - registry_npm: https://registry.npmjs.org/leetcode-cli (fetched 2026-08-29T09:20:29.467519+00:00, sha 988772f739e4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
