Fork me on GitHub
#announcements
<
2021-03-12
>
phronmophobic17:03:58

clj-cef 0.9.4 is now available. This release adds support for linux. clj-cef provides clojure bindings to the Chromium Embedded Framework. Embed, host, automate, instrument, or inspect a fully HTML5-compliant web browser. https://github.com/phronmophobic/clj-cef example: https://github.com/phronmophobic/htmltoimage

36
wilkerlucio17:03:35

do you think that's easy to inject for example in Reveal?

phronmophobic17:03:01

it depends on what you mean by easy and inject šŸ˜›

phronmophobic17:03:27

I thought Reveal already had a web view?

vlaaad17:03:21

JavaFX's web view kinda sucks

ā˜ļø 3
vlaaad17:03:08

If would be great to have something like chrome as JavaFX web view

šŸ’Æ 3
wilkerlucio17:03:15

yes, I already have some cases that don't work in the JavaFX web view, that could be game changer for using Web based things to visualisations inside Reveal

phronmophobic17:03:59

Interesting. It's definitely not as easy as using the built in JavaFX component, but if there's interest, I would be happy to work with someone to make that work.

phronmophobic17:03:30

there are at least two major caveats: ā€¢ clj-cef doesn't have a windows build ā€¢ the cef framework is rather huge (300MB on OSX and 1GB linux)

wilkerlucio18:03:52

I would love to have that, I used JxBrowser with success in reveal, it works great, but the huge caveat is that is paid (and quite expensive), so I only used during the 30 day trial

phronmophobic22:03:21

@U066U8JQJ, how did you integrate JxBrowser? Did you write a reveal plugin? Is that available somewhere?

vlaaad09:03:08

IIRC jxBrowser has javafx nodes

phronmophobic09:03:56

the jcef project does a bunch of stuff that I think complicates things. clj-cef uses the cef c api directly. I already having a working example that draws to a BufferedImage, https://github.com/phronmophobic/clj-cef/blob/main/examples/htmltoimage/src/clj_cef/htmltoimage.clj#L36. I also have an example that works on top of skija, https://github.com/phronmophobic/clj-cef/tree/main/examples/browser. I'm pretty sure it would be possible to get something that's JavaFX compatible.

wilkerlucio13:03:05

@U7RJTCH6J sadly I can't find the code I used for the JxBrowser

phronmophobic20:03:36

there are a couple options for integration. how did you use the browser in your workflow and what were the cases that didn't work for the built in JavaFX webview?

blueberry20:03:28

Deep Diamond 0.20.0 released with DNNL upgrade to 2.1.1. https://github.com/uncomplicate/deep-diamond

šŸš€ 24
lilactown21:03:16

Formally announcing my library https://github.com/lilactown/autonormal, which provides two cool capabilities: ā€¢ Quickly normalize nested maps into a flat, tabular structure ā€¢ Quickly pull data out of nested maps and/or normalized maps using EQL [lilactown/autonormal "1.1.0"] is available on clojars. Praise and feedback is welcome via DM on slack or issues on github šŸ˜„

12
šŸ‘ 73
4
šŸ‘ 17
3
3