[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7987":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},7987,"teamocil","remi\u002Fteamocil","remi","There's no I in Teamocil. At least not where you think. Teamocil is a simple tool used to automatically create windows and panes in tmux with YAML files.","",null,"Ruby",2409,101,40,19,0,1,3,58.83,"MIT License",false,"master",true,[25],"tmux","2026-06-12 04:00:36","\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fremiprev\u002Fteamocil\">\n    \u003Cimg src=\"http:\u002F\u002Fi.imgur.com\u002FNX2eV2X.png\" alt=\"Teamocil\" \u002F>\n  \u003C\u002Fa>\n  \u003Cbr \u002F>\n  Teamocil is a simple tool used to automatically create\u003Cbr \u002F> windows and panes in \u003Ca href=\"http:\u002F\u002Ftmux.sourceforge.net\">tmux\u003C\u002Fa> with YAML files.\n  \u003Cbr \u002F>\u003Cbr \u002F>\n  \u003Ca href=\"https:\u002F\u002Frubygems.org\u002Fgems\u002Fteamocil\">\u003Cimg src=\"http:\u002F\u002Fimg.shields.io\u002Fgem\u002Fv\u002Fteamocil.svg\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Ftravis-ci.org\u002Fremiprev\u002Fteamocil\">\u003Cimg src=\"http:\u002F\u002Fimg.shields.io\u002Ftravis\u002Fremiprev\u002Fteamocil.svg\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## Installation\n\n```bash\n# Install the `teamocil` Ruby gem\n$ gem install teamocil\n\n# Create your layout directory\n$ mkdir ~\u002F.teamocil\n\n# Edit ~\u002F.teamocil\u002Fsample.yml (look for sample layouts in this very `README.md`)\n$ teamocil --edit sample\n\n# Launch tmux\n$ tmux\n\n# Run your newly-created sample layout\n$ teamocil sample\n```\n\n## Usage\n\n```bash\n$ teamocil [options] [layout-name]\n```\n\n### Global options\n\n| Option      | Description\n|-------------|----------------------------\n| `--list`    | Lists all available layouts in `~\u002F.teamocil`\n\n### Layout options\n\n| Option      | Description\n|-------------|----------------------------\n| `--layout`  | Takes a custom file path to a YAML layout file instead of `[layout-name]`\n| `--here`    | Uses the current window as the layout’s first window\n| `--edit`    | Opens the layout file with `$EDITOR` instead of executing it\n| `--show`    | Shows the layout content instead of executing it\n\n## Upgrading\n\nTeamocil 1.0 is a complete rewrite (from scratch!) of Teamocil. The code is now\nvery much simpler, cleaner and easier to maintain.\n\nThe downside of that is that several features were dropped during the rewrite\nprocess, mostly because I didn’t actually use\u002Fneed them and I got tired of\nmaintaining features I don’t think are useful.\n\nYou *might* have to clean up your layout files after upgrading to 1.0. I’m\nsorry about that. The documentation in `README.md` should help you find which\nkeys are now supported.\n\nThe [`0.4-stable` branch](https:\u002F\u002Fgithub.com\u002Fremiprev\u002Fteamocil\u002Ftree\u002F0.4-stable) is still available with the old code. Feel free to fork the repository and add back as many features as you want :)\n\n## Configuration\n\n### Session\n\n| Key       | Description\n|-----------|----------------------------\n| `name`    | The tmux session name\n| `windows` | An `Array` of windows\n\n### Windows\n\n| Key       | Description\n|-----------|----------------------------\n| `name`    | The tmux window name _(required)_\n| `root`    | The path where all panes in the window will be started\n| `layout`  | The layout that will be set after all panes are created by Teamocil\n| `panes`   | An `Array` of panes\n| `focus`   | If set to `true`, the window will be selected after the layout has been executed\n| `options` | A `Hash` of options that will be set with the `set-window-option` command\n\n### Panes\n\nA pane can either be a `String` or a `Hash`. If it’s a `String`, Teamocil will\ntreat it as a single-command pane.\n\n| Key        | Description\n|------------|----------------------------\n| `commands` | An `Array` of commands that will be ran when the pane is created\n| `focus`    | If set to `true`, the pane will be selected after the layout has been executed\n\n## Examples\n\n### Simple two pane window\n\n```yaml\nwindows:\n  - name: sample-two-panes\n    root: ~\u002FCode\u002Fsample\u002Fwww\n    layout: even-horizontal\n    panes:\n      - git status\n      - rails server\n```\n\n```\n.------------------.------------------.\n| (0)              | (1)              |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n'------------------'------------------'\n```\n\n### Simple three pane window\n\n```yaml\nwindows:\n  - name: sample-three-panes\n    root: ~\u002FCode\u002Fsample\u002Fwww\n    layout: main-vertical\n    panes:\n      - vim\n      - commands:\n        - git pull\n        - git status\n      - rails server\n```\n\n```\n.------------------.------------------.\n| (0)              | (1)              |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|                  |------------------|\n|                  | (2)              |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n'------------------'------------------'\n```\n\n### Simple four pane window\n\n```yaml\nwindows:\n  - name: sample-four-panes\n    root: ~\u002FCode\u002Fsample\u002Fwww\n    layout: tiled\n    panes:\n      - vim\n      - foreman start web\n      - git status\n      - foreman start worker\n```\n\n```\n.------------------.------------------.\n| (0)              | (1)              |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|------------------|------------------|\n| (2)              | (3)              |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n'------------------'------------------'\n```\n\n### Two pane window with focus in second pane\n\n```yaml\nwindows:\n  - name: sample-two-panes\n    root: ~\u002FCode\u002Fsample\u002Fwww\n    layout: even-horizontal\n    panes:\n      - rails server\n      - commands:\n          - rails console\n        focus: true\n```\n\n```\n.------------------.------------------.\n| (0)              | (1) \u003Cfocus here> |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n|                  |                  |\n'------------------'------------------'\n```\n\n## Extras\n\n### Zsh autocompletion\n\nTo get autocompletion when typing `teamocil \u003CTab>` in a zsh session, add this line to your `~\u002F.zshrc` file:\n\n```zsh\ncompctl -g '~\u002F.teamocil\u002F*(:t:r)' teamocil\n```\n\n[zsh-completions](https:\u002F\u002Fgithub.com\u002Fzsh-users\u002Fzsh-completions) also provides\nadditional completion definitions for Teamocil.\n\n### Bash autocompletion\n\nTo get autocompletion when typing `teamocil \u003CTab>` in a bash session, add this line to your `~\u002F.bashrc` file:\n\n```bash\ncomplete -W \"$(teamocil --list)\" teamocil\n```\n\n### Fish autocompletion\n\nTo get autocompletion when typing `teamocil \u003CTab>` in a fish session,\nadd the following file `~\u002F.config\u002Ffish\u002Fcompletions\u002Fteamocil.fish` with\nthe following content:\n\n```fish\ncomplete -x -c teamocil -a '(teamocil --list)'\n```\n\n### Custom window layout\n\nTeamocil supports all the window layout names supported by tmux.\n\n* `even-horizontal`\n* `even-vertical`\n* `main-horizontal`\n* `main-vertical`\n* `tiled`\n\nHowever, it also supports the custom format understood by tmux. This is\nespecially useful if you want to manually resize your panes and keep using that\nlayout in the future.\n\nYou can grab the layout for the current window by running this command:\n\n```bash\ntmux list-windows -F \"#{window_active} #{window_layout}\" | grep \"^1\" | cut -d \" \" -f 2\n```\n\nYou can then use the result as the `layout` key for any Teamocil window object.\n\n```yaml\nwindows:\n  - name: sample-two-uneven-panes\n    layout: 00c7,158x38,0,0[158x9,0,0,37,158x28,0,10,39]\n    panes:\n      - echo foo\n      - echo bar\n```\n\n## Contributors\n\nFeel free to contribute and submit issues\u002Fpull requests\n[on GitHub](https:\u002F\u002Fgithub.com\u002Fremiprev\u002Fteamocil\u002Fissues), just like these fine\nfolks did:\n\n* [@garno](https:\u002F\u002Fgithub.com\u002Fgarno)\n* [@jbourassa](https:\u002F\u002Fgithub.com\u002Fjbourassa)\n* [@bdimcheff](https:\u002F\u002Fgithub.com\u002Fbdimcheff)\n* [@jscheel](https:\u002F\u002Fgithub.com\u002Fjscheel)\n* [@mklappstuhl](https:\u002F\u002Fgithub.com\u002Fmklappstuhl)\n\n## License\n\nTeamocil is © 2011-2016 [Rémi Prévost](http:\u002F\u002Fexomel.com) and may be freely\ndistributed under the [MIT license](https:\u002F\u002Fgithub.com\u002Fremiprev\u002Fteamocil\u002Fblob\u002Fmaster\u002FLICENSE.md).\nSee the `LICENSE.md` file for more information.\n","Teamocil 是一个通过 YAML 文件自动创建 tmux 窗口和面板的简单工具。其核心功能包括使用 YAML 配置文件定义 tmux 会话、窗口及面板布局，并支持多种命令行选项，如列出所有可用布局或直接编辑指定布局文件等。基于 Ruby 开发，Teamocil 提供了灵活且易于维护的配置方式来管理复杂的终端环境。适用于需要频繁切换多任务或多窗口操作的开发者，尤其是在进行代码调试、日志监控或系统管理时，能够显著提高工作效率。",2,"2026-06-11 03:15:29","top_language"]