babashka VS cheshire

Compare babashka vs cheshire 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)

cheshire

Clojure JSON and JSON SMILE (binary json format) encoding/decoding (by dakrone)
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 cheshire
2 2
1,711 1,469
- -
9.7 5.6
about 3 years ago 27 days ago
Clojure Clojure
Eclipse Public License 1.0 MIT License
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

cheshire

Posts with mentions or reviews of cheshire. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-26.
  • Zq: An Easier (and Faster) Alternative to Jq
    36 projects | news.ycombinator.com | 26 Apr 2022
    For me, transforming JSON on the command line was a pain, another DSL to learn. Now, I can just use Babashka/ Clojure + one or two functions from Cheshire https://github.com/dakrone/cheshire where I need to. If I needed a standalone tool, I would perhaps reach for https://github.com/borkdude/jet by the same author, Michiel Borkent, as Babashka or use jq that everybody else would find more familiar.
  • A Practical Introduction to jq (and more)
    10 projects | news.ycombinator.com | 21 Dec 2020
    [2]: https://github.com/dakrone/cheshire

What are some alternatives?

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

PowerShell - PowerShell for every system!

zed - A novel data lake based on super-structured data

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.

brackit - Query processor with proven optimizations, ready to use for your JSON store to query semi-structured data with JSONiq. Can also be used as an ad-hoc in-memory query processor.

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

grop - helper script for the `gron | grep | gron -u` workflow

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

jid - json incremental digger

jq-web - jq in the browser with emscripten.

yq - yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor

tools-deps-native - Run tools.deps as a native binary