tig / winprint

winprint 2.0 - Advanced source code and text file printing. The perfect tool for printing source code, web pages, reports generated by legacy systems, documentation, or any text or HTML file. It works interactively or from the command line making it great for single users or whole enterprises. Works great with Powershell.
https://tig.github.io/winprint/
MIT License
73 stars 5 forks source link

Handle printing remote files (http) #1

Open tig opened 4 years ago

tig commented 4 years ago

Currently WinPrint only supports local files. It should support pulling files to print from the web.

e..g

winprint https://github.com/tig/winprint 

This must be done in a secure way, especially if we continue to use HTML parsing/rendering to do syntax-highlighting. E.g. see https://electronjs.org/docs/tutorial/security#2-do-not-enable-nodejs-integration-for-remote-content