{"id":17279990,"url":"https://github.com/aaqaishtyaq/gmux","last_synced_at":"2025-03-26T14:46:52.278Z","repository":{"id":41818221,"uuid":"440786139","full_name":"aaqaishtyaq/gmux","owner":"aaqaishtyaq","description":"⚙️ tmux session manager and task runner.","archived":false,"fork":false,"pushed_at":"2023-03-16T04:00:26.000Z","size":31,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"trunk","last_synced_at":"2025-01-31T16:17:27.414Z","etag":null,"topics":["golang","tmux","tool"],"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/aaqaishtyaq.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-22T08:25:09.000Z","updated_at":"2022-04-18T07:17:58.000Z","dependencies_parsed_at":"2024-06-21T02:15:22.923Z","dependency_job_id":null,"html_url":"https://github.com/aaqaishtyaq/gmux","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaqaishtyaq%2Fgmux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaqaishtyaq%2Fgmux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaqaishtyaq%2Fgmux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaqaishtyaq%2Fgmux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaqaishtyaq","download_url":"https://codeload.github.com/aaqaishtyaq/gmux/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245675900,"owners_count":20654492,"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":["golang","tmux","tool"],"created_at":"2024-10-15T09:19:11.424Z","updated_at":"2025-03-26T14:46:52.257Z","avatar_url":"https://github.com/aaqaishtyaq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gmux ![Gopher with tmux](https://github.com/dvit0/fsrv-cdn/raw/b7b656d9d06f4add2e4d72011e409472be40d826/files/go-tmux.png)\n\nTmux session manager.\nGmux automates your [tmux](https://github.com/tmux/tmux) workflow. You can create a single configuration file, and Gmux will create all the required windows and panes from it.\n\n## Usage\n\n```shell\ngmux \u003ccommand\u003e [\u003cproject\u003e] [-f, --file \u003cfile\u003e] [-w, --windows \u003cwindow\u003e]... [-a, --attach] [-d, --debug]\n```\n\n### Options\n\n```console\n-f, --file A custom path to a config file\n-w, --windows List of windows to start. If session exists, those windows will be attached to current session.\n-a, --attach Force switch client for a session\n-i, --inside-current-session Create all windows inside current session\n-d, --debug Print all commands to ~/.config/gmux/gmux.log\n--detach Detach session. The same as `-d` flag in the tmux\n```\n\n## Examples\n\n## Getting started\n\nTo create a new project, or edit an existing one:\n\n```shell\n% gmux new work\n% gmux edit work\n```\n\nTo start/stop a project and all windows:\n\n```shell\n% gmux start work\n% gmux stop work\n```\n\n### Example Config\n\nSample config should look like this.\n\n```yaml\nsession: work\n\nroot: ~/Developer/work\n\nbefore_start:\n  - docker-compose -f work-backend/docker-compose.yml up -d # path relative to root\n\nenv:\n  FOO: BAR\n\nstop:\n  - docker stop $(docker ps -q)\n\nwindows:\n  - name: code\n    root: work # a relative path to root\n    manual: true # you can start this window only manually, using the -w arg\n    layout: main-vertical\n    commands:\n      - docker-compose start\n    panes:\n      - type: horizontal\n        root: .\n        commands:\n          - vim work-backend\n\n  - name: infrastructure\n    root: ~/Developer/work/work-backend\n    layout: tiled\n    panes:\n      - type: horizontal\n        root: .\n        commands:\n          - docker-compose up -d\n          - docker-compose exec rails /bin/bash\n          - clear\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaqaishtyaq%2Fgmux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaqaishtyaq%2Fgmux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaqaishtyaq%2Fgmux/lists"}