Skip to content

Add mindlosted/ticktick: TickTick tasks widget - #522

Merged
SimonSchubert merged 1 commit into
SimonSchubert:mainfrom
mindlosted:ticktick
Nov 19, 2026
Merged

SimonSchubert merged 1 commit into
SimonSchubert:mainfrom
mindlosted:ticktick

Conversation

@mindlosted

Copy link
Copy Markdown
Contributor

mindlosted/ticktick — TickTick tasks (v2.0, productivity)

A full-size TickTick widget: tasks grouped by date (Overdue / Today / Tomorrow / day / No Due Date), priority bars, All–Today–Upcoming filter chips, quick add, tap-to-complete, tap-to-open in the TickTick Android app, a full-screen view, and a demo mode with sample data.

Design

  • Native http() / post() only — no shell commands, no pacman packages; works even before Linux is installed.
  • Token as state token = null secret (owl 12): encrypted by the launcher, entered through a password: true Input, sent only to api.ticktick.com in the Authorization header. Sign Out forgets it.
  • TickTick's open API has no "all tasks" endpoint, so a time-based trigger walks the project list (one project per 2 s, new sweep every 3 min) and merges tasks by projectId; Inbox refreshes every 3 min. Writes refresh sources on success and show the HTTP code on failure.
  • owl 17 (onPull, strings, secret, parseTime), MIT.

Privacy

No personal data in the file: no tokens, no personal paths, no hard-coded location. preview.png was rendered in demo mode and shows only generic sample tasks.

Verification

  • owl-check: compiles; tile and full-screen layouts inspected.
  • java -jar tools/owl.jar review . widgets/mindlosted/ticktick/widget.owl passes:
### ✅ `mindlosted/ticktick` — ticktick 2.0
Packages: none
Programs it runs: none
Commands (5):
http GET https://api.ticktick.com/open/v1/project
http GET https://api.ticktick.com/open/v1/project/inbox/data
http GET https://api.ticktick.com/open/v1/project/‹value›/data
http POST https://api.ticktick.com/open/v1/project/‹value›/task/‹value›/complete
http POST https://api.ticktick.com/open/v1/task

Live sync with a real account is being tested on the phone before merge; the demo-mode rendering is what the preview shows.

Native http()/post() only, secret token, date-grouped task list with
filters, quick add, tap-to-complete, open-in-app and a demo mode.

@SimonSchubert SimonSchubert left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, nice widget! Merging. I'll follow up on main by making it sync less often (lists every 15 min, Inbox every 10) to save battery and stay clear of TickTick's rate limits. Pull to refresh and ↻ still sync right away.

@SimonSchubert
SimonSchubert merged commit 76efd70 into SimonSchubert:main Nov 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants