A uniquely memory-efficient and modular text editor
Therefore, since brevity is the soul of wit
And tediousness the limbs and outward flourishes,
I will be brief.
– Hamlet, Act II, Scene II
Polonius can be used to edit files of any size (up to just over 8 million terabytes) on systems with as little as only a few kilobytes of available memory.
In order to achieve this, it never loads any more data into RAM than is currently being used. All that we have to keep in memory is the part of the file that's currently being displayed, plus a list of the changes the user wants to make.
Most text editors function by:
There's nothing wrong with this method -- but it does limit you to how much you can load into RAM at any one time. Try editing a 100GB file in a normal text editor!
Polonius is made up of separate binary modules:
See the wiki for full documentation. Manual pages are also available in the Debian packages.
Development is done on Debian GNU/Linux. Builds are also tested on OpenBSD. Releases will be provided for amd64, i386, and arm64 architectures.
polonius-reader:
polonius-editor:
CLI (polonius):
GUI (polonius-gui):