An open API service indexing awesome lists of open source software.

https://github.com/darkmuck/mstodoexporter

CLI Tool to export data from a Microsoft To Do database.
https://github.com/darkmuck/mstodoexporter

backup csharp dotnet export microsoft microsoft-to-do microsoft-todo microsofttodo to-do todo

Last synced: about 1 month ago
JSON representation

CLI Tool to export data from a Microsoft To Do database.

Awesome Lists containing this project

README

          

# mstodoexporter
A CLI Tool to export all data from a local Microsoft To Do database.

## Requirements

1. [Install Microsoft To Do](https://apps.microsoft.com/detail/9nblggh5r558)
```
winget install 9NBLGGH5R558
```

2. [Install .NET 9.0 SDK](https://github.com/adammcclure/dotnet-core/blob/main/release-notes/9.0/install-windows.md)
```
winget install dotnet-sdk-9.0
```

3. Launch Microsoft To Do and authenticate to synchronize your data.

4. Update the configuration values in appsettings.json:

- dbPath - full file path to the sqlite database (e.g. %Localappdata%\\Packages\\Microsoft.Todos_8wekyb3d8bbwe\\LocalState\\AccountsRoot\\0892acdb3df940acb21ad7e3cbe37926\\todosqlite.db)
- outputDir - full path to the export location (e.g. %userprofile%\\mstodoexporter_output)
- clearOutputDirBeforeExport (true/false) - clear existing outputDir, if it exists, before exporting data
- archiveOutput (true/false) - create a zip archive of the exported data
- removeOutputDirAfterArchive (true/false) - remove outputDir contents after exporting data
- archiveOutputDirIfExistsBeforeExport (true/false) - create a zip archive of existing outputDir, if it exists, before exporting data
- nonInteractive (true/false) - execute without requiring any user input, such as asking to continue upon encountering an error

5. Build and run

## Release History

### Version 1 (2025-10-29)

The goal of this first release was to make it work.

The code needs to be cleaned up and restructured.