LM Studio to HTML
A little utility to convert LM Studio conversation files, which are JSON-based, to HTML.
This project has been hacked in a few hours, so it's at your own risk! It works fine, but doesn't display all information present in the JSON file. Furthermore, the HTML output is not the prettiest, but it is serviceable for viewing LM Studio chats outside of the app.
I made this to access LM Studio chats outside of the app, to then freely analyse them.
Don't worry! All of this has been written by hand, no LLMs involved!
Installation
Running this is like any other "simple" Python 3 project:
- Make a venv:
python3 -m venv env - Enter it:
source bin/activate - Install the requirements:
pip3 install -r requirements.txt - Finally, run it from inside the virtual env:
python3 main.py
Have fun !
