An interactive command-line client for Yuque, built with Node.js.
It provides a full-screen REPL with:
- persistent app-style banner
- keyboard-first navigation
- table/list based selection for repos and docs
openandshowdocument flows- markdown pager and in-terminal editor for document body input
中文文档: README.zh-CN.md
- Token auth via
YUQUE_TOKENor interactive login - Repo/doc browsing with rich keyboard interactions
- Clickable repo namespace links (OSC8-capable terminals)
- Tab completion and command suggestions
- Friendly prompts and guidance-focused messaging
- Multi-line body editor for
create doc in [repo]
- Node.js >= 18
npm install -g yuque-cliyuque --version- Environment variable:
YUQUE_TOKEN - Or run
auth loginin REPL
Saved token location:
~/.yuque/settings.json
Token creation page:
https://www.yuque.com/settings/tokens
yuqueOr one-shot commands:
yuque whoami
yuque list repos
yuque list docs <repo>
yuque open <repo>/<doc>
yuque show <repo>/<doc>
yuque search "keyword" <repo>YUQUE_TOKEN: auth tokenYUQUE_ENDPOINT: override API endpoint (defaulthttps://www.yuque.com)
npm test
npm run replMIT