macOS
brew install leetgolocal Homebrew formula metadata
安装
brew install leetgolocal Homebrew formula metadata
nix profile install nixpkgs#leetgonixpkgs package indexes · pkgs/by-name/le/leetgo/package.nix · 来源: api.github.com
概览
CLI tool for LeetCode
历史
`leetgo` is a Go-based LeetCode CLI that generates problem descriptions, skeleton code, test harnesses, contest files, and local test workflows for people who want to solve LeetCode problems from a terminal and editor.
The project README describes `leetgo` as a terminal companion for LeetCode with code generation, local testing, contest support, automatic browser-cookie reading, and optional OpenAI-assisted fix support. It supports both leetcode.com and leetcode.cn.
The v1.4 configuration change is a useful marker in the project's evolution: the README states that since v1.4, `leetgo` stopped reading the global `~/.config/leetgo/config.yaml` file and moved configuration into a project-local `leetgo.yaml` discovered by walking upward from the working directory.
The repository shows hundreds of stars, dozens of forks, and many tagged releases. The README documents Homebrew, Scoop, Arch, installer-script, and `go install` installation paths, which is a broader packaging surface than many LeetCode helper CLIs.
A typical workflow is `leetgo init`, edit `leetgo.yaml`, `leetgo pick`, `leetgo test`, and `leetgo submit`. The tool can generate complete runnable programs for several languages and uses browser cookies, explicit cookies, or environment variables for LeetCode authentication.
`leetgo` is a good package-nerd example of a language-specific productivity CLI that still needs cross-platform release automation, shell installation paths, browser-cookie integration, per-project config discovery, and generated source layouts for many programming languages.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
leetgo.yamlCredential-bearing paths to review before unattended agent runs.
.env可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
leetgo | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:leetgo |
|---|---|
| 版本 | 1.4.17 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/j178/leetgo |
| 仓库 | https://github.com/j178/leetgo |
| 最后更新 | 2026-07-26T13:41:00+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
leetgo
nix profile install nixpkgs#leetgo来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.