Show HN: Doxx – Terminal .docx viewer inspired by Glow
What it does:
* View `.docx` files directly in your terminal with (mostly) proper formatting
* Tables actually look like tables (with Unicode borders!)
* Nested lists work correctly with indentation
* Full-text search with highlighting
* Copy content straight to clipboard with `c`
* Export to markdown/CSV/JSON
Why I made this:
Working on servers over SSH, I constantly hit Word docs I needed to check quickly. The existing solutions I'm aware of either strip all formatting (docx2txt) or require GUI apps. Wanted something that felt as polished as [glow](https://github.com/charmbracelet/glow) but for Word documents.
The good stuff:
* 50ms startup vs Word's 8+ seconds
* Works over SSH (obviously)
* Preserves document structure and formatting
* Smart table alignment based on data types
* Interactive outline view for long docs
Built with Rust + ratatui and heavily inspired by Charm's [glow](https://github.com/charmbracelet/glow) package for viewing Markdown in the CLI (built in Go)!
# Install
cargo install --git https://github.com/bgreenwell/doxx
# Use
doxx quarterly-report.docx
Still early but handles most Word docs I throw at it. Always wanted a proper Word viewer in my terminal toolkit alongside `bat`, `glow`, and friends. Let me know what you think!
The name causes miscues and carries negative connotations, though, on account of its homonym verb (doxxing).
If someone asks about it "It's a tool to view docx files", end of conversation
Scripting uses interest me too. Perhaps pandoc will still be a better option, but I'm also a sucker for TUIs and _Charm projects!
I did something like this with pandoc:
Keeps a lot or formatting. My favorite way to read a README file in the terminalIt's refreshing to see something that isn't another chatbot.
pandoc can do this
pandoc -t plain file.docx | grep "pattern"
Very unfortunate
If you read through that claude.md, it's a well-organized summary of the project, touching on design, architecture, enumerating the functionality implemented so far, future goals, and more. It makes for a pretty great onboarding document for collaborators, tbh.
Have jetpack, will fly.
Not so good of a name.
https://www.urbandictionary.com/define.php?term=doxx
>"Exposing" word documents in the CLI.
You're trying way too hard.
What about something like mdocx?