Skip to content

tatut/REPLey

Repository files navigation

REPLey

test workflow

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. Props map as table

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.

File visualizer

CSV support

CSV read by clojure.data.csv is also supported in the table visualizer.

CSV table

Changes

2024-05-08

  • Better navigating of Throwable cause and ex-data
  • Fix side-effects in swap! call causing possible multipe results

2024-03-01

  • Add :navbar component support, which must be ripley component fn

2024-02-12

  • Support objects that render themselves (DefaultVisualizer protocol)

About

A web REPL made with Ripley

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages