Skip to content
项目

关于

Direct two-way sync between Google Tasks & Microsoft To Do in one seamless loop. Private & self-hosted.

效率与自动化

这些数字如何统计

实测星标增长

24小时
0
7天
+2
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
Tasks–To Do Sync connects Google Tasks with Microsoft To Do through a private Google Apps Script bridge

Tasks–To Do Sync

Keep Google Tasks and Microsoft To Do in one seamless loop.
A private, self-hosted bridge that keeps your daily tasks effortlessly in sync across both ecosystems.

Website CI CodeQL npm version MIT license Google Apps Script

Why it matters · How it works · Features · Get started · Quick start · Contributing · Contributors


Why it matters

Your tasks do not always begin in the same app.

Google and Microsoft each make this easy inside their own ecosystem. The missing piece is the connection between Google Tasks and Microsoft To Do.

Tasks–To Do Sync adds that connection. A task captured on one side can follow you to the other—without sending your task data through a hosted sync service.

How it works

Tasks–To Do Sync connects Google Tasks and Microsoft To Do while native integrations extend the workflow across Google, Microsoft 365, and Apple devices

  1. Capture in Google. Gemini, Gmail, Android, and other Google experiences can place work in Google Tasks.
  2. Sync through your own project. A private Google Apps Script installation keeps Google Tasks and Microsoft To Do aligned in both directions.
  3. Continue in Microsoft. Use the synchronized tasks in Microsoft To Do and the Microsoft 365 experiences already connected to it. If your Microsoft account is part of your Apple Reminders setup, that existing connection can keep your Apple devices in the same personal workflow.

Tasks–To Do Sync directly synchronizes Google Tasks and Microsoft To Do; the surrounding Google, Microsoft 365, and Apple workflows continue through their existing native integrations.

The private trigger runs every 10 minutes. Ordinary changes normally appear within 0–10 min. Some guarded operations may take an additional sync cycle to settle.

What stays in sync

Capability Direction Notes
Create and edit tasks Google ↔ Microsoft Changes can begin on either side
Complete and reopen Google ↔ Microsoft Completion state follows the task
Notes Google ↔ Microsoft Plain-text projection
Due dates, times & reminders Google ↔ Microsoft Bidirectional: Microsoft reminder time ↔ Google Tasks notes marker [TTS-TIME:HH:mm] + dedicated Google Calendar projection
Subtasks & checklists Google ↔ Microsoft Keep task hierarchies and checklist items aligned; enabled by default since v0.8.1
Personal lists Google ↔ Microsoft Eligible lists are discovered and paired automatically
Delete tasks and lists Google ↔ Microsoft Enabled by default with confirmation and recovery records
Move tasks between lists Google ↔ Microsoft Enabled by default with a durable move journal and live revalidation

See the field compatibility matrix for verified projections, provider-specific or unverified fields, and planned research.

A sync engine, not a chain of recipes

General automation platforms such as Zapier and Make can connect Google Tasks and Microsoft To Do through configurable triggers and actions. That flexibility is useful when every workflow is different. Keeping two task systems aligned, however, is a state problem—not just a “when this happens, do that” recipe.

  • One stateful loop. Lists and tasks keep stable mappings across both services instead of relying on unrelated one-way automations.
  • The full task lifecycle. Creation, edits, completion, reopening, due dates, lists, and guarded deletion are handled together so one event does not start an automation loop or resurrect old work.
  • Built for these two services. Conflict checks, recovery journals, rename handling, and tombstones address the failure modes of task synchronization directly.
  • Owned by you. The engine, credentials, and state stay in your Google Apps Script project. There is no Tasks–To Do Sync subscription, hosted account, or task database.

The synchronization engine is covered by 733 automated tests, GitHub CI, CodeQL, and real-account validation. Detailed reliability evidence and runtime boundaries are documented in the engineering audit.

Get started

Tasks–To Do Sync install flow: one command, two sign-ins, and automatic scheduling

Create and launch your private Google Apps Script project with one command:

npx tasks-todo-sync init
Step What you do What happens
1 · Deploy Run npx tasks-todo-sync init Creates your private Apps Script project, pushes the release, and opens the setup wizard
2 · Google sign-in Click through the consent screen Validates safe defaults and script timezone ("Unverified app" → Advanced → Allow)
3 · Microsoft sign-in Enter short code at microsoft.com/link Connects personal Microsoft To Do via Device Code Flow — no Azure setup or secrets
4 · Finalize Click "Activate" in the wizard Schedules the 10-minute trigger, runs a health check, and starts synchronization

Good to know before you connect:

  • Microsoft account types. The guided flow uses Device Code Flow with a personal Microsoft account. Work or school (organizational) accounts are not supported by it — those deployments take the self-managed Azure/Entra route in the deployment guide, which is a longer setup than the five-minute personal path.
  • What the engine touches. Google: Tasks, a dedicated secondary calendar (Tasks-ToDo-Sync) that the engine creates itself, and email for alerts. Microsoft: To Do tasks, plus MailboxSettings.Read for the account's time zone. The full scope list with the purpose of each entry is in the deployment guide.
  • Operating envelope. Around 300 synced task pairs is the conservative recommendation; 600 pairs is an observed stress boundary, not a support promise. Rounds run every 10 minutes and each must finish inside the Apps Script execution budget.
  • Calendar projection is on by default. Timed tasks appear as silent 30-minute events on the dedicated calendar; the popup reminder stays off unless you turn it on (SYNC_CALENDAR_PROJECTION_REMINDER).
  • Desktop companion credentials. The Windows companion reuses the OAuth credentials that clasp login already stores on your machine (~/.clasprc.json) to reach your private deployment — it never handles your Microsoft secrets, and deleting that file only costs you the transport until the next clasp login.
  • detect briefly reads your project list. The CLI's detect command downloads every Apps Script project visible to your account into a temporary local folder to fingerprint them, then deletes the copies. Nothing leaves your machine, but unrelated private scripts are read in the process.

Alternative deployment and authorization options:

  • Standalone Windows runtime: For environments without preconfigured Node.js, the Windows installer (.exe) bundles its own runtime. On startup it only checks GitHub Releases for a newer stable version and asks before downloading anything — nothing installs on its own. Turn the startup check off under Settings → "Check for app updates automatically when the app starts", or press Check for updates now whenever you like. The macOS & Linux bootstrap script (curl -fsSL https://raw.githubusercontent.com/simonchai-tw/tasks-todo-sync/main/bootstrap.sh | sh) provisions Node.js on demand.
  • Verifying your download: release notes list the installer's SHA-256 checksum so you can confirm the file matches what was published. The build is not code-signed, so Windows SmartScreen may show a warning on first run — expected for an unsigned open-source installer.
  • Self-managed Azure / Entra OAuth: For environments requiring dedicated Azure tenant control (custom Client ID, Client Secret, and redirect URI) instead of Device Code Flow, manual clasp deployment remains fully supported. See the deployment guide.

Follow the quick start for the guided walkthrough, or open the deployment guide for manual setup, upgrades, rollback, and cross-list moves.

Documentation

Guide Use it for
Quick start The shortest personal setup path
Deployment guide Personal and Advanced Microsoft authorization, Apps Script, upgrades, and rollback
Engineering audit Verified behavior, limitations, and deferred work
Google Gemini personalization Voice and assistant capture for due times and reminders
Security policy Reporting a vulnerability privately
Changelog Release history

Questions, ideas, or something not working? Open an issue.

What's ahead

  • Frictionless setup for everyone. Explore a streamlined onboarding path that removes terminal and Node.js prerequisites, making private self-hosting effortless for everyday users.
  • Scalable and resilient architecture. Richer diagnostics and future incremental delta processing beyond lightweight serverless runtimes.
  • Cross-cloud attachment vault. Save Microsoft To Do attachments to Google Drive and link them directly in Google Tasks.

License

MIT. See LICENSE and NOTICE.

探索相关项目

加载中…