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!
treetalker•5mo ago
The name causes miscues and carries negative connotations, though, on account of its homonym verb (doxxing).
Tmpod•5mo ago
ThreatSystems•5mo ago
Eldt•5mo ago
btown•5mo ago
treetalker•5mo ago
Scripting uses interest me too. Perhaps pandoc will still be a better option, but I'm also a sucker for TUIs and _Charm projects!
w108bmg•5mo ago
albertgoeswoof•5mo ago
treetalker•5mo ago
nine_k•5mo ago
Imustaskforhelp•5mo ago
But still doxx feels like it would just get some unwarranted attention when its unnecessary and docc seems a nice enough name too.
I mean, the project seems fantastic but still the project seems quite new and I don't think that it would suffer anything from a name change.
w108bmg•5mo ago
rafram•5mo ago
KomoD•5mo ago
If someone asks about it "It's a tool to view docx files", end of conversation
8organicbits•5mo ago
paavope•5mo ago
[1] https://itsdangerous.palletsprojects.com/en/stable/
jahsome•5mo ago