News for hackers. Stuff that matters.

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

https://github.com/bgreenwell/doxx

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](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!
( 72 comments | 2 points | on HN )
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by treetalker on Sunday August 17, 2025 @04:14PM (#44934549)
Great project! Looking forward to trying it out in my law practice.

The name causes miscues and carries negative connotations, though, on account of its homonym verb (doxxing).

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by Tmpod on Sunday August 17, 2025 @06:49PM (#44935635)
Was thinking the same. Might be worth looking into renaming the project, to prevent situations like that for both maintainers and users.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by ThreatSystems on Sunday August 17, 2025 @07:09PM (#44935737)
I am genuinely curious, as to how this would be a solution for a law practice? How many lawyers are SSH'd into servers? Or am I being ignorant?
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by Eldt on Sunday August 17, 2025 @08:00PM (#44936007)
It doesn't have to be used over SSH, some lawyers might be comfortable using the terminal for local work
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by btown on Sunday August 17, 2025 @08:45PM (#44936259)
As a non-lawyer who’s nonetheless been asked to help to review internal documents en masse - the idea of a fully scriptable <50ms switch time between documents is quite appealing. AI can help with initial screening, but there are many situations where humans are asked or required to do review at scale.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by treetalker on Sunday August 17, 2025 @08:47PM (#44936276)
I hate Word but sometimes have to deal with it when I would rather just have plain text. (Among other reasons, Word is notorious for making it difficult to select text to copy and paste, especially when dealing with legal citations and quotations.) Furthermore, the structure of documents is important to understanding them, especially in the law. So it seems like it would be useful to work with the text of the documents without locking horns with M$.

Scripting uses interest me too. Perhaps pandoc will still be a better option, but I'm also a sucker for TUIs and _Charm projects!

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by w108bmg on Sunday August 17, 2025 @08:54PM (#44936327)
I'm working to improve the copy/paste. Right now, you can copy everything, but not select snippets to copy/paste (ways around this, though). Hopefully have it working in the next week!
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by albertgoeswoof on Monday August 18, 2025 @03:07AM (#44938138)
This is what you’re looking for: https://tritium.legal/
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by treetalker on Monday August 18, 2025 @08:17PM (#44946861)
I saw this on HN before, but how is it for litigation?
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by nine_k on Sunday August 17, 2025 @07:59PM (#44936003)
The name could rather be docc, along the lines of thicc,
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by Imustaskforhelp on Monday August 18, 2025 @02:43AM (#44938024)
Yea I like this one, I feel like they should change the name but maybe that's just my opinion and the author is free to do what they want with the project's name.

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.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by w108bmg on Sunday August 17, 2025 @08:47PM (#44936274)
It's 100% intentional wordplay! "Doxxing" documents by exposing their contents in the terminal instead of keeping them locked in Microsoft Word. The whole project is about "liberation from Office" so the pun felt perfect. I'm honestly not too creative so I was bouncing around with Google Gemini on some "clever" names.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by rafram on Sunday August 17, 2025 @11:46PM (#44937211)
Some people may not want to have a tool called "doxx" installed on their work machines, FWIW.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by KomoD on Monday August 18, 2025 @01:17AM (#44937636)
This is such a non-issue, it's just a name.

If someone asks about it "It's a tool to view docx files", end of conversation

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by 8organicbits on Monday August 18, 2025 @01:32AM (#44937707)
We've got `git` (an insult), `kill` (violent), `slack` (not doing work) and `fsck` (looks like fuck). Doxx seems ok to me too.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by paavope on Monday August 18, 2025 @04:06AM (#44938395)
I've seen the `itsdangerous` [1] package (which is a dependency for lot of Python projects) raise some eyebrows several times.

[1] https://itsdangerous.palletsprojects.com/en/stable/

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by jahsome on Monday August 18, 2025 @01:42AM (#44937739)
I get the sense you've never worked under the oppresive thumb of dashboard-driven enterprise IT, heh
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by greazy on Sunday August 17, 2025 @07:11PM (#44935748)
Very cool project. I wish something like this for pdf files.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by ivanjermakov on Sunday August 17, 2025 @07:39PM (#44935896)
You can always use pandoc to convert pdf to md/plaintext and print it to console.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by zvr on Monday August 18, 2025 @03:49AM (#44938313)
Pandoc can convert to PDF, but not from PDF.

https://pandoc.org/faqs.html#how-can-i-convert-pdfs-to-other...

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by BrouteMinou on Sunday August 17, 2025 @09:07PM (#44936398)
It looks fantastic! That's going into my toolbox that's for sure.

It's refreshing to see something that isn't another chatbot.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by zipping1549 on Sunday August 17, 2025 @09:20PM (#44936475)
Great project. I love anything TUI.

Not so good of a name.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by agnishom on Sunday August 17, 2025 @09:21PM (#44936478)
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by w108bmg on Sunday August 17, 2025 @10:09PM (#44936710)
I honestly don't get the name hate? It's 100% intentional wordplay! "Exposing" word documents in the CLI.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by rafram on Sunday August 17, 2025 @11:51PM (#44937237)
If you keep having to explain why the name isn’t offensive/distasteful, it probably is (at least to a meaningful portion of the population).
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by jermberj on Monday August 18, 2025 @05:55PM (#44945738)
This should be the main reply to OP's every attempt as well.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by mionhe on Sunday August 17, 2025 @10:46PM (#44936897)
Doxing is more than exposure. It's exposing someone's real world identity online, often with the intent to harm them. It's the harming portion that I think most people are objecting to. While I doubt most of us have enough online notoriety for us to be targeted in this kind of attack, the idea is still very uncomfortable personally.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by 16bytes on Sunday August 17, 2025 @11:49PM (#44937231)
It's a very pejorative term that is used with malicious intent. You don't understand why folk find it off-putting?

What about something like mdocx?

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by leptons on Monday August 18, 2025 @01:58AM (#44937808)
Out of all the names this could have had, "doxx" is probably the absolute worst. "Wordplay" doesn't excuse bad taste. I'm not sure how many comments about it will convince you of that.

>"Exposing" word documents in the CLI.

You're trying way too hard.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by alpaca128 on Monday August 18, 2025 @05:34AM (#44938813)
> "Exposing" word documents in the CLI

Exposing contents is called a leak. Doxxing is exposure of a person's identity/address etc.

There is no wordplay here that actually fits what this tool does. This is just a very misleading name.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by mxuribe on Monday August 18, 2025 @10:05AM (#44940753)
Hi @w108bmg i get where you're coming from...And, if your intent is to use this wonderful tool that you built for you and some small circle of friends, etc..., then the naming is of course, your choice, and you can do what you want! But, you did post it on hacker news, and you did ask for feedback. If your intent is to have this cool app be used by more users, then you should consider the feedback that you're getting here. Should all this feedback represent every single possible user? No! Let's face it, hacker news has a lot of tech-savvy users...so there's many different types of potential users not accounted for here, and so it would be good for you to get feedback from other users that you want using your app...if you want that.

This software is your baby...but if you named your baby something that possibly repels others, you should feel comfortable with that feedback going forward. i don;t mean that in a bad way, simply a fact of how humans (good or bad) respond to things. This is all simply a series of signals. What you do with that is your business of course.

By the way, have you considered a more boring name for the app like *DocSee*? :-)

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by goku12 on Monday August 18, 2025 @12:43AM (#44937480)
True on both accounts. Doxxing is a traumatic experience for those who have been at its receiving end. A good project like this shouldn't be marred by a name like that.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by firesteelrain on Sunday August 17, 2025 @09:37PM (#44936563)
Can you use this to basically cat the output and then you can grep the docx?

pandoc can do this

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by w108bmg on Sunday August 17, 2025 @09:46PM (#44936607)
Maybe? I don't use Pandoc directly (fantastic program, but I only use it thorugh Quarto and Rmarkdown), but something like `doxx document.docx --export text | grep "search term"` should work just like `cat`+`grep`, but with better table structure and no intermediate conversion needed like pandoc.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by firesteelrain on Sunday August 17, 2025 @10:13PM (#44936737)
With pandoc you can do this I think

pandoc -t plain file.docx | grep "pattern"

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by koolba on Sunday August 17, 2025 @10:20PM (#44936770)
Even better you can have pandoc output markdown.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by firesteelrain on Monday August 18, 2025 @07:10AM (#44939354)
Which almost looks like what this terminal program is doing ?
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by acedTrex on Sunday August 17, 2025 @09:59PM (#44936672)
> claude.md in the repo

Very unfortunate

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by btbuildem on Sunday August 17, 2025 @11:04PM (#44936992)
And why is that? Because the logs were not hand-hewn? Source code was not crafted by the honest, simple, hard-working indigenous peoples of... wherever?

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.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by mikepurvis on Sunday August 17, 2025 @11:33PM (#44937135)
I noticed this too recently, that the copilot instructions I had written up were just as suitable for importing a human.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by w108bmg on Saturday August 23, 2025 @11:04PM (#45000965)
What an ignorant comment! I've been developing (statistical) software for 10+ years! This project would've taken me 6+ months at least, but I've been able to take the idea + some scratch code to production in a weekend.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by pylotlight on Sunday August 17, 2025 @10:41PM (#44936873)
Install from source with git surely cannot be your only deployment plan here?
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by w108bmg on Sunday August 24, 2025 @09:49PM (#45009465)
Just added a more comprehensive release with a lot more install options!
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by ashton314 on Monday August 18, 2025 @12:28AM (#44937419)
Very cool!

I did something like this with pandoc:

    pandoc -s -t man "$1" | groff -T utf8 -man | ${PAGER:-less}
Keeps a lot or formatting. My favorite way to read a README file in the terminal
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by 3eb7988a1663 on Monday August 18, 2025 @02:12AM (#44937870)
Can this interact with Track Changes at all? Reviews+Comments? Probably a rat's nest of complexity, but that is something which might interest me every once and a while.

The other thing which was not obvious - can you extract document metadata and/or hidden text elements?

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by porridgeraisin on Monday August 18, 2025 @02:14AM (#44937879)
Is there no image support? You can use the kitty image protocol or sixel to display them inline no?
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by majkinetor on Monday August 18, 2025 @02:36AM (#44937984)
This looks great, I hope we will have releases for Windows soon. It really does going to my nerves to install MS Office on new machine, and recently I stopped doing that and use Office 365 free version to view and edit docs instead, which is way worst regarding efficiency and privacy, but at least I don't have it on my machine. Its a shame there is no stripped down version of Word that lets me just view docx files and do most basic editing and commenting, that can be installed with winget in seconds. I use markdown for everything, but in enterprise environment when I send markdown to people they convert it to Word and return it back...

BTW, 8 seconds to start Word? What kind of computer are you using? Word is not performance beast but its not that slow either.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by jbgt on Monday August 18, 2025 @04:59AM (#44938652)
LibreOffice is a food alternative if you just want simple Word management.

Of course it's a big install on the other hand.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by majkinetor on Monday August 18, 2025 @07:01AM (#44939316)
I like the typo :)

I tried it, but some documents are not shown correctly as far as I remember.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by mxuribe on Monday August 18, 2025 @09:56AM (#44940641)
Both MS Word and Libreoffice leave me feeling bloated...so am thankful for a lighter weight offering like doxx...to help with my computing "diet"...Wait, are we still talking about food or apps? :-)
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by politelemon on Monday August 18, 2025 @02:58AM (#44938096)
It would be very nice if this were in a Docker image, so we don't need a go install.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by Hilift on Monday August 18, 2025 @03:00AM (#44938104)
> Working on servers over SSH, I constantly hit Word docs

What?

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by zvr on Monday August 18, 2025 @03:57AM (#44938352)
Wonderful project; loved the speed and responsiveness.

But a humble request: please make sure that the planned "AI integration" is completely optional, not compiled-in, or, even better, a sister project ("aidoxx"?).

Having the functionality of sending the contents of a Word document to any external service will be a red flag and block adoption of this tool in many environments.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by stavros on Monday August 18, 2025 @05:57AM (#44938937)
I'm usually not averse to AI in things, but I agree with you, any online functionality in a cli tool would make our security team ban a tool, and with good reason.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by freedomben on Monday August 18, 2025 @08:45AM (#44939963)
The name of the took would certainly be ironic if they add this...
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by nirava on Monday August 18, 2025 @04:26PM (#44944917)
+1 to this. The AI stuff should be a different tool that I can pipe stuff into:

`doxx document.docs | doxxAI`

Even without any of the bad vibes around AI, it is just much more aesthetic and wonderful if the core doxx util was a single purpose command.

Also, it is open source so if it's sufficiently useful, someone will spin off a AI stripped down version anyways, and that'll probably gain more users/goodwill in the kind of CLI SSH dev niche market this tool is trying to fit in.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by angrydingo on Monday August 18, 2025 @04:02AM (#44938380)
very cool, just discovered glow so I would like to build something similar too :)
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by g0ran on Monday August 18, 2025 @04:11AM (#44938422)
What an unfortunate name.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by piker on Monday August 18, 2025 @04:32AM (#44938516)
Hey this looks really awesome. Super helpful for those of us who are building in the document space for debugging if nothing else. Here are a couple of other projects for you to develop with / on if you aren't already using them:

- https://github.com/mikeebowen/OOXML-Validator (if you plan on making edits, you'll want to ensure they're renderable by other Word users)

- https://marketplace.visualstudio.com/items?itemName=yuenm18.... (incredible VS code extension for debugging OOXML files)

One thing that will surprise a lot of users is how common old-style Word (.doc) files are still. For that you might consider integrating Antiword (https://github.com/grobian/antiword) if you can get comfortable with the licensing.

Be aware that styles play an important role in numbering that doesn't seem to be picked up here. So you'll want to apply the styles before calculating the numbering levels.

Over all really cool. Hit me up if you ever want to swap notes on Docx and Rust. My email is in my profile.

Keep it up!

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by xvilka on Monday August 18, 2025 @09:39AM (#44940486)
Instead of Antiword, maybe using LibreOffice parsers directly would solve the problem for parsing all kinds of the documents.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by _def on Monday August 18, 2025 @04:41AM (#44938557)
Far tangent: does anyone else feel pressured when viewing a document in google docs and it's visible that a coworker is (or could) also viewing it, and seeing your cursor etc?
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by sjsdaiuasgdia on Monday August 18, 2025 @08:46AM (#44939975)
My favorite version of this is when someone is introduced to the idea that others can see when they select a range of text by seeing their selection show up on the view of the doc being presented to the video conf.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by bishwos on Monday August 18, 2025 @05:59AM (#44938944)
Interesting project. How much time did it take to build the project?
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by i_am_proteus on Monday August 18, 2025 @08:18AM (#44939765)
I have noticed many nice projects built on Rust + ratatui - many thanks to the creators and mantainers.
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by joshka on Monday August 18, 2025 @04:33PM (#44944985)
It's always nice to hear public thanks. :)
Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by leephillips on Monday August 18, 2025 @09:31AM (#44940398)
Thanks for making this! It seems to work great, and will be convenient to have around.

My one feature request would be to remove, or provide a version without, the “AI” stuff.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by xvilka on Monday August 18, 2025 @09:38AM (#44940455)
It would have been nice if it also parsed old DOC (and RTF) formats, maybe ODT[1] as well.

[1] https://github.com/anvie/dotext

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by shazbotter on Monday August 18, 2025 @09:43AM (#44940521)
Installing something named "doxx" and executing it sounds like a top ten bad idea for computer users.

Needs a new name, or a certain percentage of the audience will nope out before you even get to explain what it does.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by aeve890 on Monday August 18, 2025 @10:49AM (#44941248)
I dream for the day when I can get to do anything I want without leaving the terminal. Thank you for your service.

The criticism of the project name is on point though. Horrible for searching and probably a no-no in job machine.

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by adultSwim on Monday August 18, 2025 @11:42PM (#44948058)
Thanks for making this tool. Plenty of us have similar use case to your own.

Is .docx edit support a possibility in the future?

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by snthpy on Tuesday August 19, 2025 @05:27AM (#44949781)
Wonderful! Thank you. Looking forward to trying this out.

Now can you do Excel next? I'm aware of [calamine](https://github.com/tafia/calamine) but that doesn't render as beautifully as doxx. Presumably a lot of the MS XML schema ontology is shared? Ideally you could just use some of their readers and add your UI flare.

Also really nice list of tools in your previous submissions. Awesome work!

Re:Show HN: Doxx – Terminal .docx viewer inspired by Glow by w108bmg on Friday August 22, 2025 @10:32AM (#44985168)
Thanks for all the support and good feedback! First release is out!

https://github.com/bgreenwell/doxx/releases/tag/v0.1.1