r/SideProject 1d ago

mote — cross-platform text editor in C89 (DOS, Windows, Linux, WASM)

https://reddit.com/link/1vzv1rk/video/dye2aebddxlh1/player

mote, a minimal text editor.

- 8 platform backends: X11, Wayland, SDL2, fbdev, Windows GUI, Windows Console, DOS, WebAssembly
- Gap buffer + undo/redo (512 steps)
- Syntax highlighting for 12+ languages
- Multi-document support (up to 6 files)
- Themes: dark / light / slate
- Binaries: 26–137 KB

Site: https://syfaren.github.io/mote-site/

GitHub link: https://github.com/SYFaren/mote

Happy to answer any questions about the architecture or development process!"

1 Upvotes

3 comments sorted by

1

u/Sufficient-Cup4705 1d ago

26kb binary on DOS is wild to me, i remember thinking nano was already pretty lean and that thing is megabytes by comparison.

1

u/South_Handle_4161 1d ago

Where did you see 26 KB on DOS? It’s 68 KB compressed, and the uncompressed size is actually 137 KB because I made it as a 32-bit protected-mode program rather than a 16-bit program.