Archmage
CHM format converter
Install / Use
/learn @dottedmag/ArchmageREADME
arCHMage
arCHMage converts CHM files to HTML, plain text and PDF. CHM is the format used by Microsoft HTML Help, also known as Compiled HTML.
Usage
Extract CHM content into directory
archmage -x <chmfile> [output directory]
Extraction does not overwrite existing directories.
Dump HTML data from CHM
archmage -d <chmfile>
Convert CHM file into another format
archmage -c (html|text|pdf) <chmfile> [output file]
This feature requires htmldoc(1), and lynx(1) or elinks(1) installed.
Installation
Archmage uses PyCHM that depends on (C library) CHMlib. After CHMlib is installed, do
pip install archmage
Requirements
arCHMage has the following dependencies:
- Python 3.6+
- PyCHM
- BeautifulSoup4
Optional dependencies:
- htmldoc - converting to plain text, single HTML, PDF formats
(Debian/Ubuntu:
htmldoc) - Lynx or ELinks - converting to plain text
(Debian/Ubuntu:
lynx)
Legal
This is a hobbyist project.
Please reach us if you need help with CE mark.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
