Skip to content

bradmontgomery/word2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 Convert a Word Doc to html

🚀 Quick Start with uvx

The easiest way to run word2html without installing is using uvx:

uvx word2html /path/to/MyGloriousDoc.docx

This will give you a new file, /path/to/MyGloriousDoc.html, that's (hopefully) decent-looking html.

💾 Installation

To install with uv:

uv tool install word2html

Or with pip:

pip install word2html

Then run:

word2html /path/to/MyGloriousDoc.docx

🧪 Note on tests & versions

  • This project has NO TESTS! (feel free to add some of you think it should).
  • This project requires Python 3.12 or greater

📝 Note on Licenses

While this code is MIT-licensed, it uses boty pypandoc and pytidylib, both of which depend on other software that may not be MIT-licensed and must be installed for this to work.

  • pytidylib is available under the MIT license, and Tidy is available under an MIT-like license
  • pypandoc is available under the MIT license, while Pandoc is released under the GPL.

⭐ Star History

This project really started out as a joke -- although this is something I've done too many times. I'm always amazed at how many people have starred this repo. 🤩

Star History Chart

About

a quick and dirty script to convert a Word (docx) document to html.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages