This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-12
Channels
- # announcements (19)
- # babashka (33)
- # beginners (96)
- # bitcoin (6)
- # cider (11)
- # circleci (5)
- # clj-kondo (22)
- # cljs-dev (4)
- # cljsjs (2)
- # clojure (65)
- # clojure-australia (9)
- # clojure-berlin (1)
- # clojure-europe (53)
- # clojure-italy (2)
- # clojure-nl (2)
- # clojure-uk (42)
- # clojurescript (9)
- # conjure (1)
- # cursive (33)
- # data-oriented-programming (1)
- # data-science (6)
- # datomic (12)
- # emacs (12)
- # fulcro (7)
- # graphql (4)
- # honeysql (5)
- # jobs (2)
- # juxt (8)
- # lsp (30)
- # malli (9)
- # off-topic (9)
- # other-languages (1)
- # re-frame (17)
- # reagent (11)
- # reitit (5)
- # releases (2)
- # remote-jobs (3)
- # shadow-cljs (39)
- # spacemacs (6)
- # sql (2)
- # testing (3)
- # tools-deps (43)
- # vim (5)
- # xtdb (11)
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
do you think that's easy to inject for example in Reveal?
it depends on what you mean by easy and inject š
I thought Reveal already had a web view?
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
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.
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)
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
@U066U8JQJ, how did you integrate JxBrowser? Did you write a reveal plugin? Is that available somewhere?
https://bitbucket.org/chromiumembedded/java-cef/issues/163/provide-javafx-node-for-jcef found this jcef issue from 6 years ago, still unresolved š
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.
@U7RJTCH6J sadly I can't find the code I used for the JxBrowser
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?
Deep Diamond 0.20.0 released with DNNL upgrade to 2.1.1. https://github.com/uncomplicate/deep-diamond
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 š