Skip to content

Projects · FZPure suite

FZPureMD

Read and edit Markdown files from the browser. A single PHP file you copy into a folder: it shows every .md file inside it, ready to read, edit, move and print. Password protected.

Code on GitHub Download the latest release

  • Licence MIT
  • Documentation in English and Italian · interface in Italian
Screenshot of FZPureMD

The problem

Notes, procedures and documentation written in Markdown are handy while you sit at your own computer. Reading them from a phone, or letting a colleague look at them, usually means a CMS, a wiki or a cloud service: too much for a folder of text files.

The idea

FZPureMD turns the folder itself into a small private website. The files stay ordinary .md files: no database, no import, and you can keep editing them with your own editor. The browser shows the file tree, the formatted document and a visual editor; printing always gives a clean document, PDF included.

At a glance

  • One PHP file: no libraries, no database, nothing loaded from the internet.
  • Formatted reading, visual editor and plain text.
  • Two passwords: full access and read-only.
  • Clean printing, PDF included, and light or dark theme.
  • Runs on PHP 5.3 up to PHP 8.5, no extensions needed.

How to use it

// 1. Copy FZPureMD.php into the folder with your .md files
// 2. Change the two passwords at the top of the file:
define('MD_PASS_ADMIN', 'a-long-password');     // full access
define('MD_PASS_READ',  'another-password');    // read-only
// 3. Open https://your-site/folder/FZPureMD.php

Requirements: A web server with PHP 5.3 or later, no extensions. The folder must be writable to save. Use it over HTTPS.

Installation, configuration and the full reference are in the README on GitHub.

Support the project

FZPureMD is free and open source. If you find it useful, you can buy me a coffee: it is a simple way to support its development.

☕ Buy me a coffee

Same family

FZPure suite

FZPureHTML

HTML to PDF in pure PHP.

Write your document in HTML with the bundled stylesheet, call one function, get the PDF. Two files to copy to your server.

PHP · MIT · IT/EN

Details Try it Code on GitHub

FZPure suite

FZPureDOCX

DOCX and PDF documents from Word templates.

A small PHP server that fills Word templates, replacing placeholders with text, HTML, tables and checkboxes, and returns DOCX or PDF.

PHP · MIT · IT/EN

Details Code on GitHub

Follow the projects

New releases, development notes and what I learn along the way.

Follow on GitHub Newsletter (Italian)