I there a way to save a bitmap image of a portal html (hiccup) view? I understand this might necessarily need to take into account the on-screen viewer dimensions. Or maybe some could be specified, and the viewer shows a zoomed out version?
Nice! Will try it out, and grok code. I noticed in Portal docs some stuff for Node client? Is there way to maybe use node libraries for something like this, in a webview context?
So, I prototyped this previously https://github.com/djblue/portal/commit/0cac3c12980098e860b9d6b654e287c6853e6265
I wanted it to be an easy way to share quick snippets of data over slack, with the additional benefit of also saving the raw edn data in the image for re-reading on import back into portal
I didn't get to the last bit, but its like 80% done
For joyride users who would like to debug their scripts via portal: https://clojurians.slack.com/archives/C03DPCLCV9N/p1701572602071159