MCPcopy Index your code
hub / github.com/MikeWalrus/docx-you-want

github.com/MikeWalrus/docx-you-want @v0.1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.2 ↗ · + Follow
31 symbols 63 edges 2 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

docx-you-want

docx-you-want is a tool to convert a PDF document into a .docx file ... in an unusual way. Since these two formats are inherently different, it is impossible to get a .docx file from a PDF without a noticeable difference in their appearances. docx-you-want on the other hand, sort of preserves the look of the original PDF.

Packages

AUR

What does it really do?

  1. It calls Inkscape to convert every individual page of the PDF into SVGs, thus preserving its look. This means to run it, inkscape should be installed and in your PATH.
  2. Then it inserts those images into a minimal .docx file, adding a PNG version of each also so that programs that don't support SVG in a .docx file have something to fall back on.
  3. Finally, it zips the files and gives you the .docx (you want?).

When to use this tool?

Hopefully never.

However, if someone asks you to send them a .docx version of your document and refuses to accept the PDF version that you only have, consider using it. The next thing should be the person being very sad about your fake .docx document and wondering: is this really the .docx he wants?

Why Rust?

My bad.

I really should have written it in bash or Python, none of which, including Rust, I am good at, though.

Core symbols most depended-on inside this repo

add_image_svg
called by 3
src/lib.rs
px_to_emu
called by 2
src/lib.rs
px_to_twenties_of_pt
called by 2
src/lib.rs
get_filename
called by 2
src/lib.rs
read_svg
called by 2
src/lib.rs
next_id
called by 2
src/lib.rs
add_relationship
called by 2
src/lib.rs
generate_docx
called by 2
src/lib.rs

Shape

Function 17
Method 12
Class 1
Enum 1

Languages

Rust100%

Modules by API surface

src/lib.rs29 symbols
src/main.rs2 symbols

For agents

$ claude mcp add docx-you-want \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page