babashka VS grop

Compare babashka vs grop and see what are their differences.

babashka

A Clojure babushka for the grey areas of Bash (native fast-starting Clojure scripting environment) [Moved to: https://github.com/babashka/babashka] (by borkdude)

grop

helper script for the `gron | grep | gron -u` workflow (by busfahrer)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
babashka grop
2 1
1,711 0
- -
9.7 0.0
about 3 years ago over 3 years ago
Clojure Shell
Eclipse Public License 1.0 -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

babashka

Posts with mentions or reviews of babashka. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-09.
  • Show HN: Bbb – an easy way to build and compile Clojure CLIs with GraalVM
    3 projects | news.ycombinator.com | 9 Feb 2022
    I've been learning Clojure recently and loving it, but one thing I've found myself missing from my Golang days is how easy it is to build and deploy CLI tools in Golang.

    With GraalVM it's finally possible to compile Clojure apps into static binaries that give your users a deploy and startup experience similar to Go's, but I found GraalVM very difficult to configure and use, and was often frustrated because not all JVM code is compatible with GraalVM. Worse still, because native-images take a while to build you often don't find out that your working JVM Clojure code won't work as a native-image until it's too late.

    BabashkaBins/bbb is my attempt to fix this: it lets you easily run the same codebase under babashka or JVM Clojure, and will automate compiling your project to a static binary for you using GraalVM's native-image. It also takes care of collecting some tweaks that make it easy to use the cli-magic [2] library under babashka, which means you can easily make complex CLI tools with nested subcommands a la git or docker, with all the bells and whistles.

    Since babashka is itself compiled under GraalVM, this arrangement provides a other few nice benefits: 1) babashka starts quickly, so you can test your CLI from an actual command line without waiting for the JVM to spin up each time. 2) babashka's codebase contains a treasure trove of GraalVM related tweaks and fixes that using bbb lets you take advantage of in your own CLIs for free, and 3) it functions as a quick sanity check since babashka itself is compiled under GraalVM. If you find yourself doing something that's not GraalVM compatible at least you'll know early!

    [1]: https://github.com/borkdude/babashka

  • A Practical Introduction to jq (and more)
    10 projects | news.ycombinator.com | 21 Dec 2020
    ```

    [1]: https://github.com/borkdude/babashka

grop

Posts with mentions or reviews of grop. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2020-12-21.
  • A Practical Introduction to jq (and more)
    10 projects | news.ycombinator.com | 21 Dec 2020
    gron is great! And because the 80% use case of "gron -> grep -> gron -u to turn it back into JSON" is so common, I use these two convenience wrappers that make it easier. I called them grop because its' gron + grep:

    https://github.com/busfahrer/grop

What are some alternatives?

When comparing babashka and grop you can also consider the following projects:

PowerShell - PowerShell for every system!

ndjson.github.io - Info Website for NDJSON

cheshire - Clojure JSON and JSON SMILE (binary json format) encoding/decoding

jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.

specter-cli - A native Specter CLI, compiled with GraalVM native-image and executed by SCI.

json_to_paths - Distill a JSON document into a collection of paths both for 'jq' and 'xpath'

clojure-lsp - Clojure & ClojureScript Language Server (LSP) implementation

jello - CLI tool to filter JSON and JSON Lines data with Python syntax. (Similar to jq)

jq-web - jq in the browser with emscripten.