REPLey
REPLey copied to clipboard
A web REPL made with Ripley
REPLey
A web REPL made with Ripley
Some features:
- Nice and extensible visualization of data (including tables and graphs)
- Clojure input with autocompletion (using compliment)
-
tap>
listener (to use as a fancy logging mechanism) - easy to integrate into an existing app
Usage
Start with % clj -M:dev
and open browser to localhost
port 3001. Use Cmd-Enter to evaluate text in the editor.
Another way to use is to include this as a library and use repley.main/repley-handler
as a handler
in a ring application. This code has NO authentication or sand boxing, so obviously don't use
this in a production app.
Demos
Watch the YouTube intro video.
Inspecting properties map as a table
Clojure maps have a table visualization for convenient inspection.
File visualizer
Instances of java.io.File
class have a visualizer that shows basic info and allows
downloading the file. This can be disabled in config.
CSV support
CSV read by clojure.data.csv
is also supported in the table visualizer.
Changes
2024-03-01
- Add
:navbar
component support, which must be ripley component fn
2024-02-12
- Support objects that render themselves (DefaultVisualizer protocol)