Save faithful copy of a web page in Trilium notes with SingleFile web extension :electric_plug:
Save faithful copy of a web page as a Trilium note with SingleFile web extension.
SingleFile web extension saves a faithful copy of the web page being rendered by your browser as a single HTML file.
It's default location is ~/Downloads
.
~/Downloads
directory for new html pages saved by SingleFile
and sends them to trilium.singlefile2trilium-sender.py
.The handler wraps the html content into an html iframe, which is itself rendered by a render note.
Dependencies:
JS Backend
code note:
customRequestHandler
label to singlefile2trilium
:
BASEDIR
& TRILIUM_URL
vars in script according to your needs.user@desktop $ ./singlefile2trilium-sender.py