Top 10 Go Scripting Projects
-
Project mention: How do I know an app is safe on macOS? | reddit.com/r/cybersecurity_help | 2022-05-08
xbar https://github.com/matryer/xbar/releases/tag/v2.1.7-beta
-
Project mention: Planning to learn Go, does it have this feature? | reddit.com/r/commandline | 2022-05-06
Parallel to my other comment, u/Akirapearl, if you find yourself getting annoyed at Go’s system-language focus, you might find John’s “script” Go library useful: https://github.com/bitfield/script
-
SonarLint
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
-
-
re ls: `https://github.com/TekWizely/run` displays targets in the usage command (ie `run -h`). It might be worth looking at their output for inspiration. (Runfiles are doing something similar to Earthfiles).
-
That's pretty cool.
I wrote something similar in my static collection of sysadmin tools - https://github.com/skx/sysbox - In my simple pre-processor I only allow two special things:
#include "file/goes/here"
-
-
scripting is something i have a lot less experience in, both in binary and decomp. from the little scripting i've done, writing in poryscript seems a lot like writing in binary script languages, except that you don't have to worry about offsets and free space. i think this is the main difference you'll find if you only make simple events.
-
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.
-
decksh
decksh implements a domain-specific scripting language for presentations, visualizations, and information displays
I just recently found out about https://github.com/ajstarks/decksh, and it seems very interesting.
-
Project mention: Alternative to traditional RMM for Linux Monitoring and Management? | reddit.com/r/msp | 2022-05-11
I don't have anything deliverable yet, but I'm working on an open source RMM. Maybe keep an eye out. https://github.com/ballresin/ratd
-
Project mention: Show HN: Automation the KISS way. No YAML involved | news.ycombinator.com | 2022-03-25
I couldn't agree more with you about Ansible... I've started using Ansible in two projects, and I think it was enough for me... Ansible is perhaps great when you have granular tasks, that maybe don't need to communicate between them, or perhaps that don't have too much logic (or worse loops). However, as soon as your Ansible "scripts" start becoming actual "scripts", everything gets out of hand... (Also the performance is terrible due to the fact that each task is "bundled" on the host, copied remotely, extracted, executed, deleted, repeat for each and every instance of the same task...)
----
Now about your `tricorder`, by looking at the readme, I gather it just allows one to run the same command over multiple hosts (filtered by name or tag), but nothing beyond that? How could one run for example a pipeline of tools on the remote hosts? (I assume `bash -c 'tool-1 | tool-2'`, but with careful escaping?)
Perhaps a first step towards actually being an "Ansible replacement" would be to bring back in some "scripting" ability. For example instead of giving each command as arguments, there could be a "library of scripts", and the user can choose one of those to run on each remote host. Then those scripts could be written in whatever language the user chooses (`bash`, Python, Ruby, etc.)
Also, with regard to the "library of scripts", one thing that Ansible got right is the possibility to put multiple different tasks in the same file, thus one doesn't need 20 files for 20 small tasks, but instead these can be put inside the same YAML file.
----
For example this is how I did it in my own "Ansible replacement", <https://github.com/volution/z-run>, like for example, one can write something like these snippets: <https://github.com/volution/z-run/blob/development/examples/...> (see `ssh / launch / simple` that runs locally which just calls `z-run ssh "${_target}" ':: ssh / remote / main' "${@}"`, which is in itself a non trivial `bash` script, one that will run remotely.)
In the end, what I think we need, is a tool to easily run "scripts" on a remote system, but make it as easy to use as it would be on the local machine. (Sort of like the RPC but across SSH and for scripts.)
Go Scripting related posts
Index
What are some of the best open-source Scripting projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | bitbar | 16,072 |
2 | script | 2,737 |
3 | abs | 444 |
4 | run | 404 |
5 | sysbox | 153 |
6 | LadyLua | 75 |
7 | poryscript | 71 |
8 | decksh | 9 |
9 | ratd | 6 |
10 | z-run | 3 |
Are you hiring? Post a new remote job listing for free.