项目
在 GitHub 查看
cheatmd-dev/cheatmd
关于
Executable Markdown cheatsheets. Write plain .md files that read like normal notes, then run them as interactive commands with variable prompts, pickers, and shell integration for bash/zsh/tmux/zellij.
效率与自动化实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文CheatMD
Executable Markdown cheatsheets. Write readable docs, run interactive commands.

Install
go install github.com/cheatmd-dev/cheatmd/cmd/cheatmd@latest
Requires Go 1.26+.
Quick Start
cheatmd # Browse current directory
cheatmd ~/cheats # Browse a cheats directory
cheatmd -q "docker" # Start with a search query
cheatmd init # Initialize default config
cheatmd --lint ~/cheats # Check cheats for syntax/reference issues
cheatmd packs install # Install starter cheat packs
Any Markdown heading with a code block can become a cheat:
## Docker: exec into container
```sh title:"Execute shell in container"
docker exec -it $container /bin/sh
```
<!-- cheat
var container = docker ps --format "{{.Names}}" --- --header "Select container"
-->
What It Does
- Fuzzy-search cheats by title, command, tags, and description
- Prompt for variables using shell output, editable defaults, or pickers
- Reuse variable definitions with modules
- Run ordered multi-step workflows with chains
- Lint cheat syntax, imports, chains, and variables
- Export parsed metadata as JSON or CSV
- Convert existing
navi,tldr, andcheat/cheatsheetscollections - Run headless over JSON-RPC for editor integrations
Editor Extensions
- VS Code - syntax highlighting, diagnostics, completion, and CodeLens execution
- Neovim - syntax highlighting, async diagnostics, completion, and
:CheatMDRun - Obsidian - inline run buttons, lint status, execution results, and variable autocomplete
Documentation
Full documentation lives in the Wiki:
- Getting Started
- Writing Cheats
- Variables
- Selector Options
- Configuration
- Convert
- Headless Mode
- Recipes
Contributing
See CONTRIBUTING.md.
Support
If CheatMD saves you time, you can support the project on Ko-fi.
License
探索相关项目
加载中…