4 ms·
Fx 24.0.0
Hi
I’m the author of https://github.com/antonmedv/fx (terminal JSON viewer)
Recently I decided to rewrite the entire program to Go. And usually, on second rewrite things end-up better. Main reason for this, I believe, is clear end-result, the target.
I think new version of fx is much more superior:) I recommend, to check it out ;) Would like to have some feedback and ideas for improvement.
One of new cool features is reducer languages: not only JS, but also now it’s possible to write reducers in Python and Ruby.
I’d like to hear some feedback from people with more background in Python and Ruby. For example, should Python reducers come with builtin DotMap or not?
Thanks)
- medv 4y agoShort url to the project: https://fx.wtf https://fx.wtf
- memorable 4y agoHey there Anton! Cool project! I have seen your CodeJar project so I already know you. Few questions: - Is eval from CLI planned? (Something like `fx -e 'JSON code here...'`) - How do you support 3 different languages for writing reducers? - How is this different from other tools (like `jq`)? Have a nice day! And liked your project! :)
- medv 4y agoThanks) Actually fx works like eval: echo 42 | fx ‘x+1’ Or do you mean something else for eval? Fx comes with builtin JS VM, but fx also can exec node, python or ruby binaries installed on your machine. Of course it needs to be installed prior. Main difference from jq is interactive JSON viewer, and as well as ability to ise your language of choice for reducers. I created fx because I was googling how to do this and that in jq constantly, bit JS I know “natively”, so its much easier for me to perform some manipulation with JSON using JS. And now for people with fluency in Python or Ruby, fx will also work) I just want to improve DX for them as well. What do you think is missing?
- medv 4y agoBTW, I have more cool project: https://medv.io https://medv.io