[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-73658":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},73658,"doxx","bgreenwell\u002Fdoxx","bgreenwell","Expose the contents of .docx files without leaving your terminal. Fast, safe, and smart — no Office required!","https:\u002F\u002Fbgreenwell.github.io\u002Fdoxx\u002F",null,"Rust",3693,90,9,3,0,5,11,25,15,27.88,"MIT License",false,"main",true,[27,28,29,30,31,32,33],"cli","docx","msword","render","rust","terminal","tui","2026-06-12 02:03:16","# doxx 📄 \u003Ca href=\"https:\u002F\u002Fterminaltrove.com\u002F\">\u003Cimg src=\"https:\u002F\u002Fcdn.terminaltrove.com\u002Fmedia\u002Fbadges\u002Ftool_of_the_week\u002Fsvg\u002Fterminal_trove_tool_of_the_week_green_on_dark_grey_bg.svg\" align=\"right\" height=\"40\" \u002F>\u003C\u002Fa>\n\n> `.docx` files in your terminal — no Microsoft Word required\n\n[![CI](https:\u002F\u002Fgithub.com\u002Fbgreenwell\u002Fdoxx\u002Fworkflows\u002FCI\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fbgreenwell\u002Fdoxx\u002Factions\u002Fworkflows\u002Fci.yml)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-yellow.svg)](https:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT)\n[![Rust](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Frust-%23000000.svg?style=flat&logo=rust&logoColor=white)](https:\u002F\u002Fwww.rust-lang.org\u002F)\n\nA fast, terminal-native document viewer for Word files. View, search, and export `.docx` documents without leaving your command line.\n\n## Screenshots\n\n\u003Cdiv align=\"center\">\n  \u003Ctable>\n    \u003Ctr>\n      \u003Ctd align=\"center\">\n        \u003Cimg src=\"assets\u002Fscreenshot1-images.png\" alt=\"Terminal image display\" width=\"400\">\n        \u003Cbr>\u003Cem>Terminal image display\u003C\u002Fem>\n      \u003C\u002Ftd>\n      \u003Ctd align=\"center\">\n        \u003Cimg src=\"assets\u002Fscreenshot2-colors.png\" alt=\"Color support\" width=\"400\">\n        \u003Cbr>\u003Cem>Color support\u003C\u002Fem>\n      \u003C\u002Ftd>\n    \u003C\u002Ftr>\n    \u003Ctr>\n      \u003Ctd align=\"center\">\n        \u003Cimg src=\"assets\u002Fscreenshot3-tables.png\" alt=\"Smart tables\" width=\"400\">\n        \u003Cbr>\u003Cem>Smart tables with alignment\u003C\u002Fem>\n      \u003C\u002Ftd>\n      \u003Ctd align=\"center\">\n        \u003Cimg src=\"assets\u002Fscreenshot4-lists.png\" alt=\"Lists and formatting\" width=\"400\">\n        \u003Cbr>\u003Cem>Lists and formatting\u003C\u002Fem>\n      \u003C\u002Ftd>\n    \u003C\u002Ftr>\n    \u003Ctr>\n      \u003Ctd align=\"center\" colspan=\"2\">\n        \u003Cimg src=\"assets\u002Fscreenshot5-equations.png\" alt=\"Equation support\" width=\"400\">\n        \u003Cbr>\u003Cem>Inline and display equations\u003C\u002Fem>\n      \u003C\u002Ftd>\n    \u003C\u002Ftr>\n  \u003C\u002Ftable>\n\u003C\u002Fdiv>\n\n## 🎬 Demo\n\n\u003Cdiv align=\"center\">\n  \u003Cimg src=\"assets\u002Fdemo.gif\" alt=\"doxx mixed formatting demo\" width=\"600\">\n  \u003Cbr>\u003Cem>Mixed formatting with colors, bold, italic, underline, strikethrough and interactive navigation\u003C\u002Fem>\n\u003C\u002Fdiv>\n\n## ✨ Features\n\n- **Beautiful terminal rendering** with formatting, tables, and lists\n- **Equation support** — LaTeX rendering for inline and display equations 📐\n- **Fast search** with highlighting 🔍\n- **Smart tables** with proper alignment and Unicode borders\n- **Copy to clipboard** — grab content directly from the terminal\n- **Export formats** — Markdown, CSV, JSON, plain text, ANSI-colored output\n- **Terminal images** for Kitty, iTerm2, WezTerm 🖼️\n- **Color support** — see Word document colors in your terminal\n\n## 🚀 Installation\n\n### Package managers\n\n#### Homebrew (macOS\u002FLinux)\n\n```bash\nbrew install doxx\n```\n\n#### Cargo (cross-platform)\n```bash\ncargo install doxx\n```\n\n#### Debian\u002FUbuntu\n\n`doxx` is officially packaged for Debian as\n[`rust-doxx`](https:\u002F\u002Ftracker.debian.org\u002Fpkg\u002Frust-doxx) and is available in testing\n(forky).\n\n```bash\nsudo apt install doxx\n```\n\n#### Arch Linux\n\n```bash\npacman -S doxx\n```\n\nThe AUR package is also available for the development version:\n\n```bash\nyay -S doxx-git\n```\n*Thanks to [@mhegreberg](https:\u002F\u002Fgithub.com\u002Fmhegreberg) for creating and maintaining the AUR package!*\n\n#### Nix (cross-platform)\n```bash\nnix profile install github:bgreenwell\u002Fdoxx\n```\n*Thanks to [@bobberb](https:\u002F\u002Fgithub.com\u002Fbobberb) for creating the Nix flake!*\n\n#### Conda-Forge (cross-platform)\n```bash\nconda install doxx\n```\nor globally using [Pixi](pixi.sh):\n```bash\npixi global install doxx\n```\n\n#### Scoop (Windows)\n```bash\n# Coming soon\nscoop bucket add doxx https:\u002F\u002Fgithub.com\u002Fbgreenwell\u002Fdoxx-scoop\nscoop install doxx\n```\n\n### Pre-built binaries\n\nDownload from [GitHub releases](https:\u002F\u002Fgithub.com\u002Fbgreenwell\u002Fdoxx\u002Freleases):\n\n```bash\n# macOS\u002FLinux - automatic platform detection\ncurl -L https:\u002F\u002Fgithub.com\u002Fbgreenwell\u002Fdoxx\u002Freleases\u002Flatest\u002Fdownload\u002Fdoxx-$(uname -s)-$(uname -m).tar.gz | tar xz\nsudo mv doxx \u002Fusr\u002Flocal\u002Fbin\u002F\n\n# Verify installation\ndoxx --version\n```\n\n**Available platforms:**\n- **Linux**: `x86_64-unknown-linux-musl` (statically linked)\n- **macOS**: `x86_64-apple-darwin` (Intel) and `aarch64-apple-darwin` (Apple Silicon)\n- **Windows**: `x86_64-pc-windows-msvc`\n\n### Build from source\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fbgreenwell\u002Fdoxx.git\ncd doxx\ncargo install --path .\n\n# Or for development\ncargo build --release\n```\n\n**Requirements:**\n- Rust 1.70+ \n- System dependencies: `libxcb` (Linux only)\n\n## 🎯 Usage\n\n```bash\n# View a document\ndoxx report.docx\n\n# Search for content\ndoxx contract.docx --search \"payment\"\n\n# Start with outline view\ndoxx document.docx --outline\n\n# Export to different formats\ndoxx data.docx --export csv > data.csv\ndoxx report.docx --export markdown > report.md\n\n# View with images (supported terminals)\ndoxx presentation.docx --images --export text\n\n# Enable color rendering\ndoxx slides.docx --color\n```\n\n## 📋 Command Line Options\n\n### Basic options\n```bash\ndoxx [OPTIONS] \u003CFILE>\n```\n\n| Option | Description |\n|--------|-------------|\n| `\u003CFILE>` | Input document file (.docx) |\n| `-h, --help` | Show help information |\n| `-V, --version` | Show version information |\n\n### Viewing options\n| Option | Description |\n|--------|-------------|\n| `-o, --outline` | Start with outline view for quick navigation |\n| `-p, --page \u003CPAGE>` | Jump to specific page number on startup |\n| `-s, --search \u003CTERM>` | Search and highlight term immediately |\n| `--force-ui` | Force interactive UI mode (bypass TTY detection) |\n| `--color` | Enable color support for text rendering |\n\n### Export options\n| Option | Values | Description |\n|--------|--------|-------------|\n| `--export \u003CFORMAT>` | `markdown`, `text`, `csv`, `json`, `ansi` | Export document instead of viewing |\n\n**Export examples:**\n```bash\ndoxx report.docx --export markdown  # Convert to Markdown\ndoxx data.docx --export csv         # Extract tables as CSV (tables only!)\ndoxx document.docx --export text    # Plain text output\ndoxx structure.docx --export json   # Document metadata as JSON\ndoxx document.docx --export ansi    # ANSI-colored terminal output\n```\n\n**📊 CSV export note:**\nThe CSV export extracts **only tables** from the document, ignoring all text content. Perfect for pulling structured data from business reports, research papers, or surveys for analysis in Excel, Python, or databases.\n\n### ANSI export options\n| Option | Values | Description |\n|--------|--------|-------------|\n| `-w, --terminal-width \u003CCOLS>` | Number | Set terminal width for formatting (default: $COLUMNS or 80) |\n| `--color-depth \u003CDEPTH>` | `auto`, `1`, `4`, `8`, `24` | Control color rendering depth |\n\n**ANSI export examples:**\n```bash\ndoxx document.docx --export ansi                     # Full color ANSI output\ndoxx document.docx --export ansi --color-depth 1     # Monochrome (no colors)\ndoxx document.docx --export ansi --color-depth 4     # 16 colors\ndoxx document.docx --export ansi --terminal-width 80 # Set terminal width\ndoxx report.docx --export ansi | less -R             # Pipe to less with color support\n```\n\n**🌈 Color depth options:**\n- `auto` - Auto-detect terminal capabilities\n- `1` - Monochrome (no colors, formatting only)\n- `4` - 16 colors (standard ANSI colors)\n- `8` - 256 colors (extended ANSI palette)\n- `24` - True color (16.7 million colors)\n\n### Image options\n| Option | Description |\n|--------|-------------|\n| `--images` | Display images inline in terminal (auto-detect capabilities) |\n| `--extract-images \u003CDIR>` | Extract images to specified directory |\n| `--image-width \u003CCOLS>` | Maximum image width in terminal columns (default: auto-detect) |\n| `--image-height \u003CROWS>` | Maximum image height in terminal rows (default: auto-detect) |\n| `--image-scale \u003CSCALE>` | Image scaling factor (0.1 to 2.0, default: 1.0) |\n\n**Image examples:**\n```bash\ndoxx presentation.docx --images                    # Show images inline\ndoxx document.docx --images --image-width 80       # Limit image width\ndoxx slides.docx --extract-images .\u002Fimages\u002F        # Save images to folder\n```\n\n**⚠️ Image display notes:**\n- `--images` currently works with `--export text` mode and shows placeholders in TUI\n- Supports iTerm2, Kitty, and WezTerm terminals\n\n\n## ⌨️ Navigation\n\n| Key | Action |\n|-----|--------|\n| `↑`\u002F`k` | Scroll up |\n| `↓`\u002F`j` | Scroll down |\n| `o` | Toggle outline |\n| `s` | Search |\n| `c` | Copy to clipboard |\n| `h` | Help |\n| `q` | Quit |\n\n## 🔧 Why doxx?\n\nCurrent terminal tools for Word documents:\n- **docx2txt** → Loses all formatting, mangled tables\n- **pandoc** → Complex chain, formatting lost\n- **antiword** → Only handles old `.doc` files\n\n**doxx** gives you:\n- ✅ Rich formatting preserved (bold, italic, headers)\n- ✅ Professional table rendering with alignment\n- ✅ Equation support (inline and display LaTeX)\n- ✅ Interactive navigation and search\n- ✅ Multiple export formats for workflows\n- ✅ Terminal image display for modern terminals\n- ✅ Fast startup (50ms vs Word's 8+ seconds)\n\nPerfect for developers, sysadmins, and anyone who prefers the terminal.\n\n## 📊 Examples\n\n### Quick document analysis\n```bash\n# Get overview and search\ndoxx quarterly-report.docx\ndoxx --search \"revenue\"\n\n# Extract tables for analysis\ndoxx financial-data.docx --export csv | python analyze.py\n```\n\n### Copy workflows\n```bash\n# Review and copy sections\ndoxx meeting-notes.docx\n# Press 'c' to copy current view to clipboard\n\n# Copy search results\ndoxx specs.docx --search \"requirements\"\n# Press F2 to copy results with context\n```\n\n### Pipeline integration\n```bash\n# Extract text for processing\ndoxx notes.docx --export text | grep \"action items\"\n\n# Get document structure\ndoxx report.docx --export json | jq '.metadata'\n```\n\n## 🏗️ Architecture\n\nBuilt with Rust for performance:\n- **[docx-rs](https:\u002F\u002Fcrates.io\u002Fcrates\u002Fdocx-rs)** — Document parsing\n- **[ratatui](https:\u002F\u002Fcrates.io\u002Fcrates\u002Fratatui)** — Terminal UI\n- **[viuer](https:\u002F\u002Fcrates.io\u002Fcrates\u002Fviuer)** — Image rendering\n- **[unicode-segmentation](https:\u002F\u002Fcrates.io\u002Fcrates\u002Funicode-segmentation)** — Proper Unicode handling\n\n## 🛠️ Development\n\n```bash\n# Build and test\ncargo build --release\ncargo test\n\n# Run with sample document\ncargo run -- tests\u002Ffixtures\u002Fminimal.docx\n```\n\n## Known limitations\n\n**Equation positioning:** Display equations may not appear at exact positions due to limitations in the underlying docx-rs parsing library. We've filed an [upstream issue](https:\u002F\u002Fgithub.com\u002Fbokuweb\u002Fdocx-rs\u002Fissues) and are planning a complete fix for v0.2.0 using direct XML parsing.\n\n## Roadmap\n\n- Perfect equation positioning (v0.2.0)\n- Image support in TUI via ratatui-image crate\n- Enhanced table support (merged cells, complex layouts)\n- Performance improvements for large documents\n- Hyperlink navigation\n- Custom themes\n\n## 💡 Inspiration\n\nThis project was inspired by [Charm](https:\u002F\u002Fgithub.com\u002Fcharmbracelet)'s [Glow](https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fglow) package — the beautiful terminal Markdown renderer that shows how terminal document viewing can be both powerful and elegant. Just as Glow brings rich Markdown rendering to your command line, doxx aims to do the same for Microsoft Word documents.\n\nThanks to the Charm team for the inspiration! ✨\n\n## 📝 License\n\nMIT License — see [LICENSE](LICENSE) file for details.\n\n---\n\n**Made for developers who live in the terminal** 🚀\n","doxx 是一个在终端中查看 .docx 文件内容的工具，无需安装 Microsoft Word。它利用 Rust 语言开发，具有快速、安全和智能的特点。核心功能包括支持文档格式化显示（如表格、列表）、LaTeX 方程渲染、快速搜索及高亮、智能对齐的表格、复制到剪贴板以及多种导出格式（Markdown、CSV、JSON 等）。此外，doxx 还能在兼容的终端模拟器中展示图片，并保持原文档中的颜色信息。适用于需要通过命令行环境高效处理 Word 文档的各种场景，比如自动化脚本编写者、系统管理员或偏好使用终端工作的开发者。",2,"2026-06-11 03:46:34","high_star"]