{"id":20799851,"url":"https://github.com/xnacly/gleichzeitig","last_synced_at":"2026-03-12T01:37:23.611Z","repository":{"id":149052559,"uuid":"619457496","full_name":"xNaCly/gleichzeitig","owner":"xNaCly","description":"Run shell scripts, commands and executables in parallel","archived":false,"fork":false,"pushed_at":"2023-04-04T06:17:13.000Z","size":36,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T23:33:06.735Z","etag":null,"topics":["go","golang","parallel","script","scripting","shell"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xNaCly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-03-27T07:20:09.000Z","updated_at":"2023-03-30T10:29:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"38266dd7-ed16-4c65-a46a-e08b830ec579","html_url":"https://github.com/xNaCly/gleichzeitig","commit_stats":{"total_commits":30,"total_committers":1,"mean_commits":30.0,"dds":0.0,"last_synced_commit":"fb9472131aa5f8ca53129d211f147231f58ca32d"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/xNaCly/gleichzeitig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xNaCly%2Fgleichzeitig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xNaCly%2Fgleichzeitig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xNaCly%2Fgleichzeitig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xNaCly%2Fgleichzeitig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xNaCly","download_url":"https://codeload.github.com/xNaCly/gleichzeitig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xNaCly%2Fgleichzeitig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273017549,"owners_count":25031594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","parallel","script","scripting","shell"],"created_at":"2024-11-17T18:10:28.411Z","updated_at":"2026-03-12T01:37:23.553Z","avatar_url":"https://github.com/xNaCly.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gleichzeitig\n\nRun shell scripts, commands and executables in parallel (ger: gleichzeitig).\n\nhttps://user-images.githubusercontent.com/47723417/228802151-056a549a-5bbf-43af-8de3-b1f84b2a5792.mp4\n\n## Install\n\n### From release\n\n1. Download the [latest release](https://github.com/xNaCly/gleichzeitig/releases/latest) for your architecture.\n2. Extract the archive\n3. Move the binary to an executable path:\n   - Linux:\n     ```console\n     $ sudo mv ./gleichzeitig /usr/bin/gleichzeitig\n     ```\n   - Windows:\n     \u003e copy `gleichzeitig` to `C:\\Program Files`\n\n### From source\n\n\u003e requires git and go\n\n1. clone the repo\n\n```console\n$ git clone https://github.com/xnacly/gleichzeitig\n$ cd gleichzeitig\n```\n\n2. build the project\n\n```console\n$ go build\n```\n\n3. move the build executable into the path\n\n```console\n$ sudo mv ./gleichzeitig /usr/bin/gleichzeitig\n```\n\n4. execute to check if everything worked\n\n```console\n$ gleichzeitig\n```\n\n## Concept\n\n_gleichzeitig_ starts all commands specified in its configuration and keeps them running until they terminate.\nIt redirects all stdout and stderr to its own output and throws errors if a process terminates prematurely or with a non 0 exit code.\n\n## Configuration\n\nTo keep the _gleichzeitig_ setup low friction, the `gleichzeitig init` command creates the configuration directory and the `config.json` file with the default configuration in it.\n\nThe configuration is located at `.gleichzeitig/config.json` in the current working directory and is composed of the following key value pairs:\n\n```json\n{\n  \"only_color_prefix\": true,\n  \"color_output\": true,\n  \"commands\": [],\n  \"log_file\": \"\",\n  \"surpress_output\": false\n}\n```\n\n- `only_color_prefix`: wheter to color the full stdout and stderr prints or only the prefixes: `0x |`\n- `color_output`: whether the output of the individual commands should be coloured different to allow the user to differentiate between them\n- `commands`: array of instructions _gleichzeitig_ executes, of the following format:\n  ```json\n  {\n    \"cwd\": \".gleichzeitig\",\n    \"cmd\": \"echo 'test'\"\n  }\n  ```\n  - `cwd`: specify the working directory for the command to execute in, supports relative paths\n  - `cmd`: the command to execute, if not found error is thrown\n- `log_file`: the file to write all logs to\n- `surpress_output`: whether the commands stdout and stderr should be printed\n\n## Usage\n\n| command    | description                                                      | example                                          |\n| ---------- | ---------------------------------------------------------------- | ------------------------------------------------ |\n|            | executes the commands in the config                              | `gleichzeitig`                                   |\n| run,r      | executes the arguments as commands                               | `gleichzeitig run \"echo 'hello world'\" \"ls -la\"` |\n| init, i    | creates the config dir, file and writes the default config to it | `gleichzeitig init`                              |\n| version, v | prints the version, exits                                        | `gleichzeitig version`                           |\n| help, h    | prints the help, exits                                           | `gleichzeitig help`                              |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxnacly%2Fgleichzeitig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxnacly%2Fgleichzeitig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxnacly%2Fgleichzeitig/lists"}