A structure-aware TOML editor: a desktop application that shows a document as a tree, edits values by type, and keeps comments, key order and formatting when it saves. Rust, egui.
The editor widget is shared with Slipcase Desktop, which draws it inside its own window. DESIGN.md says what the application commits to.
On Debian and Ubuntu, from the Excelano apt repository:
curl -fsSL https://excelano.com/apt/setup.sh | sudo sh && sudo apt install flyleaf
With cargo:
cargo install flyleaf
https://excelano.com/flyleaf/ is the product page for every platform, and https://excelano.com/flyleaf/try/ runs the editor in a browser.
cargo run -- path/to/file.toml
opens a file and shows it as a tree beside what a save would write. Ctrl+O, Ctrl+S and Ctrl+Shift+S open, save and save as; Ctrl+Z and Ctrl+Shift+Z undo and redo. A save keeps every comment, the key order, the whitespace and the quoting of everything that was not edited.
The same application runs in a browser: trunk build --release writes dist/ from flyleaf/index.html, and trunk serve serves it. A file arrives from the browser's picker and a save is a download.
A Debian package is built by packaging/debian/build-deb.sh after cargo build --release.
On Linux, packaging/linux/install.sh installs the desktop entry and icon under ~/.local so a file manager offers Tommy Flyleaf for .toml files; --default makes it the default.
Warning
Do NOT submit Tommy Flyleaf, or a copy of it under another name, to the Mac App Store. Apple's App Review Guideline 4.3 treats copies of other apps as spam, and a 4.3 finding can flag the developer account that submitted it, so that every app the account sends afterwards is flagged too. Build it for your own Mac and keep it there.
MIT. See LICENSE.