GitHunt
JU

juliantaylor/archmage

A reader and decompiler for files in the CHM format

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.

Latest Version
Downloads
License

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

pip install archmage

Requirements

arCHMage has the following dependencies:

  • Python 3.5+
  • 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)

Languages

Python79.9%HTML16.0%Roff4.0%CSS0.2%

Contributors

GNU General Public License v2.0
Created February 9, 2020
Updated February 9, 2020
juliantaylor/archmage | GitHunt