Convert Word/Excel/Powerpoint to PDFs (or other extensions) via LibreOffice.
There are several providers to do this as a service. but they cost $ for every document you convert. You can throw this little code in your VPS and enjoy the freedom of converting documents for free.
git clone https://github.com/Schniz/libre-converter.git
cd libre-converter
npm install
node .
npm install -g libre-converter
libre-converter --port 6661 --hostname 0.0.0.0
and just read the help.
libre-converter --help
Fucking LibreOffice. install this gold. you can install only LibreOffice's Writer if you are only into Words and stuff.
Cause I code better with you guys ❤️
see ya.