{"id":17153192,"url":"https://github.com/axect/zellaygen","last_synced_at":"2025-04-13T12:43:54.129Z","repository":{"id":43916173,"uuid":"511766280","full_name":"Axect/Zellaygen","owner":"Axect","description":"Zellij Layout Generator","archived":false,"fork":false,"pushed_at":"2024-01-28T12:55:38.000Z","size":159,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T16:10:15.723Z","etag":null,"topics":["layout","rust","zellij"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Axect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-07-08T04:52:57.000Z","updated_at":"2025-01-16T11:52:50.000Z","dependencies_parsed_at":"2024-01-28T14:07:14.898Z","dependency_job_id":"97a96cc5-86d9-46ed-9d28-2dfc084d394c","html_url":"https://github.com/Axect/Zellaygen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axect%2FZellaygen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axect%2FZellaygen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axect%2FZellaygen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axect%2FZellaygen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Axect","download_url":"https://codeload.github.com/Axect/Zellaygen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717240,"owners_count":21150387,"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":["layout","rust","zellij"],"created_at":"2024-10-14T21:45:32.464Z","updated_at":"2025-04-13T12:43:54.094Z","avatar_url":"https://github.com/Axect.png","language":"Rust","readme":"# ZelLayGen (Zellij Layout Generator)\n\n\u003cp style=\"text-align: center;\"\u003e\n\u003cimg src=\"./zellaygen_1.png\"\u003e\n\u003c/p\u003e\n\nEasy to generate `layout.kdl` for [Zellij](https://zellij.dev)\n\n## Prerequisites\n\n- Rust\n- Cargo\n\n## Usage\n\n1. Copy `config_template.toml` to `config.toml`\n2. Edit `config.toml`\n    - `name` : Name of session \u0026 kdl file - `{name}.kdl`\n    - `dir` : Directory to your project dir - `~/path/to/project`\n    - `editor_cmd` : Editor open dir command (e.g. `nvim`, `code .` and etc.)\n    - `tree_tool` : Tool for file tree view (e.g. `broot`)\n    - `monitor_tool` : Tool for monitor (e.g. `htop`, `btm`, `btop`, `ytop` and etc.)\n    - `git_tool` : Tool for git (e.g. `lazygit`, `gitui` and etc.)\n3. Run via Cargo\n    ```sh\n    cargo run --release\n    ```\n4. Check generated `{name}.kdl`\n\n## Example\n\nGenerated kdl file from default `config_template.toml` is as follow.\n\n```kdl\nlayout {\n    default_tab_template {\n        pane size=1 borderless=true {\n            plugin location=\"zellij:tab-bar\"\n        }\n        children\n        pane size=2 borderless=true {\n            plugin location=\"zellij:status-bar\"\n        }\n    }\n    tab name=\"work\" focus=true split_direction=\"Vertical\" {\n        pane split_direction=\"Vertical\" {\n            pane name=\"editor\" command=\"/usr/bin/zsh\" focus=true {\n                args \"-c\" \"cd ~/path/to/project \u0026\u0026 nvim\"\n            }\n            pane split_direction=\"Horizontal\" {\n                pane name=\"files\" command=\"/usr/bin/zsh\" {\n                    args \"-c\" \"cd ~/path/to/project \u0026\u0026 broot\"\n                }\n                pane name=\"shell\" command=\"/usr/bin/zsh\" {\n                    args \"-c\" \"cd ~/path/to/project \u0026\u0026 /usr/bin/zsh\"\n                }\n            }\n        }\n    }\n    tab name=\"perf\" {\n        pane name=\"monitor\" command=\"btm\"\n    }\n    tab name=\"git\" {\n        pane name=\"git\" {\n            command \"/usr/bin/zsh\"\n            args \"-c\" \"cd ~/path/to/project \u0026\u0026 lazygit\"\n        }\n    }\n}\nsession_name \"test\"\nattach_to_session true\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxect%2Fzellaygen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxect%2Fzellaygen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxect%2Fzellaygen/lists"}