Skip to main content

MiniWord

A minimal word processor in python. In development but already great.

Screenshot

Key Aspects

  • Real WYSIWYG editing (no HTML layer, no embedded browser)
  • Lightweight and fast startup
  • Clean, simple file format (human-readable, diff-friendly, git-friendly, AI-friendly)
  • Good Markdown support
  • Extensible via Python-plugins

Install from a pre-built package

Pre-built packages are published on the Releases page for each tagged version: installers for Windows (.exe) and macOS (.dmg) with all dependencies (including the optional extras) already bundled, and packages for Linux (.deb, .rpm) that take the dependencies from the distribution.

Linux

On Linux, installing from source is easy (see below): two system packages and pip install. Alternatively, .deb (Debian, Ubuntu) and .rpm (Fedora) packages are available on the Releases page. The package manager installs the dependencies from the distribution (mistune 3 or newer is needed, e.g. Ubuntu 24.04):

sudo apt install ./miniword_*_all.deb      # Debian, Ubuntu
sudo dnf install ./miniword-*.noarch.rpm   # Fedora

The package adds MiniWord to the menu, opens .txl files with it and offers it for .md and .txt files.

Windows

Download the .exe from the Releases page and run it. The installer registers .txl files and offers MiniWord for .md and .txt files ("Open with").

macOS

Download the .dmg from the Releases page, open it, and drag MiniWord.app into your Applications folder. MiniWord then opens .txl and .md files from the Finder and is offered for .txt files.

First launch: MiniWord isn't (yet) signed with a paid Apple Developer ID, so macOS blocks it the first time with "MiniWord can't be opened because Apple cannot check it for malicious software." To allow it, no Terminal needed:

  1. Double-click MiniWord in Applications once and dismiss the warning.
  2. Open System Settings → Privacy & Security, scroll down to the Security section.
  3. Click Open Anyway next to the MiniWord entry, then confirm with your password or Touch ID.
  4. Open MiniWord again and confirm Open in the dialog that appears.

This is a one-time step per installed version.

Install from source

Miniword is developed under Linux. In principle it should run under Windows and Mac as well.

You always need Python >= 3.9 and wxPython >= 4.0. Further required dependencies vary between platforms — see the per-platform instructions below.

Two optional packages add extra features and are installed together via the full extra (pip install ".[full]"): uharfbuzz adds ligatures and non-Latin script support, fonttools is needed for non-Latin scripts specifically on Windows. mistune, the Markdown parser, is always installed.

Running without installation

python miniword.py

Alternatively, double-click miniword.py in your file explorer.

Command line

miniword [-h] [--debug] [--install-desktop [--markdown]]
         [--uninstall-desktop] [--version] [file]

(without installation: python miniword.py [options] [file])

Option Meaning
file Document to open: .txl, or a format a plugin imports, e.g. Markdown (.md). Without it, MiniWord starts with a new document.
-h, --help Show the options and exit.
--version Show the version and exit.
--debug Print debug output of the page layout.
--install-desktop Linux: add MiniWord to the desktop menu and open .txl files with it (see below).
--markdown With --install-desktop: open .md files with MiniWord too.
--uninstall-desktop Linux: undo --install-desktop.

Linux

Install system dependencies:

sudo apt install python3-wxgtk4.0 fontconfig

Then install miniword (this also pulls in cairocffi):

cd miniword
pip install .

For ligature support and non-Latin scripts, install with the full extra instead:

pip install ".[full]"

To add MiniWord to the desktop menu and open .txl files with it (you probably will):

miniword --install-desktop

Add --markdown to open .md files with MiniWord too. This writes a menu entry, the .txl file type and the icon into ~/.local/share (no root rights needed) and makes MiniWord the default application; pip itself can't do this. miniword --uninstall-desktop removes them again.

Windows

cd miniword
pip install ".[full]"   # full installs uharfbuzz, fonttools: ligatures, non-Latin scripts

wxPython bundled libcairo-2.dll up through 4.2.1, so pip install . alone was enough for cairocffi to bind to it. wxPython >=4.2.2 dropped the bundled DLL (an upstream regression, reported at wxWidgets/Phoenix), so on those versions install a Cairo runtime yourself first, e.g. the GTK3 runtime for Windows.

(Advanced: alternatively, download just libcairo-2.dll from wxWidgets/Phoenix's packaging assets and drop it into your installed wx package folder, e.g. site-packages/wx/.)

If you skip this and see an error mentioning a missing libcairo-2.dll, install a Cairo runtime as described above (or downgrade to wxPython<4.2.2).

MiniWord stores its configuration and plugins in %APPDATA%\miniword\ (e.g. C:\Users\<you>\AppData\Roaming\miniword\).

Note that MiniWord is not yet optimised for Windows. While it mostly works, the GUI is less polished and startup takes a bit longer.

macOS

fontconfig must be installed via Homebrew:

brew install fontconfig

Then install miniword (this also pulls in cairocffi):

cd miniword
pip install ".[full]"   # full installs uharfbuzz: ligatures, non-Latin scripts

MiniWord stores its configuration and plugins in ~/Library/Application Support/miniword/.

Note that MiniWord is not yet optimised for macOS (tested on Apple Silicon; Intel Macs are untested). While it works, some GUI elements aren't as polished as on Linux.

Hacking

Run the full test suite:

python test_all.py

Run tests for a single module:

python runtests.py miniword/layout/pagegen.py

Run a specific test or demo:

python runtests.py miniword/ui/searchtool.py test_00
python runtests.py miniword/texteditor/textcanvas.py demo_00

Plugins

MiniWord is extensible via Python plugins. To install a plugin, copy the .py file into the plugins directory for your platform:

Platform Plugins directory
Linux ~/.config/miniword/plugins/
macOS ~/Library/Application Support/miniword/plugins/
Windows %APPDATA%\miniword\plugins\

Example plugins are provided in the examples/ directory:

File Description
wordcount.py Shows a live word count
txtfilter.py Filter for importing plain text files

To install all example plugins on Linux:

mkdir -p ~/.config/miniword/plugins
cp examples/*.py ~/.config/miniword/plugins

License

This project is licensed under the GNU Lesser General Public License v3.0 or later - see LICENSE (LGPL) and COPYING (GPL, which the LGPL builds on) for details. Contact me if you need something else.

The bundled hyphenation patterns (miniword/hyphenation/patterns/) come from the hyph-utf8 package and have their own permissive licences - see miniword/hyphenation/patterns/LICENSES.md.

Metadata

Release files for miniword 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for miniword 0.2.2
File Size Uploaded Provenance Actions
miniword-0.2.2.tar.gz 433.8 kB With provenance Details for miniword-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for miniword 0.2.2
File Interpreter ABI Platform Actions
miniword-0.2.2-py3-none-any.whl Python 3 none any Details for miniword-0.2.2-py3-none-any.whl

Total release size: 921.2 kB

Release files / miniword-0.2.2.tar.gz

Download URL miniword-0.2.2.tar.gz
Size 433.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7e5eccddecee0d7fe20d5613a7268e5ea1ca428e019113d8f7cccf781ccac203
BLAKE2b-256 checksum
How to use checksums
d142f2572249cce0667bcdf73c6071b6acdaeb79e1cbfd94a7a9b7ef75b8bbcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / miniword-0.2.2-py3-none-any.whl

Download URL miniword-0.2.2-py3-none-any.whl
Size 487.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d0edfafed6507fbb7693ad8f0f7841e7de453b657be1d097661c38de7d28c26
BLAKE2b-256 checksum
How to use checksums
adf856e01a0c7b091558effae3c2d2d5a2207316e42ce789fb60889b4b1350f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Security for miniword 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for miniword-0.2.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page