Fork of Borkdude's Scittle.
Find a file
2025-07-14 18:38:50 +03:00
.github Update docs [skip ci] 2022-02-26 12:35:03 +01:00
build Fix #60: dev task 2023-05-13 10:45:10 +02:00
doc Document service worker usage. (#117) 2025-07-02 08:38:37 +02:00
plugins Making dependency on datascript explicit 2025-07-14 18:38:50 +03:00
resources/public Fix replicant example 2025-06-18 11:27:48 +02:00
script fix gh pages 2025-06-18 11:29:50 +02:00
src/scittle Add goog.string/format #118 (#119) 2025-07-09 15:24:35 +02:00
.gitignore Fix #58: build system (#59) 2023-05-03 21:27:54 +02:00
bb.edn fix replace-version script 2024-11-24 12:43:47 +01:00
CHANGELOG.md Update Changelog 2025-07-14 18:20:27 +03:00
deps.edn Fix dep conflict for org.babashka/sci 2025-07-14 16:13:48 +03:00
LICENSE Initial commit 2021-05-23 11:31:40 +02:00
package-lock.json 0.7.23 2025-06-18 11:18:15 +02:00
package.json 0.7.23 2025-06-18 11:18:15 +02:00
README.md Document service worker usage. (#117) 2025-07-02 08:38:37 +02:00
shadow-cljs.edn Add Replicant plugin (#108) 2025-06-16 10:43:04 +02:00

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.

Service worker

See doc/serviceworker.md.

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.