Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pink-gorilla/goldly
sci-cljs-kernel for reval
https://github.com/pink-gorilla/goldly
cljs clojure clojurescript reagent
Last synced: 3 months ago
JSON representation
sci-cljs-kernel for reval
- Host: GitHub
- URL: https://github.com/pink-gorilla/goldly
- Owner: pink-gorilla
- Created: 2020-05-20T22:33:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T23:51:39.000Z (10 months ago)
- Last Synced: 2024-04-19T16:14:01.825Z (10 months ago)
- Topics: cljs, clojure, clojurescript, reagent
- Language: Clojure
- Homepage:
- Size: 8 MB
- Stars: 24
- Watchers: 5
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Goldly
[![GitHub Actions status |pink-gorilla/goldly](https://github.com/pink-gorilla/goldly/workflows/CI/badge.svg)](https://github.com/pink-gorilla/goldly/actions?workflow=CI)
[![Clojars Project](https://img.shields.io/clojars/v/org.pinkgorilla/goldly.svg)](https://clojars.org/org.pinkgorilla/goldly)- goldly uses the sci clojure(script) interpreter to create a clojurescript kernel.
- goldly uses webly to create lazy-loadable-js-modules via shadow-cljs.
- goldly has 3 sub-projects:
- goldly-sci: creates a sci-interpreter setup that works with shadow-cljs lazy modules.
- reval-sci: implements a reval kernel (for cljs)
- sci-configs: creates modules based on sci-configs namespace mappings.## demo
The demo is mainly there for development of goldly.
Clone goldly git repo.
```
cd demo
clj -X:webly:npm-install
clj -X:webly:compile
clj -X:nbeval
clj -X:webly:run```
## goldly - in your project **with custom ui-renderers**You need to add the **goldly** artefact to build javascript bundle from scratch.
This takes more time (npm dependencies have to be downloaded, javascript bundle needs to be compiled),
but it allows you to add custom ui renderers to your goldly app.This configures goldly with your set of ui-renderers.
You have to include the goldly and ui-renderer dependencies, and then add the
namespace of the ui-renderer to goldly/extensions. This allows goldly to
add the ui extensions to the javascript bundle.Have a look at [ui-binary-clock](https://github.com/pink-gorilla/ui-binary-clock) to
see how you can build a custom javascript js bundle with goldly.