"J. B. Rainsberger" <[email protected]> wrote: > Hi, folks. I'm new here, so please go easy on me. > > AUR account registration is currently closed, so I can't submit my tool > myself. I'm looking for someone to create the package on my behalf. > > textifyopendocument solves a particular problem: previewing large > OpenDocument files in text-based file managers, such as ranger. It replaces > odt2txt,
I wonder if textifyopendocument can be compared to unoconvert from https://aur.archlinux.org/packages/python-unoserver ? One thing you might dislike about unoconvert is its output can be something like || abc def | colspan="2" | ghij klmnopqrstuvw when the odt file has a table. I don't know about the run time behavoiur of unoconvert. > whose design makes it really slow on even modestly-sized files. I > started from odt2txt's author's hand-wavy comment that his regex-based > solution wasn't great and likely performed horribly. It was fine, but it's > slow! I assumed that rebuilding it in Rust and switching to a single-pass > XML parsing strategy would help. It did. > > The spreadsheet that precipitated this whole experiment needed tens of > minutes for odt2txt to process it, but textifyopendocument handles it in > about 200 ms. > > I also thought it helpful to add a "stop after N characters" feature, since > that fits the common use case of previewing the file contents in a TUI. > > Everything needed to package it is ready to use, as far as my Novice eyes > can tell: > > - Upstream: https://codeberg.org/jbrains/textifyopendocument > - crates.io: https://crates.io/crates/textifyopendocument > - PKGBUILD and .SRCINFO for 0.1.1 (verified b2sum, GPL-2, x86_64 and > aarch64): > https://codeberg.org/jbrains/textifyopendocument/src/branch/main/packaging/aur > - The packaged source builds with cargo build --locked --release and > its full test suite passes with cargo test --locked --release. > > Would a Trusted User please create this package? I'll take over maintenance > myself as soon as AUR registration reopens — until then I'd be grateful to > whoever seeds it. > > And yes, I barely know what I'm doing, so if any of the foregoing is > strange or bad or wrong, just tell me gently and I'll learn. Or go away. > :shrug: > > Thanks, > -- > J. B. (Joe) Rainsberger :: minnedosabowl.ca :: experience.jbrains.ca > > Replies from this account routinely take a few days, which allows me to > reply thoughtfully. I reply more quickly to messages that clearly require > answers urgently. If you need something from me and are on a deadline, then > let me know how soon you need a reply so that I can better help you to get > what you need. Thank you for your consideration.
