reveal

Docs: https://vlaaad.github.io/reveal/ Source: https://github.com/vlaaad/reveal
teodorlu 2021-03-04T10:04:18.030200Z

Hello! I was just browsing some huge YAML files, and thought that a good data browser (such as reveal) would be more useful to use for navigation, than just viewing a text file. Are anyone here using reveal as a data browser for JSON/YAML/EDN files? If so, how are you doing it? Are you writing a Clojure snippet? Just pulling it into a Clojure REPL? Something else? I'm not working with Clojure code at the moment, so I don't have a running REPL at all times. I'm wanting to use reveal for this because I think there's huge potential in Reveal, and just using it to browse data would be a good way to get my hands slightly dirty.

vlaaad 2021-03-04T10:20:22.031400Z

@teodorlu something like that?

$ cat test.yaml 
a: 1
norway: no
array:
 - x: true
 - foo: bar

$ clj -Sdeps '{:deps {vlaaad/reveal {:mvn/version "1.3.196"} clj-commons/clj-yaml {:mvn/version "0.7.106"}}}' -M -e '(((requiring-resolve (symbol "vlaaad.reveal/ui"))) ((requiring-resolve (symbol "clj-yaml.core/parse-string")) (slurp "test.yaml")))'

šŸ’Æ 1
šŸ‘€ 1
vlaaad 2021-03-04T10:22:42.032900Z

Iā€™m using reveal from time to time in my Java day job, usually in a REPL with add-lib3 tools-deps branch that can bring in new deps when I need it

šŸ‘ 1
šŸ‘€ 1
teodorlu 2021-03-04T10:25:18.033500Z

Fantastic, just what I was looking for! Thank you šŸ™‚