An elegant and functional Markdown editor built with Python and Web Technologies.
Mnemo is a desktop application that uses Python with a modern frontend, using PyWebView. It offers a fluid writing experience with real-time preview and direct export to PDF.
-
Manager: uv (Fast Python package & project manager).
-
Backend: Python 3 with
pywebviewfor the desktop interface. -
Frontend: HTML, CSS (Tailwind), and JavaScript.
-
JS Libraries:
-
CodeMirror(Text editor). -
Prism.js(Code highlighting in preview).
-
-
Utilities:
pdfkit(wkhtmltopdf) for generating PDF files.
-
Open File:
Ctrl+O. -
Save File:
Ctrl+S. -
Print PDF:
Ctrl+P. -
Split Screen:
Ctrl + ←— Enable/disable split view or move focus to the preview panel.Ctrl + →— Enable/disable split view or move focus to the editor panel.
- Install the
uvmanager:
curl -LsSf https://astral.sh/uv/install.sh | sh
- To use the PDF export feature, ensure
wkhtmltopdfis installed on your system:
sudo apt install wkhtmltopdf
- Clone the repository:
git clone https://github.com/your-username/mnemo.git
cd mnemo
- Sync the project: This will create a virtual environment and install all dependencies automatically.
uv sync
- Download frontend assets:
chmod +x scripts/download_front_libs.sh
./scripts/download_front_libs.sh
- Launch the application:
uv run mnemo
