| fonts/ubuntu | ||
| static | ||
| .gitignore | ||
| app.py | ||
| COPYING | ||
| README.md | ||
| requirements.txt | ||
CatNote
CatNote is a minimalist web application that lets you generate Markdown-based receipts or notes, render them as PNGs, and send them directly to an MXW01 Cat Thermal Printer. Ideal for making quick, beautiful, and portable printed notes using Markdown, with optional image upload.
Note: The default UI is currently only available in Spanish, as this project began for my own use. Support for both English and Spanish is planned for a future release.
Features
- Enter Markdown and preview output.
- Supports bold, italic, headings, lists, images (by URL or upload), and dividers.
- Upload a PNG/JPG image and embed it in your printout.
- One-click print: output to Cat Printer or download the PNG.
- Clean, mobile-friendly UI.
Requirements
- Python 3.8+
- Flask
- Pillow (PIL)
blehv1.0.0 or later (see below)
Installation
-
Clone this repository
git clone <your-catnote-repo-url> cd catnote -
Install Python dependencies (instructions for a venv)
pip install -r requirements.txt -
Obtain the
blehbinaryThis app does not include the
blehprinter driver binary for licensing reasons. You must build or download it yourself from git.netpaws.cc/igna/bleh.It's easiest to just get the latest release via wget:
wget -O ./bleh https://git.netpaws.cc/igna/bleh/releases/download/latest/blehPlace the built
blehbinary in the app root directory (next toapp.py). -
Run CatNote
python app.py [--port 1234]By default, it listens on port 5000. Access it via
http://localhost:5000/.Warning: This application listens on your local network, don't expose its port to the Internet!
Usage
- Paste or write your Markdown in the main text box.
- (Optional) Upload an image to embed it.
- Click Generar for a preview, or Imprimir to send to your Cat Printer.
License
This project is licensed under the terms of the GNU General Public License v3.0 or later. See COPYING for details.
The Ubuntu Font is licensed under the Ubuntu Font Licence 1.0. See UFL.txt for details.
Disclaimer: While a license was only added after the project’s initial commits, the current license applies retroactively to all previous commits of this repository.