Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.