Skip to content

wangjs-jacky/tt-cli

Repository files navigation

tt-cli

npm version License: MIT

English | 中文

A command-line tool for TickTick (滴答清单), supporting both China region (dida365.com) and Global region (ticktick.com).

Install

npm install -g @wangjs-jacky/ticktick-cli

Usage

First-time Login

tt login

You'll be prompted for Client ID and Client Secret. Register your app at TickTick Developer Platform first.

Set Redirect URI to: http://localhost:3000/callback

Switch Region

tt config --region cn      # China region (dida365.com)
tt config --region global   # Global region (ticktick.com)

Daily Use

tt whoami    # Check login status
tt logout    # Log out
tt config    # View configuration

Development

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

About

滴答清单(TickTick)命令行工具,支持国内版和国际版双区域

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors