Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lihsimi/MemosToMarkdown
Export the database of Memos to Markdown.
https://github.com/lihsimi/MemosToMarkdown
Last synced: 16 days ago
JSON representation
Export the database of Memos to Markdown.
- Host: GitHub
- URL: https://github.com/lihsimi/MemosToMarkdown
- Owner: lihsimi
- Created: 2023-05-29T06:54:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-29T16:20:46.000Z (over 1 year ago)
- Last Synced: 2024-07-31T08:17:24.539Z (4 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Memos to Markdown
Export the database of Memos to Markdown.
> Export of attachments not supported yet.
1. Retrieve the database file
```
docker cp memos:/var/opt/memos/memos_prod.db ~/
```2. Download Export.py
```bash
cd ~
curl -O https://raw.githubusercontent.com/lihoneymi/MemosToMarkdown/master/Export.py
```
With PowerShell in Windows:
```PowerShell
curl -U "https://raw.githubusercontent.com/lihoneymi/MemosToMarkdown/master/Export.py" -O
```3. Run Export.py
Confirmed that the `sqlite3` module is installed for Python, or
```
pip install sqlite3
```After that,
```
python Export.py
```4. Now you get the `memos_export.md` at the same position.