Skip to content

nogiszd/xiaomi-note-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

73 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Xiaomi Note Exporter workflow License: MIT maintenance-status

Export your notes from Mi Cloud directly to Markdown file! ๐Ÿ“โžก๏ธ๐Ÿงพ

๐Ÿค” Why?

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.

๐Ÿ’ How to use?

DISCLAIMER: This software will work only if you have your notes stored on Mi Cloud

Prerequisites :

  • 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.

Normal usage:

  1. Launch the app - you will be prompted to input domain address (if it differs from the default one).
  2. Sign into your account via browser window that popped up.
  3. After succeeding, press any key as requested.
  4. Wait until process is done, and you'll be left with Markdown file with your notes exported!

CLI usage:

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

๐Ÿ—’๏ธ Note splitting

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.


๐Ÿ”ง How about maintenance?

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).

๐Ÿ”— Importing into other apps (Advanced)

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

๐Ÿ“œ License

This repository is distributed mainly under the MIT license.

Used libraries:

About

Export your notes stored on Mi Cloud to Markdown files ๐Ÿ“โžก๏ธ๐Ÿงพ

Topics

Resources

License

Stars

Watchers

Forks

Languages