{"id":26613783,"url":"https://github.com/alexchao26/oneterminal","last_synced_at":"2025-10-08T03:40:06.980Z","repository":{"id":48976716,"uuid":"309908918","full_name":"alexchao26/oneterminal","owner":"alexchao26","description":"Like tmux, but configured via yaml. Run multiple commands from one.","archived":false,"fork":false,"pushed_at":"2021-07-02T15:51:40.000Z","size":300,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T04:42:37.787Z","etag":null,"topics":["bash","cli","devtool","go","golang","oneterminal","sh","yaml","zsh"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexchao26.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}},"created_at":"2020-11-04T06:21:38.000Z","updated_at":"2022-03-09T02:26:07.000Z","dependencies_parsed_at":"2022-08-30T07:51:52.685Z","dependency_job_id":null,"html_url":"https://github.com/alexchao26/oneterminal","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexchao26%2Foneterminal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexchao26%2Foneterminal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexchao26%2Foneterminal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexchao26%2Foneterminal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexchao26","download_url":"https://codeload.github.com/alexchao26/oneterminal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248148708,"owners_count":21055639,"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","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":["bash","cli","devtool","go","golang","oneterminal","sh","yaml","zsh"],"created_at":"2025-03-24T04:38:38.302Z","updated_at":"2025-10-08T03:40:01.961Z","avatar_url":"https://github.com/alexchao26.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oneterminal to rule them all!\n\nA configurable CLI to run multiple terminal windows from a single command.\n![example command](.github/carbon_example.png)\n\n# Overview\n\noneterminal is a CLI written in [Go](https://golang.org/). Each command is configured in a YAML file stored in the ~/.config/oneterminal directory. For more details on how to configure a command, refer to [example configurations](#example-configurations).\n\n# How to Install\n\nIf you have a local [Go 1.16+ installation](https://golang.org/doc/install) use [`go install`](https://golang.org/doc/go1.16#go-command):\n\n```go\ngo install github.com/alexchao26/oneterminal@latest\n```\n\n### From Github releases\nAlternatively, you can download the binary directly from the [Github releases](https://github.com/alexchao26/oneterminal/releases).\n\nNote that development was mostly on a Mac with `go version go1.16.2 darwin/amd64` and some standard library packages (like [os/exec](https://golang.org/pkg/os/exec/)) do not have full support on Windows.\n\n# Example Configurations\n\n## Utilizing the example config generator\n`oneterminal example` will create a config at ~/.config/oneterminal/example.yml containing helpful comments about each yaml field\n```yaml\n# The name of the command. Alphanumeric, dash and hyphens are accepted\nname: somename\n\n# shell to use (zsh|bash|sh), defaults to zsh\nshell: zsh\n\n# a short description of what this command does\nshort: an example command that says hello twice\n# OPTIONAL: longer description of what this command does\nlong: Optional longer description\n\n# An array of commands, each command consists of:\n#   1. command {string}: the command to run directly in a shell\n#   2. name {string default: \"\"}: used to prefix each line of this command's\n#        output AND for other commands to list dependencies\n#        NOTE: an empty string is a valid name and is useful for things like\n#           vault which write to stdout in small chunks\n#   3. directory {string, default: $HOME}: what directory to run the command in\n#        NOTE: use $HOME, not ~. This strings gets passed through os.ExpandEnv\n#   4. silence {boolean, default: false}, silence this command's output?\n#   5. depends-on {[]string, optional}: which (names of) commands to wait for\n#   6. ready-regexp {string, optional}: a regular expression that the outputs\n#        must match for this command to be considered \"ready\" and for its\n#        dependants to begin running\n#   7. environment {map[string]string, optional} to set environment variables\ncommands:\n- name: greeter-1\n  command: echo hello from window 1\n  directory: $HOME/go\n  ready-regexp: \"window [0-9]\"\n  silence: false\n- name: greeter-2\n  command: echo hello from window 2\n  silence: false\n  depends-on:\n  - greeter-1\n- name: \"\"\n  command: echo \"they silenced me :'(\"\n  silence: true\n```\n\nThis is an example of a slightly more complex configuration that calls a ticker program (in the [examples folder](./examples/ticker/main.go))\n```yml\nname: tick\nshort: a few tickers that rely on each other\ncommands:\n- name: ticker-UNO\n  command: go run main.go\n  ready-regexp: \"tick [5-9]\"\n  directory: $HOME/go/src/github.com/alexchao26/oneterminal/examples/ticker\n- name: ticker-two\n  command: SECONDS=3 go run main.go\n  directory: $HOME/go/src/github.com/alexchao26/oneterminal/examples/ticker\n  depends-on:\n    - ticker-UNO\n- name: ticker-3\n  command: go run main.go\n  directory: $HOME/go/src/github.com/alexchao26/oneterminal/examples/ticker\n  depends-on:\n    - silent-ticker\n    - ticker-two\n  environment:\n    SECONDS: 8\n- name: silent-ticker\n  command: go run main.go\n  directory: $HOME/go/src/github.com/alexchao26/oneterminal/examples/ticker\n  silence: true\n```\n\nRun `oneterminal help` to see this command show up under available commands. Note that this command's name is set by the name field in example.yml.\n\n# oneterminal Commands\n\nCommand                                  | Description\n-----------------------------------------|--------------------------------------\n`oneterminal example`                    | Makes a demo oneterminal config in ~/.config/oneterminal\n`oneterminal completion --help`          | Get helper text to setup shell completion for zsh or bash shells\n`oneterminal version`                    | Print the version number of oneterminal\n`oneterminal list`                       | List only configured commands\n`oneterminal help`                       | Help about any command\n`oneterminal update`                     | Updates oneterminal to latest release\n`oneterminal \u003cyour-configured-commands\u003e` | Your commands configured via ~/.config/oneterminal/*.yml\n\n# Contributing to oneterminal\n\nThis project is still in its infancy and its future path is undetermined.\n\nI welcome contributions but ask that you open an issue to discuss bugs and desired features!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexchao26%2Foneterminal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexchao26%2Foneterminal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexchao26%2Foneterminal/lists"}