Export the database of Memos to Markdown.
Export of attachments not supported yet.
-
Retrieve the database file
docker cp memos:/var/opt/memos/memos_prod.db ~/
-
Download Export.py
cd ~ curl -O https://raw.githubusercontent.com/lihoneymi/MemosToMarkdown/master/Export.py
With PowerShell in Windows:
curl -U "https://raw.githubusercontent.com/lihoneymi/MemosToMarkdown/master/Export.py" -O
-
Run Export.py
Confirmed that the
sqlite3
module is installed for Python, orpip install sqlite3
After that,
python Export.py
-
Now you get the
memos_export.md
at the same position.