Go Scripting

Open-source Go projects categorized as Scripting | Edit details

Top 10 Go Scripting Projects

  • bitbar

    Put the output from any script or program into your macOS Menu Bar (the BitBar reboot)

    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

  • script

    Making it easy to write shell-like scripts in Go

    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.

  • abs

    Home of the ABS programming language: the joy of shell scripting.

    Project mention: Guide: Hush Shell-Scripting Language | news.ycombinator.com | 2022-04-25
  • run

    Easily manage and invoke small scripts and wrappers (by TekWizely)

    Project mention: Show HN: Earthly v0.6 | news.ycombinator.com | 2021-12-02

    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).

  • sysbox

    sysadmin/scripting utilities, distributed as a single binary (by skx)

    Project mention: M4 – the one true templating language | news.ycombinator.com | 2021-07-29

    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"

  • LadyLua

    Single executable(static), batteries included, Lua 5.1 interpreter.

  • poryscript

    High-level scripting language for gen 3 pokemon decompilation projects

    Project mention: Bi-Weekly Questions Thread | reddit.com/r/PokemonROMhacks | 2021-08-15

    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

    Project mention: What is the best free slideshow maker?? | reddit.com/r/freesoftware | 2021-09-23

    I just recently found out about https://github.com/ajstarks/decksh, and it seems very interesting.

  • ratd

    IT Asset Fleet Remote Management and Monitoring (RMM) platform

    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

  • z-run

    z-run -- scripting library lightweight Go-based tool

    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.)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-05-11.

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
Find remote jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com