Top 23 JavaScript Bash Projects
-
Project mention: Can I use Node for general scripting? (Like python) | reddit.com/r/node | 2022-05-25
-
awesome-cheatsheets
👩💻👨💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.
I've found a nice bash cheatsheet: https://github.com/LeCoupa/awesome-cheatsheets/blob/master/languages/bash.sh
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
The purpose of OP's project kind of reminded me of shell.js (shx) [1] which is a nodejs library that wraps all kinds of common UNIX commands to their own synchronously executed methods.
I guess that most shell projects start off as wanting to be a cross-platform solution to other operating systems, but somewhere in between either escalate to being their own programming language (like all the powershell revamps) or trying to reinvent the backwards-compatibility approach and/or POSIX standards (e.g. oil shell).
What I miss among all these new shell projects is a common standardization effort like sh/dash/bash/etc did back in the days. Without creating something like POSIX that also works on Windows and MacOS, all these shell efforts remain being only toy projects of developers without the possibility that they could actually replace the native shells of Linux distributions.
Most projects in the node.js area I've seen migrate their build scripts at some point to node.js, because maintaining packages and runtimes on Windows is a major shitshow. node.js has the benefit (compared to other environments) that it's a single .exe that you have to copy somewhere and then you're set to go.
When I compare that with python, for example, it is super hard to integrate. All the anaconda- or python-based bundles for ML engineers are pretty messed up environments on Windows; and nobody actually knows where their site-packages/libraries are really coming from and how to even update them correctly with upstream.
-
Project mention: This shell plugin I wrote writes your git commands | reddit.com/r/commandline | 2022-05-19
I'm using terminalizer (https://github.com/faressoft/terminalizer), however it might be a bit hard to get running, it doesn't seem to be maintained.
-
enquirer
Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author: https://github.com/jonschlinkert
In case you need to ask for user input, optionally you can use a prompt file. This is very useful to customize the output of the generator. Prompts are defined using a library named Enquirer.
-
https://github.com/denysdovhan/bash-handbook — for those who want to learn Bash without diving in too deeply
-
micromatch
Highly optimized wildcard and glob matching library. Faster, drop-in replacement to minimatch and multimatch. Used by webpack, babel core, yarn, jest, taro, bulma, browser-sync, documentation.js, stylelint, nyc, ava, and many others! Please follow micromatch's author: https://github.com/jonschlinkert
All of the downloads are from an old version of https://github.com/micromatch/micromatch.
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
-
Project mention: Show HN: A tool to send push notifications to your phone, written in Go | news.ycombinator.com | 2021-12-28
Nice work, Philipp! I wrote something similar at: https://notica.us
I didn't write an app, however. I rely on the browser notification API which doesn't have the best support on mobile unfortunately. It works great on desktop.
My inspiration was the same though. I do most of my work over ssh, and wanted a local desktop notification when a slow command was finished running.
-
Project mention: Cool Ways to Introduce Players to Delta Green | reddit.com/r/DeltaGreenRPG | 2021-10-25
I am using Fake Terminal Website by Luís Bragança for this. Bare bones and easy to edit website that simulates a terminal where you can enter commands to navigate. Also has a slide out sidebar with links if people are too lazy to figure stuff out.
-
-
Other pages provide complementary information on that same topic.
Another thing I appreciated was the explanation of MSYS2's environments:
https://www.msys2.org/docs/environments/
Being able to painlessly switch away from MSVCRT to UCRT was helpful in solving some UTF-8 difficulties I was experiencing at the time.
Package management with pacman is rather pleasant, and the setup-msys2 GitHub Action makes it simple to provide your GHA workflow with the tools and libs you want:
https://www.msys2.org/docs/package-management/
-
Project mention: Convert curl commands to code in several languages | news.ycombinator.com | 2022-03-11
All 3 of these are linked to under "Related Tools".
Those projects use a pretty basic tokenizer
https://github.com/luckymarmot/Paw-cURLImporter/blob/master/...
Insomnia and Postman use commander.js for their bash parsing which looks like it just splits on space:
https://github.com/tj/commander.js/blob/02a124c7d58dbae2ef11...
and only support a few of curl's options. Curlconverter uses tree-sitter's Bash grammar https://github.com/tree-sitter/tree-sitter-bash/ and tries to at least correctly discard all of curl's options and any options that curl used to have.
-
swell.sh
Web-based Terminal for Bash designed for mobile with autocomplete suggestion & gesture typing keyboard
-
-
add-copyright
This is a Script to Automate adding the Copyright text to one or more source files Recursively.
-
I think I have done a terrible mistake, I was looking for a Node Version Manager (for Windows) to use without elevated terminal and find this one : https://github.com/jchip/nvm but also having this one : https://github.com/coreybutler/nvm-windows installed
-
Project mention: Bash-to-powershell-converter: Converts bash script to powershell script | news.ycombinator.com | 2022-04-16
-
-
mediafire-direct
Using a normal Mediafire file download URL, I've created a bash script and website that should automatically redirect to the direct download URL.
-
github-commit-capacity
Testing how many commit can be committed to GitHub. So far 12,225,265 commits
This repo : 12,225,265+
-
you can check my i3 config. It has a little bit of everything. i3config
-
Project mention: Hosting two apps in different subdomain with Nginx? | reddit.com/r/nginx | 2021-10-27
A typical nginx configuration would look like this.
JavaScript Bash related posts
- linus torbalds tec tips
- This shell plugin I wrote writes your git commands
- I Prefer Makefiles over Package.json Scripts
- I am Linux Noob, need some help
- Please help
- Pop-os! Rice with Mac-OS BigSur theme and Paprius with Dash-to-Dock with all cosmic workspaces and cosmic dock disabled.
- Bash Cheatsheet - Everything you should know in one single file 🚀
Index
What are some of the best open-source Bash projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | zx | 31,351 |
2 | awesome-cheatsheets | 28,670 |
3 | shelljs | 13,228 |
4 | terminalizer | 12,679 |
5 | enquirer | 6,558 |
6 | bash-handbook | 4,883 |
7 | micromatch | 2,127 |
8 | nve | 568 |
9 | Notica | 285 |
10 | fake-terminal-website | 253 |
11 | cross-platform-terminal-characters | 181 |
12 | setup-msys2 | 139 |
13 | tree-sitter-bash | 105 |
14 | swell.sh | 103 |
15 | gulp-execa | 51 |
16 | add-copyright | 49 |
17 | nvm | 32 |
18 | bash-to-powershell-converter | 29 |
19 | orbital-frame | 13 |
20 | mediafire-direct | 10 |
21 | github-commit-capacity | 6 |
22 | i3wm-zsh-vim-termite-DOTFILES | 4 |
23 | Scripts | 1 |
Are you hiring? Post a new remote job listing for free.