Esta página se muestra en inglés. Una traducción al español está en curso.
ScriptsJul 22, 2026·2 min de lectura

Doxx — Render Word Documents in the Terminal

A fast Rust CLI tool that renders .docx files directly in the terminal with formatting, tables, and images. No Microsoft Office or LibreOffice required.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Doxx
Comando de instalación directa
npx -y tokrepo@latest install 4b84b214-85aa-11f1-9bc6-00163e2b0d79 --target codex

Ejecutar después de confirmar el plan con dry-run.

Introduction

Doxx is a lightweight Rust CLI that renders Microsoft Word (.docx) files directly in your terminal. It preserves formatting, tables, lists, and embedded images without requiring Microsoft Office, LibreOffice, or any other office suite.

What Doxx Does

  • Renders .docx files with formatted text output in the terminal
  • Preserves headings, bold, italic, and other text styling
  • Displays tables with aligned columns and borders
  • Shows embedded images as terminal-compatible output
  • Supports piping output for integration with other CLI tools

Architecture Overview

Doxx parses the OOXML format (ZIP archive containing XML) directly in Rust. It walks the document XML tree, extracts text runs with their formatting properties, and renders them using terminal escape codes. Table layout uses a constraint-based algorithm to compute column widths within terminal dimensions.

Self-Hosting & Configuration

  • Install via cargo: cargo install doxx
  • Or download prebuilt binaries from GitHub releases
  • No configuration needed; it works out of the box
  • Set DOXX_THEME to switch between light and dark output styles
  • Supports reading from stdin for pipeline integration

Key Features

  • Zero-dependency single binary written in Rust
  • Preserves document structure including headers, lists, and tables
  • Fast startup and rendering even for large documents
  • Terminal-aware output that adapts to your window width
  • Integrates with pipes, less, grep, and other CLI tools

Comparison with Similar Tools

  • LibreOffice CLI — Full office suite; Doxx is a focused single binary for viewing
  • pandoc — Document converter; Doxx focuses on terminal rendering, not conversion
  • catdoc — Legacy .doc viewer; Doxx supports modern .docx with rich formatting
  • Antiword — Plain text extraction; Doxx preserves formatting and table layout

FAQ

Q: Does it support .doc files? A: No, Doxx supports the modern .docx (OOXML) format only. For legacy .doc files, use catdoc or antiword.

Q: Can I extract just the text without formatting? A: Yes, use doxx --plain document.docx for plain text output.

Q: How are images handled? A: Images are rendered using terminal graphics protocols where supported, or shown as placeholder text otherwise.

Q: What platforms are supported? A: Linux, macOS, and Windows. Any terminal with ANSI color support works.

Sources

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados