Bunster: Compile bash scripts to self contained executables

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. bunster

    Compile shell scripts to static binaries.

    Seeing as how they just implemented the IF statement[0] two weeks ago, I'm going to hold of for a few more releases before testing.

    [0]: https://github.com/yassinebenaid/bunster/pull/88

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. ffutils

    A collection of high-throughput encoding pipelines and lossless editing tools built around ffmpeg

    My problem with python is startup time. I’ve been rewriting shell scripts to either Makefiles (crazy and ugly but it works) or rust “scripts” [0] depending on their nature (number of outputs, number of command executions, etc)

    Also, using a better shell language can be a huge productivity (and maintenance and sanity) boon, making it much less “write once, read never”. Here’s a repo where I have a mix of fish-shell scripts with some converted to rust scripts [1].

    [0]: https://neosmart.net/blog/self-compiling-rust-code/

    [1]: https://github.com/mqudsi/ffutils

  4. scriptisto

    A language-agnostic "shebang interpreter" that enables you to write scripts in compiled languages.

    I suppose https://www.youtube.com/watch?v=eRHlFkomZJg

    If you don't want to watch video , then I can link the tool it uses https://github.com/igor-petruk/scriptisto/wiki/Writing-scrip...

  5. acme.sh

    A pure Unix shell script implementing ACME client protocol

    Thank you for using the project!

    On the concern of it would be harder to setup, I think it would be easier in fact, you would simply curl the Go or C statically generated binary to your path and would alleviate the need for jq or curl to be installed alongside.

    I think the reason I haven’t made the switch yet is I like Bash (even though my script is getting pretty big), and in a way it’s a testament to what’s possible in the language. Projects like https://github.com/acmesh-official/acme.sh really show the power of Bash.

    That and I think the project would need a name change, and discord.sh as a name gets the point across better than anything I can think of.

  6. murex

    A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)

    I have authored a shell in Go and while it doesn’t aim to replace coreutils, it does have a decent number of builtins as part of its application.

    So in theory I could build a feature that allows you to ship a self contained executable like you’ve described.

    If this is something you’re genuinely interested in and my shell has the right kind of ergonomics for you, then feel free to leave a feature request:

    https://github.com/lmorg/murex

  7. amber

    💎 Amber the programming language compiled to Bash

    This is fucking dumb. Sorry but this is just a paragon of everything wrong with Unix.

    The only reason to use shell in the first place is because I can't use a binary compiled from a sane language.

    This... Wow. This is like not having your cake and not eating it.

    The shitness of Bash combined with the non-portability of binaries! Sign me up!

    It's the opposite of https://amber-lang.com/ which tries to (not sure it succeeds) provide a sane language with the portability of shell (ignoring Windows).

    That's a sensible project. This is just... Why does this exist?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts