Bash-Scripts
A collection of Bash scripts for automating routine tasks and streamlining your workflow. (by djeada)
json.bash
Command-line tool and bash library that creates JSON (by h4l)
Bash-Scripts | json.bash | |
---|---|---|
2 | 3 | |
169 | 444 | |
7.1% | 0.9% | |
8.8 | 6.4 | |
4 months ago | about 2 months ago | |
Shell | Shell | |
MIT License | 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.
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.
Bash-Scripts
Posts with mentions or reviews of Bash-Scripts.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Github one repo for multiple programs?
I did something just like this! I put all my BASH scripts from the last few years together in one spot. If you wanna check it out and maybe get some ideas, you can find the repo here: https://github.com/djeada/Bash-Scripts
- what is bash and what's its use?
json.bash
Posts with mentions or reviews of json.bash.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-07-03.
-
Show HN: Jb / json.bash – Command-line tool (and bash library) that creates JSON
If it helps, there's a little example of using the bash API with bash variables/arrays, should give you an idea of how it could be to use: https://github.com/h4l/json.bash/blob/main/examples/notify.s...
This example uses the pattern of setting an out=varname when calling a json function, the encoded JSON goes into $varname variable. This pattern avoids the overhead of forking processes (e.g. subshells) when generating JSON.
Otherwise you can use the more normal approach of jb writing to stdout, and capturing the output stream.
What are some alternatives?
When comparing Bash-Scripts and json.bash you can also consider the following projects:
shmenu - Menu TUI tool written solely in bash
welcome.sh - A nice welcome script for Bash and Zsh