This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-09
Channels
- # announcements (14)
- # architecture (42)
- # babashka (23)
- # beginners (37)
- # biff (8)
- # calva (2)
- # cider (3)
- # clara (42)
- # clerk (14)
- # clojure (55)
- # clojure-brasil (3)
- # clojure-dev (5)
- # clojure-europe (18)
- # clojure-hungary (88)
- # clojure-losangeles (3)
- # clojure-nl (1)
- # clojure-norway (66)
- # clojure-uk (9)
- # clojurescript (16)
- # core-logic (16)
- # datomic (6)
- # fulcro (32)
- # hyperfiddle (25)
- # instaparse (12)
- # joyride (2)
- # lsp (13)
- # malli (15)
- # off-topic (50)
- # polylith (11)
- # portal (3)
- # re-frame (2)
- # reitit (2)
- # sci (8)
- # shadow-cljs (16)
- # tools-deps (13)
- # xtdb (5)
prosemirror may be worth looking into, its a fork of codemirror designed for working with markdown
how to use clojure.java.shell in clojurescript file
I need to call some python files from my cljs
But where do you run that CLJS code, on which platform - browser or Node? Or something else?
browser
The only choice is to create an endpoint on your server that, when requested, uses clojure.java.shell
. And then hit that endpoint from the CLJS code.
Although, there's another alternative if you're willing to run an additional server and deal with CORS. You can create that special endpoint within a separate Python server and run the Python code from there, without the need for clojure.java.shell
. But the overall concept is still the same.
@U2FRKM4TW pyodide is an option