Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
lazyleet
command
Command lazyleet is a lazygit-style terminal UI for practising on LeetCode: browse problems and study plans, then solve them in a side-by-side workspace with a local test runner and one-key submit.
|
Command lazyleet is a lazygit-style terminal UI for practising on LeetCode: browse problems and study plans, then solve them in a side-by-side workspace with a local test runner and one-key submit. |
|
internal
|
|
|
attempt
Package attempt defines persisted local and remote judge outcomes.
|
Package attempt defines persisted local and remote judge outcomes. |
|
browsercookies
Package browsercookies reads cookies for a given site straight out of the local browsers' cookie stores (Chrome, Firefox, Safari, Edge, Brave, Arc, Vivaldi, Opera, …) via the kooky library, so lazyleet can pick up a LeetCode session without the user copying cookies out of DevTools.
|
Package browsercookies reads cookies for a given site straight out of the local browsers' cookie stores (Chrome, Firefox, Safari, Edge, Brave, Arc, Vivaldi, Opera, …) via the kooky library, so lazyleet can pick up a LeetCode session without the user copying cookies out of DevTools. |
|
browserlogin
Package browserlogin logs in to a site by launching an ordinary Chromium-family browser with a DevTools port open, letting the user sign in (Cloudflare/captcha included), and then reading the resulting cookies over CDP — no OS keychain, no cookie-file decryption.
|
Package browserlogin logs in to a site by launching an ordinary Chromium-family browser with a DevTools port open, letting the user sign in (Cloudflare/captcha included), and then reading the resulting cookies over CDP — no OS keychain, no cookie-file decryption. |
|
config
Package config resolves lazyleet's on-disk locations and loads/saves the user configuration file.
|
Package config resolves lazyleet's on-disk locations and loads/saves the user configuration file. |
|
leetcode
Package leetcode is the sole gateway to LeetCode: GraphQL queries, the REST run/submit endpoints, cookie auth, response DTOs, and result polling.
|
Package leetcode is the sole gateway to LeetCode: GraphQL queries, the REST run/submit endpoints, cookie auth, response DTOs, and result polling. |
|
plans
Package plans provides study-plan definitions that are not official LeetCode study plans, as bundled ordered slug lists compiled into the binary.
|
Package plans provides study-plan definitions that are not official LeetCode study plans, as bundled ordered slug lists compiled into the binary. |
|
runner
Package runner is the local judge: per-language drivers that wrap the user's solution, parse test-case input, invoke it in a sandboxed subprocess, and compare output.
|
Package runner is the local judge: per-language drivers that wrap the user's solution, parse test-case input, invoke it in a sandboxed subprocess, and compare output. |
|
selfupdate
Package selfupdate checks GitHub for newer lazyleet releases and upgrades the running binary in place, using whichever mechanism installed it (Homebrew, `go install`, or a release archive).
|
Package selfupdate checks GitHub for newer lazyleet releases and upgrades the running binary in place, using whichever mechanism installed it (Homebrew, `go install`, or a release archive). |
|
store
Package store is lazyleet's local persistence layer: a single SQLite database (pure-Go driver, no CGO) holding the problem cache, problem detail cache, study plans, submission history, and workspace state.
|
Package store is lazyleet's local persistence layer: a single SQLite database (pure-Go driver, no CGO) holding the problem cache, problem detail cache, study plans, submission history, and workspace state. |
|
termimg
Package termimg renders raster images inline in a terminal.
|
Package termimg renders raster images inline in a terminal. |
|
testcase
Package testcase defines lazyleet's on-disk test-case format and helpers to read, write, and derive cases.
|
Package testcase defines lazyleet's on-disk test-case format and helpers to read, write, and derive cases. |
|
tui
Package tui holds the terminal UI: the pure layout solver, panes, the context/focus stack, the keymap and generated shortcut bar, and the theme.
|
Package tui holds the terminal UI: the pure layout solver, panes, the context/focus stack, the keymap and generated shortcut bar, and the theme. |
|
workspace
Package workspace manages the on-disk problem directories (<frontendID>-<slug>/ with solution, meta, test cases, notes), scaffolding them from LeetCode data and watching the solution file for changes.
|
Package workspace manages the on-disk problem directories (<frontendID>-<slug>/ with solution, meta, test cases, notes), scaffolding them from LeetCode data and watching the solution file for changes. |
Click to show internal directories.
Click to hide internal directories.