The Small Clojure Interpreter exposed for usage in script tags.
Try it out on CodePen!
See Github pages for usage.
See babashka-scittle-guestbook for a minimal full stack web application.
See releases for links to JSDelivr to get versioned artifacts.
To serve assets you can use the babashka.http-server dependency (with babashka or Clojure JVM):
(require '[babashka.http-server :as http])
(http/serve {:port 1341 :dir "resources/public"})
@(promise) ;; wait until process is killed
See doc/nrepl.
Run bb tasks
to see all available tasks:
$ bb tasks
The following tasks are available:
clean Start from clean slate.
dev Development build. Starts webserver and watches for changes.
prod Builds production artifacts.
release Updates Github pages with new release build.
Idea by Arne Brasseur a.k.a plexus.
Copyright © 2021 - 2022 Michiel Borkent
Distributed under the EPL License. See LICENSE.