Skip to content

alwint3r/chatjson2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Render JSON of Chat History to PDF

Pre-requisites

Install Requirements

As of now, the requirements.txt may include unnecessary packages. I will clean this up later.

pip3 install mistune xhtml2pdf

Usage

Rendering Chat JSON to HTML

python3 render_html.py -f <path/to/chat.json> -o <path/to/output.html>

Then

python3 render_pdf.py -f <path/to/output.html> -o <path/to/output.pdf>

About

JSON chat with AI to PDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages