-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Keep Converter #22
Comments
Hi @Stonedestroyer, Thank you for your feedback! Currently the team is working on making several changes under-the-hood across our apps and back-end, but rest assured I've taken note of this for the list of things to fix afterwards. |
You'd just have to try with smaller amounts of notes. It depends on the size of your notes. If it crashes it means you're trying to load too much at once. Make sure each batch size is no greater than 10MB. |
The most I've managed is to convert 25 files at once, since I had a few hundred notes I decided to split them up in batches by using bash: #!/bin/bash
dir_size=25 # How many notes each batch has
dir_name="KeepNotes" # The name to give the subfolders
n=$((`find . -maxdepth 1 -type f -name '*.html' | wc -l`/$dir_size+1))
for i in `seq 1 $n`;
do
mkdir -p "$dir_name$i";
find . -maxdepth 1 -type f -name '*.html' | head -n $dir_size | xargs -i mv "{}" "$dir_name$i"
done I haven't looked at the code yet but this performance problem is probably very easy to solve, probably due to some inefficiency when reading the files or with some regex. I think the easiest way to have it run faster would be to simply use the Google Keep's Takeout json files instead of the html ones since that's very easy to parse. |
Is there a way to run google keep converter offline? I have around 900 notes and it crashes for me and page goes white always. Tried from different browser. Tried with 400 notes and doesn't seem to handle it either.
The text was updated successfully, but these errors were encountered: