• This site is a private, non-commercial website. As such, you're welcome here as long as you were invited. If you would like an invite, reach out to Cliff Spark

Show HN: Doxx – Terminal .docx viewer inspired by Glow

  • Thread starter Thread starter w108bmg
  • Start date Start date
W

w108bmg

I got tired of open file.docx → wait 8 seconds → close Word just to read a document, so I built a terminal-native Word viewer!
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](GitHub - charmbracelet/glow: Render markdown on the CLI, with pizzazz! 💅🏻) 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](GitHub - charmbracelet/glow: Render markdown on the CLI, with pizzazz! 💅🏻) package for viewing Markdown in the CLI (built in Go)!

Code:
    # 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!



Comments URL: Show HN: Doxx – Terminal .docx viewer inspired by Glow | Hacker News

Points: 171

# Comments: 44

Continue reading...
 
Back
Top