Export your notes from Mi Cloud directly to Markdown file! ๐โก๏ธ๐งพ
I wanted to export my own notes from Mi Cloud but there is no option for that. The only option was to rewrite the notes one by one. So I decided to make an app that would do it for me.
DISCLAIMER: This software will work only if you have your notes stored on Mi Cloud
- Windows machine with .NET 8 runtime installed
- Latest version of Google Chrome browser installed
Download latest release, extract the contents to the same folder and run xiaomiNoteExporter.exe
executable.
- Launch the app - you will be prompted to input domain address (if it differs from the default one).
- Sign into your account via browser window that popped up.
- After succeeding, press any key as requested.
- Wait until process is done, and you'll be left with Markdown file with your notes exported!
xiaomiNoteExporter.exe [options]
Options:
-h, --help
Show this help message.
-d, --domain <domain> (default: us.i.mi.com)
Mi Notes domain that you were redirected to.
-s, --split <timestamp> (default: dd-MM-yyyy_HH-mm-ss)
Split notes into separate files with provided timestamp format. Must be compatible with:
https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings
Since v1.6.0
you can launch this application via CLI with usage as shown above.
With -s
flag you can enable note splitting - which exports notes to separate directory, one by one.
This enables user to input specific format for timestamp - but it must be compatible with .NET specification.
I will only add modifications and new features when I have free time to do so. Until then, there will only be major bug fixes and small updates (including library updates).
There is an fork with additional scripts written in Python which are made to split complete markdown file into one per note, and convert them into JSON format file.
More details are described in this fork's readme.md
.
Credits are going to aviv926
This repository is distributed mainly under the MIT license.
Used libraries: