A minimal word processor in Python
Project description
MiniWord
A minimal word processor in python. In development but already great.
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
Download
Pre-built installers for Windows (.exe) and macOS (.dmg) are published on the Releases page for each tagged version. On Linux, install from source via pip (see below) — no separate installer is provided there.
Dependencies
Miniword is developed under Linux. In principle it should run under Windows and Mac as well.
Dependencies vary between platforms and prefered features. You always need Python >= 3.9 and wxPython >= 4.0.
| Dependency | Linux | Windows | macOS | Notes |
|---|---|---|---|---|
| cairocffi | required | required | required | pulled in automatically by pip install . |
| fontconfig | required | — | required | system CLI-tool |
| uharfbuzz | optional | optional | optional | needed for ligatures and non-Latin scripts |
| fonttools | — | optional | — | needed for non-Latin scripts on Windows |
| mistune | optional | optional | optional | richer Markdown import; falls back to a built-in parser |
Running without installation
python miniword.py
Alternatively, double-click miniword.py in your file explorer.
Install (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, non-Latin scripts, and richer Markdown import, install with the full extra instead:
pip install ".[full]"
If you want to register MiniWord to the desktop (you probably will):
cp miniword/icons/miniword.svg ~/.local/share/icons/
cp miniword.desktop ~/.local/share/applications/
Install (Windows)
Prefer a ready-made installer? Download the .exe from the Releases page instead of building from source.
No separate Cairo installation is needed — wxPython already bundles libcairo-2.dll, and pip install . pulls in cairocffi to bind to it.
cd miniword
pip install ".[full]" # full installs uharfbuzz, fonttools, mistune: ligatures, non-Latin scripts, richer Markdown import
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.
Install (macOS)
Prefer a ready-made installer? Download the .dmg from the Releases page instead of building from source.
On 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, mistune: ligatures, non-Latin scripts, richer Markdown import
MiniWord stores its configuration and plugins in ~/Library/Application Support/miniword/.
Note that MiniWord has not been tested on macOS.
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 General Public License v3.0 - see LICENSE for details. Contact me if you need something else.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file miniword-0.1.2.tar.gz.
File metadata
- Download URL: miniword-0.1.2.tar.gz
- Upload date:
- Size: 203.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cab9aeb5b91315b6397938636e2c13106e63ce2ff36ce3a80f063cb6e1a3b10
|
|
| MD5 |
586de1719f80172589051bb71e8b1357
|
|
| BLAKE2b-256 |
24109458b44fdaddc4bac338c4d3fb82169f554e42661ff06224704519743c43
|
Provenance
The following attestation bundles were made for miniword-0.1.2.tar.gz:
Publisher:
release.yml on chrisecker/miniword
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
miniword-0.1.2.tar.gz -
Subject digest:
0cab9aeb5b91315b6397938636e2c13106e63ce2ff36ce3a80f063cb6e1a3b10 - Sigstore transparency entry: 1863512882
- Sigstore integration time:
-
Permalink:
chrisecker/miniword@6fe0aa10d53493461a7e157d1d5fd01570664cc8 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/chrisecker
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6fe0aa10d53493461a7e157d1d5fd01570664cc8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file miniword-0.1.2-py3-none-any.whl.
File metadata
- Download URL: miniword-0.1.2-py3-none-any.whl
- Upload date:
- Size: 248.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91cb0d0f7ed6cd0237d0c914e2a5655d8b0b5b205df5e8906b44c0beaf630bfd
|
|
| MD5 |
9b7b10ec68555c38c07dab06054588a8
|
|
| BLAKE2b-256 |
4093f7079abfae2a1002cf723236a6a4ef6f8553ef5668c161a5117f2c734b85
|
Provenance
The following attestation bundles were made for miniword-0.1.2-py3-none-any.whl:
Publisher:
release.yml on chrisecker/miniword
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
miniword-0.1.2-py3-none-any.whl -
Subject digest:
91cb0d0f7ed6cd0237d0c914e2a5655d8b0b5b205df5e8906b44c0beaf630bfd - Sigstore transparency entry: 1863513011
- Sigstore integration time:
-
Permalink:
chrisecker/miniword@6fe0aa10d53493461a7e157d1d5fd01570664cc8 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/chrisecker
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6fe0aa10d53493461a7e157d1d5fd01570664cc8 -
Trigger Event:
push
-
Statement type: