Our great sponsors
ngs | nsd | |
---|---|---|
94 | 8 | |
1,352 | 4 | |
3.5% | - | |
4.0 | 4.7 | |
3 days ago | 4 months ago | |
C | ||
GNU General Public License v3.0 only | MIT License |
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.
ngs
- Next Generation Shell – a modern programming language for DevOps
-
Ask HN: Show me your half baked project
Next Generation Shell. As a shell, it's a programming language and a UI. Half baked: programming language - pretty much done, we use it at work; UI - just starting to work on.
Ananlysis of what's wrong with current shells' UIs and how to fix it - https://blog.ngs-lang.org/2023/09/30/ui-in-ngs/
Project - https://github.com/ngs-lang/ngs
Any help would be appreciated of course :)
-
AWS while being great at the underlying services, had by far the worst user experience ever existed on a platform at that scale
The plan for UI is at https://github.com/ngs-lang/ngs/wiki/UI-Design
- NGS v0.2.16 is out
-
How NGS started? – Next Generation Shell
The site is at https://ngs-lang.org/
-
Next Generation Shell
Project: https://github.com/ngs-lang/ngs
-
I'm trying to switch from Python to Lua so I can get into game development... where do I start?
There are number of new ones coming out ...and I'm curious of https://github.com/ngs-lang/ngs. As a language nerd, have you seen that?
- Monthly 'Shameless Self Promotion' thread - 2023/01
-
Telegraph and the Unix Shell
Thanks, took a note - https://github.com/ngs-lang/ngs/issues/621
- Building a simple shell in C – Part 3
nsd
-
Announcing Hush, a modern shell scripting language
Repository of scripts written in the language - https://github.com/ngs-lang/nsd
-
Bash functions are better than I thought
> there isn't really an entry point in murex scripts
I have a nice trick in NGS for that. Under the idea that "small scripts should not suffer", script is running top to bottom without "entry point". However, if the script has defined main() function, it is invoked (with command line arguments passed).
Example - https://github.com/ngs-lang/nsd/blob/afe0cad5e506ec4ee2fa924...
> `args` still contains more boilerplate code than I'm happy with
Is there anything preventing you to have exactly the same functionality but with syntactic sugar that it looks like parameters declaration? (Just to be clear, keeping all the ARGV machinery).
Something like (assuming local variables are supported; if not, it could still be $args[Flags] etc):
function hippo(name:str, hungry:bool) {
-
I love jq, I hate jq. Help a competent grepper get a grasp on the terse language!
NGS Scripts Dumpster - collection of small scripts in NGS
- GitHub – nushell/nushell: A new type of shell
-
No, you can't do it better in Python or bash (challenge)
Doing DevOps today? 99% either abuse bash or abuse a general purpose programming language.
bash does not meet any modern expectations from a programming language: syntax, error handling, data structures
General purpose languages such as Python, Ruby, etc are not domain specific enough to have the desired facilities.
Here is small example of straightforward solution to a small problem: list all CloudFormation stacks that are managed by the given CodePipeline.
https://github.com/ngs-lang/nsd/blob/02d66abb844b7dd6077b9976e3a03659cf4b3660/aws/codepipeline/pipeline-stacks.ngs
- Which CloudFormation stacks are managed by a CodePipeline - script
-
Delete CloudFormation Stack Including S3 Objects
The script is at https://github.com/ngs-lang/nsd/blob/master/aws/cloudformation/delete-stack.ngs
- What is your favorite shell and why
What are some alternatives?
nushell - A new type of shell
bash-core - Core functions for any Bash program.
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
oh - A new Unix shell.
fx - Terminal JSON viewer & processor
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
ShellCheck - ShellCheck, a static analysis tool for shell scripts
bashly - Bash command line framework and CLI generator
basalt - The rock-solid Bash package manager.