This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { writeFile, readdir, readFile, mkdir } from 'node:fs/promises'; | |
import path from 'node:path'; | |
/* | |
Steps to get/export your notes from Huawei Notes: | |
1. Login into a Huawei Account in the phone. | |
2. Activate in your phone, the Notes Syncing, which is inside of Huawei Account > Cloud | |
3. Log in into https://cloud.huawei.com | |
4. Go to https://cloud.huawei.com/home#/account/gdpr, and click on Download Notes | |
5. This will give you a zip file with a password. Extract the zip file into a folder. | |
6. Copy this file into the root directory folder as index.mjs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { writeFile, readdir, readFile } from 'node:fs/promises'; | |
import path from 'path'; | |
/* | |
Steps to get/export your notes from Huawei Notes: | |
1. Login into a Huawei Account in the phone. | |
2. Activate in your phone, the Notes Syncing, which is inside of Huawei Account > Cloud | |
3. Log in into https://cloud.huawei.com | |
4. Go to https://cloud.huawei.com/home#/account/gdpr, and click on Download Notes | |
5. This will give you a zip file with a password. Extract the zip file into a folder. |