mirror of
https://github.com/ysonc/obsidian-tasks-syncer.git
synced 2026-07-22 08:32:33 +00:00
No description
| .github/workflows | ||
| concept-testing | ||
| src | ||
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .npmrc | ||
| esbuild.config.mjs | ||
| LICENSE | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| styles.css | ||
| TODO.md | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
Task Syncer Plugin for Obsidian
This Obsidian plugin syncs tasks between Obsidian notes and Microsoft To-Do. You can easily manage your Microsoft To-Do tasks directly from Obsidian.
Features
- Sync tasks from Obsidian notes directly into Microsoft To-Do.
- Mark tasks as complete directly from Obsidian.
- Sidebar integration for showing current targeted list's task.
Using the Plugin
Commands
- Open Microsoft To-Do Sidebar: View your tasks directly.
- Login to Microsoft To-Do: Authenticate your Microsoft account.
- Refresh Microsoft To-Do Token: Refresh authentication manually.
- Push All Tasks from Note: Sync tasks from your active note.
- Create and Push Task: Add a single task directly.
- Show Not Started Tasks List: To mark tasks as completed.
- Select Task List: Change the target list in Microsoft To-Do.
- Delete Completed Tasks: Remove all completed tasks in the targeted list.
Supported Platforms
- Microsoft To-Do (more integrations coming soon!)
Setup
Prerequisites
You'll need an Azure AD Application set up to integrate with Microsoft To-Do:
- Go to the Azure Portal.
- Click on Azure Active Directory → App registrations → New registration.
- Enter a name (e.g., "Obsidian Task Syncer").
- Set Supported account types to Accounts in any organizational directory and personal Microsoft accounts.
- Set Redirect URI to
http://localhost:5000and select type Web. - Click Register.
- After registration, note down the Application (client) ID.
Get Client Secret
- From your app registration, go to Certificates & secrets.
- Click New client secret.
- Add a description and set expiration to your preference.
- After creation, copy and save your client secret securely.
Plugin Installation
- Clone this repository into your Obsidian plugins folder:
git clone https://github.com/your-username/task-syncer-plugin.git
- Install dependencies:
npm install
- Build the plugin:
npm run build
- In Obsidian, enable the plugin under Settings → Community plugins.
Configuration
After installation:
- Open Obsidian Settings.
- Navigate to Microsoft To-Do Settings tab.
- Enter your Client ID, Client Secret, and Redirect URL (
http://localhost:5000). - Reload the plugin.
- Click Get Task Lists to fetch your available Microsoft To-Do lists.
- Select the task list you want to sync with.
Development
npm run dev: Runs the plugin in development mode.- Changes to
.tsfiles will automatically rebuild.