bash3boilerplate

Templates to write better Bash scripts (by kvz)

Bash3boilerplate Alternatives

Similar projects and alternatives to bash3boilerplate

  1. glow

    Render markdown on the CLI, with pizzazz! 💅🏻

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. bash-it

    A community Bash framework.

  4. awesome-shell

    A curated list of awesome command-line frameworks, toolkits, guides and gizmos. Inspired by awesome-php.

  5. argbash

    Bash argument parsing code generator

  6. bash-oo-framework

    Bash Infinity is a modern standard library / framework / boilerplate for Bash

  7. events

    An event/callback/promise system for bash apps that's fast (10k/s), tiny (<2.2K), and portable (bash 3.2+, builtins-only)

  8. bash-commons

    A collection of reusable Bash functions for handling common tasks such as logging, assertions, string manipulation, and more

  9. balls

    Bash on Balls

  10. awesome-bash

    A curated list of delightful Bash scripts and resources.

  11. toolbox

    Module framework for Bash (by m10k)

  12. bash-boost

    bash-boost is a set of library functions for bash, useful for both scripting and interactive use. It draws inspiration from the Boost C++ libraries.

  13. bashkit

    Official bashkit repository

  14. bar

    A simple archive tool in pure bash using baee64 and stat (by dzove855)

  15. ansi

    ANSI escape codes in pure bash - change text color, position the cursor, much more

  16. BashLib

    A Bash Source file that contains many useful functions.

  17. shell-core

    A library of shell functions designed to ease the development of shell scripts written for both bash and zsh

  18. mo

    Mustache templates in pure bash (by tests-always-included)

  19. bpkg

    Lightweight bash package manager

  20. bash-utility

    Bash library which provides utility functions and helpers for functional programming in Bash.

  21. basher

    A package manager for shell scripts.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better bash3boilerplate alternative or higher similarity.

bash3boilerplate discussion

Log in or Post with

bash3boilerplate reviews and mentions

Posts with mentions or reviews of bash3boilerplate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-09-13.
  • Techniques I Use to Create a Great User Experience for Shell Scripts
    16 projects | news.ycombinator.com | 13 Sep 2024
    I can highly recommend using bash3boilerplate (https://github.com/kvz/bash3boilerplate) if you're writing BASH scripts and don't care about them running on systems that don't use BASH.

    It provides logging facilities with colour usage for the terminal (not for redirecting out to a file) and also decent command line parsing. It uses a great idea to specify the calling parameters in the help/usage information, so it's quick and easy to use and ensures that you have meaningful information about what parameters the script accepts.

    Also, please don't write shell scripts without running them through ShellCheck. The shell has so many footguns that can be avoided by correctly following its recommendations.

  • Being a bash developer in the 21st century
    4 projects | news.ycombinator.com | 22 Sep 2023
    I'm a fan of Bash3 Boilerplate (https://github.com/kvz/bash3boilerplate) and use a modified version of it for my shell scripts now. I like the code style and the logging, although I've amended the logging slightly to add a pipe input for long running processes that you want to see the output from before it finishes.

    I prefer having a stop-on-unexpected script as it makes errors far more explicit and it's not too onerous to work round the peculiarities of return codes.

    Greg's wiki (https://mywiki.wooledge.org/) is my go to resource for looking up snippets and learning to avoid the footguns - that and shellcheck are the key to "robust" bash scripts.

  • Bashkit V1
    38 projects | /r/bash | 27 Jan 2023
  • BashLib a helpful source file for any script
    36 projects | /r/bash | 20 Nov 2022
  • How do you add logs in your bash scripts?
    2 projects | /r/commandline | 19 Dec 2021
    Inspired from https://github.com/kvz/bash3boilerplate/blob/master/main.sh
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic bash3boilerplate repo stats
5
2,200
3.1
6 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Shell is
the 8th most popular programming language
based on number of references?