https://github.com/wangjs-jacky/tt-cli
滴答清单(TickTick)命令行工具,支持国内版和国际版双区域
https://github.com/wangjs-jacky/tt-cli
cli-tool dida nodejs oauth2 ticktick typescript
Last synced: about 2 months ago
JSON representation
滴答清单(TickTick)命令行工具,支持国内版和国际版双区域
- Host: GitHub
- URL: https://github.com/wangjs-jacky/tt-cli
- Owner: wangjs-jacky
- Created: 2026-04-03T16:27:45.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-04-04T07:18:00.000Z (2 months ago)
- Last Synced: 2026-04-04T09:26:41.011Z (2 months ago)
- Topics: cli-tool, dida, nodejs, oauth2, ticktick, typescript
- Language: TypeScript
- Size: 84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tt-cli
[](https://www.npmjs.com/package/@wangjs-jacky/ticktick-cli) [](https://opensource.org/licenses/MIT)
English | [中文](./README_CN.md)
A command-line tool for TickTick (滴答清单), supporting both China region (dida365.com) and Global region (ticktick.com).
## Install
```bash
npm install -g @wangjs-jacky/ticktick-cli
```
## Usage
### First-time Login
```bash
tt login
```
You'll be prompted for Client ID and Client Secret. Register your app at [TickTick Developer Platform](https://developer.ticktick.com/app) first.
Set Redirect URI to: `http://localhost:3000/callback`
### Switch Region
```bash
tt config --region cn # China region (dida365.com)
tt config --region global # Global region (ticktick.com)
```
### Daily Use
```bash
tt whoami # Check login status
tt logout # Log out
tt config # View configuration
```
## Development
```bash
npm install # Install dependencies
npm run build # Build
npm test # Run tests
npm run dev # Watch mode
```
## Tech Stack
| Category | Choice |
|----------|--------|
| CLI Framework | `cac` |
| Terminal UI | `@clack/prompts` + `picocolors` |
| Build | `tsup` (ESM only) |
| Test | `vitest` |
## License
MIT