pure-sh-bible VS scripts-to-rule-them-all

Compare pure-sh-bible vs scripts-to-rule-them-all and see what are their differences.

pure-sh-bible

📖 A collection of pure POSIX sh alternatives to external processes. (by dylanaraps)

scripts-to-rule-them-all

Set of boilerplate scripts describing the normalized script pattern that GitHub uses in its projects. (by github)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
pure-sh-bible scripts-to-rule-them-all
29 8
6,275 3,140
- -
0.0 0.0
4 months ago over 1 year ago
Shell Shell
MIT License Creative Commons Zero v1.0 Universal
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.

pure-sh-bible

Posts with mentions or reviews of pure-sh-bible. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-08.
  • Kiss Package Manager
    1 project | /r/kisslinux | 21 Sep 2023
    The guy who wrote it, also wrote a POSIX Shell bible: https://github.com/dylanaraps/pure-sh-bible
  • Pure Bash Bible
    13 projects | news.ycombinator.com | 8 Aug 2023
    Do you have any specific examples to cite? The snippets are meant to be run in POSIX-compliant shells like dash/yash/ash/etc, not just Bash in compatibility mode.

    In fact, there used to be a section which listed workarounds[1] for bugs in dash, but they have since been fixed[2]. If you are still using an old version of dash, you may need to use them.

    [1] https://github.com/dylanaraps/pure-sh-bible/commit/70f410ebb...

    [2] https://github.com/dylanaraps/pure-sh-bible/issues/13

  • Pure Sh Bible
    1 project | /r/hypeurls | 30 Apr 2023
    4 projects | news.ycombinator.com | 30 Apr 2023
  • "Immortal" Bash scripts, using inline Nix and a special header block
    1 project | /r/bash | 30 Apr 2023
    Personally, I would steer clear of a script that installs dependencies on it's own. Us sysadmins prefer to manage our own dependencies, generally speaking. Instead consider a README that outlines how to meet/install dependencies for the script, or try to find ways to write your script in pure Shell or Bash without using tools like awk, jq, etc. Consider having a look at the Pure Sh Bible for examples of how to do many useful things in pure Sh.
  • r/posixshell Lounge
    1 project | /r/posixshell | 20 Feb 2023
  • Shell in a nutshell
    1 project | dev.to | 11 Feb 2023
    POSIX Shell Tutorial POSIX shell cheat sheet GitHub - dylanaraps/pure-sh-bible: 📖 A collection of pure POSIX sh alternatives to external… Shell Scripting Tutorial
  • Just: A Command Runner
    27 projects | news.ycombinator.com | 9 Jan 2023
    There is the "pure bash bible" but it seems less than maintained these days: https://github.com/dylanaraps/pure-sh-bible

    Otherwise you're stuck reading the POSIX standard: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...

  • Unix shell script tactics - a style guide
    9 projects | /r/commandline | 23 Oct 2022
  • Posix shell compliant
    1 project | /r/commandline | 21 Jul 2022
    Look at this: https://github.com/dylanaraps/pure-sh-bible

scripts-to-rule-them-all

Posts with mentions or reviews of scripts-to-rule-them-all. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.
  • What’s with DevOps engineers using `make` of all things?
    17 projects | /r/devops | 6 Dec 2023
    Personally I like https://github.blog/2015-06-30-scripts-to-rule-them-all/ as a pattern and then let the authors do whatever crazy thing they want from there. In my experience, 99% of repos never move past using simple shell scripts with a few common functions with that pattern, and things are kept fairly simple. A select few repositories tend to mature enough that they are able to invest in swapping towards something more testable than shell scripts, and then you just have a couple people who stick to invoking `make` from the scripts but it's fine and nobody has to think about it except them. We don't stick to that exact set of scripts, but find that as long as you don't use more than like 10ish entrypoints in `script/*`, and have at least `script/bootstrap` it's fine.
  • Scripts to Rule Them All (2015)
    1 project | news.ycombinator.com | 20 Jan 2023
  • Just: A Command Runner
    27 projects | news.ycombinator.com | 9 Jan 2023
    I dig the general idea, but question the value add over a directory of `scripts` that follow sane conventions (ie `script/test`, `script/build` etc). Is the main thing that you can do `just -l` to see available commands? I have never really reached for `make` when I've had a choice, as I've done mostly ruby, JS, or java where you have more sane, humane tools (i.e. Rake, Yarn, Maven though that one is never fun).

    My general approach is every repo should have something that follows https://github.com/github/scripts-to-rule-them-all, written in sh (maybe bash, its 2023), linted with shellcheck. When you need something fancy Rake is great or grab some nice bash command line helper and source it from all your scripts. Is a command listing really worth another dependency over what you get from `ls script` or `cat script/README` ?

  • [AskJS] What is the best way to create a common npm package for building others?
    6 projects | /r/javascript | 6 Apr 2022
  • Azure Pipeline running task in background?
    1 project | /r/devops | 30 Jun 2021
    Afaik AzDo cannot run tasks concurrently. From having had to work with azure pipelines I would highly suggest to use the github approach of Scripts to rule them all and avoiding predefined tasks unless absolutely necessary(Things that are complicated to implement and solutions already existing.
  • Why is uncoupled documentation bad?
    6 projects | news.ycombinator.com | 6 Jun 2021
    GitHub have a pattern for this called "scripts to rule them all" - https://github.com/github/scripts-to-rule-them-all - I've not fully adopted it yet but I probably should, it looks very well thought-out.
  • Script up your projects
    3 projects | dev.to | 2 Feb 2021
    People at Github made an attempt to fix this situation: scripts to rule them all. The idea is to have common set of executable scripts for common developer tasks in a script/ directory in the root of every project:
  • How to Join a Team and Learn a Codebase
    2 projects | news.ycombinator.com | 16 Jan 2021
    https://github.com/github/scripts-to-rule-them-all

What are some alternatives?

When comparing pure-sh-bible and scripts-to-rule-them-all you can also consider the following projects:

pure-bash-bible - 📖 A collection of pure bash alternatives to external processes.

govuk_design_system_formbuild

awesome-bash-commands - A curated list of awesome Bash useful commands. Inspired by awesome-shell and bash-handbook.

django-sql-dashboard - Django app for building dashboards using raw SQL queries

bfetch - 📠 Dynamic fetch displayer that SuperB

govuk-form-builder - A form builder for Ruby on Rails that’s compatible with the GOV.UK Design System.

snake-bash - Command Line Snake Game written in BASH

generate-package - Use as a sub-generator or plugin in your generator to create a package.json for a project. Or install globally and run with Generate's CLI.

clh-bash - Arcade game to show your Command Line Hero skills! The game challenges you to enter as many valid commands as you can in 60 seconds!

confgen - Generate repetitive configs for vite, typescript, eslint, etc

run - Task runner that helps you easily manage and invoke small scripts and wrappers

datasette - An open source multi-tool for exploring and publishing data