Skip to content

thigoai/mnemo.md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📄 mnemo.md

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.

🛠 Technologies Used

  • Manager: uv (Fast Python package & project manager).

  • Backend: Python 3 with pywebview for 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.

⌨︎ Keyboard Shortcuts

  • 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.

⚙ Setup

Prerequisites

  1. Install the uv manager:
	curl -LsSf https://astral.sh/uv/install.sh | sh
  1. To use the PDF export feature, ensure wkhtmltopdf is installed on your system:
	sudo apt install wkhtmltopdf

Installation & Execution

  1. Clone the repository:
	git clone https://github.com/your-username/mnemo.git
	cd mnemo
  1. Sync the project: This will create a virtual environment and install all dependencies automatically.
	uv sync
  1. Download frontend assets:
	chmod +x scripts/download_front_libs.sh
	./scripts/download_front_libs.sh
  1. Launch the application:
	uv run mnemo

About

An Markdown editor project with PyWebView.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors