Python tool
Use the local conversion tool.
The Python tool is the full local workflow. It is best when you want repeatable file-based conversion, CSS templates, download packages, and command-line control.
What the Python tool adds
The online converter is useful for quick paste-and-copy work. The Python tool adds local files, repeatable outputs, CSS template behaviour, downloadable project packages, and a better fit for GitHub or folder-based workflows.
Local files
Read a transcript file and generate HTML, CSS and optional Word-friendly output in the same folder.
Templates and themes
Use built-in themes or provide your own CSS template for a repeatable house style.
Quick command
Put your marked transcript in aichat.txt, then run:
python3 aichatprocess.py
Common options include:
python3 aichatprocess.py --theme dark --write-css overwrite
python3 aichatprocess.py --word-output aichat-word.html
python3 aichatprocess.py --source mychat.txt --output mychat.html
Reference list
| Option | Purpose |
|---|---|
--source | Choose the input transcript file. |
--output | Choose the generated chat-style HTML file. |
--css | Choose the CSS file linked by the HTML page. |
--theme | Choose a built-in visual theme such as default, dark, minimal or warm. |
--css-template | Use an external CSS template when writing CSS. |
--write-css | Choose whether CSS is written, skipped, written if missing, or overwritten. |
--word-output | Create a Word-friendly HTML transcript as well as the chat page. |
--math | Control optional maths rendering where supported by the tool. |
Related pages
Use Styles for theme guidance, Word for Word-friendly output, and Online if you want the browser-only route.