Forked from acmar/export-to-word-plugin
README.md
Fork from acmar/export-to-word-plugin
Plugin exports current conversaition in LM Studio to Word (.docx) file.
This plugin was supposed to output the entire chat to a document. But...
It doesn't output the chat itself, rather whatever the AI​feeds it as input.
(Thus, some text is simply output to the document file).
It might make some sense doing an append to the existing file.
UPD:
We're using the wrong library for working with .docx files — docx only supports file creation, not reading and editing existing ones.
Because the docx library doesn't have methods for reading files. It's only a generator for new documents. One touch tool.
From: tupik/export-to-docx
Tool name: "export_to_docx", creates file and populate it with texts.
Tool name: "append_paragraph", appends a new paragraph to an existing Word (.docx) document.
[works fine]
npm install adm-zip
npm install # 1st time inst
npm run build
tsc
--
lms dev
lms dev -i -y # locally in plugin's dir
--
lms get tupik/export-to-docx -y # shell run any where