Fork me on GitHub
#releases
<
2022-03-30
>
phronmophobic18:03:17

Viscous: A visual data inspector/explorer that runs in constant space, time, and screen space. https://github.com/phronmophobic/viscous version 1.2: Now with cli support! Read edn from stdin:

cat data.edn | clojure -X:viscous :file -
Read edn from filename:
clojure -X:viscous :file data.edn
Read json from stdin:
cat data.json | clojure -X:viscous :json-file -
Read json from filename:
clojure -X:viscous :json-file data.edn

🆒 6
👍 1
dpsutton18:03:38

this looks like it could make a good tap> target. Does it have a history so multiple taps can be inspected or is it more of a single value at a time approach?

1
phronmophobic18:03:52

right now it's just one at a time, but it would be easy to support multiple values and/or history

👍 1
phronmophobic18:03:14

that's a good idea though. If you have a suggestion for what that should look like, I'm open to implementing it or maybe I'll just give it a shot.

dpsutton18:03:08

similar to reveal or portal. Just have a convenient function to add as a tap and then have a way to see the tapped values

notbad 2
dgb2319:03:08

something that would be cool: coloring keywords by value or by namespaces.

phronmophobic19:03:34

what does coloring keywords by value mean?

dgb2319:03:57

ah by the “whole keyword”

dgb2319:03:06

:width is now blue

phronmophobic19:03:46

I still don't understand

dgb2319:03:14

I mean all the :width keywords will have a user specified color

dgb2319:03:49

as opposed to all the keywords in namespace X have a specified color

dgb2319:03:54

both could be useful

dgb2319:03:36

because you might want to look at the whole thing but still get some additional help to quickly catch related keywords

dgb2319:03:11

maybe specific coloring is not the right approach, highlighting (generally) might be

phronmophobic19:03:52

yea, I have been thinking about a search tool

dgb2319:03:56

guiding the eyes a bit

dgb2320:03:02

thats better

dgb2320:03:55

and I’m thinking in-client

phronmophobic20:03:00

what do you mean by in-client?

dgb2320:03:36

I mean you do it with the ui

dgb2320:03:21

as opposed to pre-filtering/transforming the data to be consumed by the tool