Skip to content

babashka/scittle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dc54e3d · Mar 15, 2025
Feb 26, 2022
May 13, 2023
Dec 19, 2024
Nov 20, 2023
Mar 15, 2025
Jan 6, 2025
Dec 21, 2024
May 3, 2023
Jan 6, 2025
May 23, 2021
May 13, 2023
Nov 24, 2024
Dec 21, 2024
Dec 19, 2024
Dec 19, 2024
Dec 21, 2024

Repository files navigation

Scittle

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.

Serving assets

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

nREPL

See doc/nrepl.

Tasks

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.

Credits

Idea by Arne Brasseur a.k.a plexus.

License

Copyright © 2021 - 2022 Michiel Borkent

Distributed under the EPL License. See LICENSE.