portal

chromalchemy 2023-12-03T00:49:06.434359Z

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?

chromalchemy 2023-12-03T15:14:04.745129Z

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?

djblue 2023-12-03T01:32:14.391559Z

So, I prototyped this previously https://github.com/djblue/portal/commit/0cac3c12980098e860b9d6b654e287c6853e6265

djblue 2023-12-03T01:32:53.424629Z

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

djblue 2023-12-03T01:33:33.130049Z

I didn't get to the last bit, but its like 80% done

djblue 2023-12-03T03:05:53.267099Z

For joyride users who would like to debug their scripts via portal: https://clojurians.slack.com/archives/C03DPCLCV9N/p1701572602071159

👀 2
2