{"id":21723158,"url":"https://github.com/theiskaa/tx","last_synced_at":"2026-05-10T10:07:06.231Z","repository":{"id":218396247,"uuid":"746289013","full_name":"theiskaa/tx","owner":"theiskaa","description":"Simple python script to quickly setup TMUX sessions for all my projects","archived":false,"fork":false,"pushed_at":"2024-01-21T18:08:31.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-25T19:08:57.176Z","etag":null,"topics":["python","script","tmux","tmux-sessions"],"latest_commit_sha":null,"homepage":"","language":"Python","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/theiskaa.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}},"created_at":"2024-01-21T16:23:39.000Z","updated_at":"2024-12-28T13:34:39.000Z","dependencies_parsed_at":"2024-01-21T18:30:11.691Z","dependency_job_id":"b6bbbfd4-3def-4031-bc1d-bf1dbc0a949b","html_url":"https://github.com/theiskaa/tx","commit_stats":null,"previous_names":["theiskaa/tx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theiskaa%2Ftx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theiskaa%2Ftx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theiskaa%2Ftx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theiskaa%2Ftx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theiskaa","download_url":"https://codeload.github.com/theiskaa/tx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244700611,"owners_count":20495574,"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":["python","script","tmux","tmux-sessions"],"created_at":"2024-11-26T02:37:23.755Z","updated_at":"2026-05-10T10:07:06.195Z","avatar_url":"https://github.com/theiskaa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TX\n\n`tx` is a script that automates the setup of TMUX sessions. It can create predefined TMUX sessions based on a JSON template or individual sessions with specified names and directory paths.\n\n## How It Works\n\nThe script sets up TMUX sessions with specific window and pane configurations. For each session, it creates three windows named \"code\", \"src\", and \"notya\". The \"src\" window has split panes, while the others have a single pane.\n\nPlease only open pull requests that fix bugs or adds improvements without any breaking changes.\nThese dotfiles are very personal, and I know that everyone has a different taste; hence fork this repository or copy/paste them into your own dotfiles repo.\n\n## Usage\n\n### Using a JSON Template File\n\n1. **Prepare a JSON Template File**: This file should list sessions with their names and desired start paths.\n\n   Example (`sessions.json`):\n   ```json\n   [\n     {\"session1\": \"/path/to/dir1\"},\n     {\"session2\": \"/path/to/dir2\"}\n   ]\n   ```\n   Replace `session1`, `session2`, etc., with your desired session names, and `/path/to/dir1`, `/path/to/dir2`, etc., with their start paths.\n\n2. **Run the Script**: Execute the script with the path to your JSON template file.\n   ```\n   python main.py -t sessions.json\n   ```\n\n### Creating a Single Session Directly\n\nTo create an individual session:\n```\npython main.py -n session_name -p /path/to/directory\n```\nReplace `session_name` with the desired session name and `/path/to/directory` with the start path.\n\n## Command-line Arguments\n\n- `-t` or `--template`: Path to the JSON template file.\n- `-n` or `--name`: Name of the TMUX session.\n- `-p` or `--path`: Path for the session.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheiskaa%2Ftx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheiskaa%2Ftx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheiskaa%2Ftx/lists"}