Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/babashka/scittle
Execute Clojure(Script) directly from browser script tags via SCI
https://github.com/babashka/scittle
clojure clojurescript interpreter sci
Last synced: 3 months ago
JSON representation
Execute Clojure(Script) directly from browser script tags via SCI
- Host: GitHub
- URL: https://github.com/babashka/scittle
- Owner: babashka
- License: epl-1.0
- Created: 2021-05-23T09:17:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-09T13:03:00.000Z (4 months ago)
- Last Synced: 2024-07-09T16:37:10.077Z (4 months ago)
- Topics: clojure, clojurescript, interpreter, sci
- Language: Clojure
- Homepage: https://babashka.org/scittle
- Size: 4.16 MB
- Stars: 309
- Watchers: 6
- Forks: 27
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Scittle
The [Small Clojure Interpreter](https://github.com/babashka/sci) exposed for usage in script tags.
Try it out on [CodePen](https://codepen.io/Prestance/pen/PoOdZQw)!
See [Github pages](https://babashka.org/scittle/) for usage.
See
[babashka-scittle-guestbook](https://github.com/kloimhardt/babashka-scittle-guestbook)
for a minimal full stack web application.See [releases](https://github.com/babashka/scittle/releases) for links to
[JSDelivr](https://www.jsdelivr.com) to get versioned artifacts.## Serving assets
To serve assets you can use the
[babashka.http-server](https://github.com/babashka/http-server) dependency (with
babashka or Clojure JVM):``` clojure
(require '[babashka.http-server :as http])
(http/serve {:port 1341 :dir "resources/public"})
@(promise) ;; wait until process is killed
```### nREPL
See [doc/nrepl](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](https://github.com/plexus).
## License
Copyright © 2021 - 2022 Michiel Borkent
Distributed under the EPL License. See LICENSE.