{"id":29903378,"url":"https://github.com/clys-man/tdh","last_synced_at":"2026-04-07T22:31:46.533Z","repository":{"id":304890519,"uuid":"1020205941","full_name":"clys-man/tdh","owner":"clys-man","description":"Tmux Dev Helper(tdh) is a simple Bash script to automate the creation of tmux sessions for development projects. It opens windows for your editor, shell, Git, Docker/Sail, and Makefile tasks, making it easy to start working on any project with a single command.","archived":false,"fork":false,"pushed_at":"2025-07-15T22:05:53.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-01T17:18:33.780Z","etag":null,"topics":["docker","git","laravel","linux","neovim","tmux"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/clys-man.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,"zenodo":null}},"created_at":"2025-07-15T13:58:48.000Z","updated_at":"2025-07-18T10:51:43.000Z","dependencies_parsed_at":"2025-07-17T03:31:24.408Z","dependency_job_id":"d161c6bc-62bc-40ac-a9e2-4247dcc33f3c","html_url":"https://github.com/clys-man/tdh","commit_stats":null,"previous_names":["clys-man/tdh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/clys-man/tdh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clys-man%2Ftdh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clys-man%2Ftdh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clys-man%2Ftdh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clys-man%2Ftdh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clys-man","download_url":"https://codeload.github.com/clys-man/tdh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clys-man%2Ftdh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31532214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","git","laravel","linux","neovim","tmux"],"created_at":"2025-08-01T17:01:11.769Z","updated_at":"2026-04-07T22:31:46.528Z","avatar_url":"https://github.com/clys-man.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tmux-dev-helper\n\n`tmux-dev-helper` is a Bash script that automates the creation and management of [tmux](https://github.com/tmux/tmux) sessions for development projects. It can automatically open windows for editors, shells, Git tools, Docker/Sail environments, and Makefile builds, streamlining your workflow.\n\n## Features\n\n- Automatically creates a new tmux session for a given project directory.\n- Opens windows for:\n  - `nvim` (or your preferred editor)\n  - Shell\n  - [lazygit](https://github.com/jesseduffield/lazygit) if the directory is a Git repository\n  - [lazydocker](https://github.com/jesseduffield/lazydocker) if Docker or Sail is detected\n  - Makefile build window if a Makefile is present\n- Supports running Docker Compose or Laravel Sail in the background or interactively.\n- Verbose mode for running commands interactively in a dedicated window.\n\n## Requirements\n\n- [tmux](https://github.com/tmux/tmux)\n- [nvim](https://neovim.io/) (or change to your preferred editor in the script)\n- [lazygit](https://github.com/jesseduffield/lazygit) (optional, for Git integration)\n- [lazydocker](https://github.com/jesseduffield/lazydocker) (optional, for Docker integration)\n- [docker](https://www.docker.com/) and [docker-compose](https://docs.docker.com/compose/) (optional)\n- [Laravel Sail](https://laravel.com/docs/8.x/sail) (optional)\n- [make](https://www.gnu.org/software/make/) (optional)\n\n## Installation\n\nYou can install directly from GitHub using `curl` or `wget` (no sudo required):\n\n```zsh\n# Make sure ~/.local/bin exists and is in your $PATH\nmkdir -p ~/.local/bin\n\n# Using curl\ncurl -o ~/.local/bin/tdh \"https://raw.githubusercontent.com/clys-man/tdh/main/tdh.sh\" \u0026\u0026 chmod +x ~/.local/bin/tdh\n\n# Or using wget\nwget -O ~/.local/bin/tdh \"https://raw.githubusercontent.com/clys-man/tdh/main/tdh.sh\" \u0026\u0026 chmod +x ~/.local/bin/tdh\n```\n\nMake sure `~/.local/bin` is in your `$PATH`. You can add this to your `~/.bashrc`, `~/.zshrc`, or equivalent:\n\n```zsh\nexport PATH=\"$HOME/.local/bin:$PATH\"\n```\n\nAlternatively, you can clone or download this repository and move the script manually:\n\n1. Clone or download this repository.\n2. Make the script executable:\n\n   ```zsh\n   chmod +x tdh.sh\n   ```\n\n3. Move it to a directory in your `$PATH` (e.g., `~/.local/bin`):\n\n   ```zsh\n   mv tdh.sh ~/.local/bin/tdh\n   ```\n\n## Usage\n\n```zsh\ntdh [--docker] [--sail] [--make] [--verbose] [project_path]\n```\n\n- `--docker`: Use Docker Compose if `docker-compose.yml` is present.\n- `--sail`: Use Laravel Sail if `vendor/bin/sail` is executable.\n- `--make`: Open a window for `make` if a Makefile is present.\n- `--verbose`: Run Docker/Sail/Make commands interactively in a startup window.\n- `project_path`: Path to your project directory (defaults to current directory).\n\n**Note:** Do not use `--docker` and `--sail` together.\n\n## Example\n\n```zsh\ntdh --docker --make --verbose ~/Projects/my-app\n```\n\nThis will create a tmux session for `my-app` with windows for `nvim`, shell, lazygit, lazydocker, and make, running Docker Compose and Make interactively.\n\n---\n\nFeel free to customize the script to fit your workflow!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclys-man%2Ftdh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclys-man%2Ftdh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclys-man%2Ftdh/lists"}