Skip to content
0:00 / 0:00

#clojurescript#electron#desktop-apps

Desktop Apps with ClojureScript - Martin Klepsch

Metosin

9K subscribers • 22 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Martin Klepsch
  • Linked in the descriptionSlides on Speaker Deck
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

10K views11 years ago1 recommendation

Web developmentProgramming languagesLisp and ClojureFlutter and React Native

Martin Klepsch discusses the process, challenges, and tooling involved in building cross-platform desktop applications using ClojureScript and Electron.

In this talk you will learn about the process, challenges and tools used to make a desktop application with ClojureScript based on Electron. Electron is an excellent target for ClojureScript and with a bit of tooling developing for it can be the pure fun we're used to from targeting plain browsers. Electron is a toolkit to create cross platform applications using web technologies. It allows you to build an application in the same way you would do it on the web while providing integrations with OS specific things like notifications and menus. Slides: speakerdeck.com/mklappstuhl/desktop-apps-with-clojurescript

Why it's here

1 person recommends this

What people say. Recommended as a practical guide to building desktop applications with ClojureScript and Electron.

u/_ferzin r/Clojure • Recommends

Desktop Apps with ClojureScript - Martin Klepsch

u/eccpin r/Clojure • Mentions

On “How do you create a standalone executable with Clojure?”

lein-bin is a Leiningen plugin for producing standalone console executables that work on OS X, Linux, and Windows. There's also this talk on building Desktop Apps with ClojureScript and Electron a la LightTable

u/jackrusherin r/Clojure • Mentions

On “any actual user applications?”

I have several GUI apps in production, but they're all internal tools that (sadly) I can't show off here. Seesaw works quite well for simple things, but to make nice looking GUIs I ended up mixing Seesaw with a JFX WebView instance into which I injected hiccup-generated HTML and Javascript compiled from CLJS on the fly. This is a nice because the resulting jar file is crossplatform and relatively small (all the heavy bits are in the JVM). Another option is to use something like Electron + CLJS. Here's a talk about that.