{"id":22325964,"url":"https://github.com/vdbulcke/zellij-workspace","last_synced_at":"2025-07-29T16:33:42.873Z","repository":{"id":197603641,"uuid":"698963847","full_name":"vdbulcke/zellij-workspace","owner":"vdbulcke","description":"Zellij plugin for applying layouts to current zellij session","archived":false,"fork":false,"pushed_at":"2024-11-06T14:26:39.000Z","size":193,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-06T15:31:26.050Z","etag":null,"topics":["rust","zellij","zellij-plugin"],"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/vdbulcke.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":"2023-10-01T14:19:40.000Z","updated_at":"2024-11-06T14:25:37.000Z","dependencies_parsed_at":"2024-11-06T15:35:52.663Z","dependency_job_id":null,"html_url":"https://github.com/vdbulcke/zellij-workspace","commit_stats":null,"previous_names":["vdbulcke/zellij-workspace"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdbulcke%2Fzellij-workspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdbulcke%2Fzellij-workspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdbulcke%2Fzellij-workspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdbulcke%2Fzellij-workspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdbulcke","download_url":"https://codeload.github.com/vdbulcke/zellij-workspace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228030003,"owners_count":17858432,"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":["rust","zellij","zellij-plugin"],"created_at":"2024-12-04T02:14:49.322Z","updated_at":"2025-07-29T16:33:42.845Z","avatar_url":"https://github.com/vdbulcke.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zellij Workspace \n\nA [Zellij](https://zellij.dev) plugin for opening single or multi tabs [layouts](https://zellij.dev/documentation/layouts) within an existing zellij session. \n\n\n\n## Why?\n\nFor example if you are using a terminal text editor (helix, neovim, etc), you can use [zellij layouts](https://zellij.dev/documentation/layouts) to open mulitple repo in your editor in separate tabs. \n\n`zellij-workspace` allows to list all of your layouts in a  `.zellij-workspace` file, fuzzy find layout, and apply the layout to the existing session. \n\nSelect a layout: \n\n![Layouts](./img/zellij-ws.png)\n\nApply layout to session: \n \n![Session](./img/zellij-workspaces.png)\n\n\n\n\n## Requirements\n\nZellij version `v0.38.0` or later.\n\n\n\n| Zellij    | zellij-workspace    |\n| --------- | ------------------- |\n| `v0.38.x` | `v0.1.0`            |\n| `v0.41.1` | `v0.2.0`            |\n\n\n### Zellij Plugin Permission \n\n| Permission               | Why                                         |\n| -------------------------|---------------------------------------------|\n| `ReadApplicationState`   | Subscribe to Pane and tab events            |\n| `ChangeApplicationState` | Setting plugin pane name, creating new tabs |\n\n### Host Filesystem Access\n\n[Zellij maps the folder where Zellij was started](https://zellij.dev/documentation/plugin-api-file-system) to `/host` path on the plugin (e.g. your home dir or `default_cwd` in your zellij or the current dir where you started your zellij session).\n\nThe plugin will look for a `/host/.zellij-workspace` file (i.e. at the root of the dir of you current zellij session) to load a list of zellij layouts (relative path from your zellij session `cwd`).\n\nExample of a `.zellij-workspace` file:\n```bash\n.config/zellij/layouts/my_custom_layout.kdl\n## this is a comment starting with '#'\n\t# this is also a comment\n\n\n\n## empty lines are also ignored\n.config/zellij/layouts/another_layout.kdl\n```\n\n\n## Install\n\n### Download WASM Binary\n\n\n* Download `zellij-workspace.wasm` binary from [release page](https://github.com/vdbulcke/zellij-workspace/releases).\n* Verify binary signature with cosign (see instruction bellow)\n* copy binary to zellij plugin dir: \n     - `mv target/wasm32-wasip1/release/zellij-workspace.wasm ~/.config/zellij/plugins/`\n\n\n#### Validate Signature With Cosign\n\nMake sure you have `cosign` installed locally (see [Cosign Install](https://docs.sigstore.dev/cosign/installation/)).\n\nThen you can use the `./verify_signature.sh` in this repo: \n\n```bash\n./verify_signature.sh PATH_TO_DOWNLOADED_ARCHIVE TAG_VERSION\n```\nfor example\n```bash\n$ ./verify_signature.sh ~/Downloads/zellij-workspace.wasm v0.1.0\n\nChecking Signature for version: v0.1.0\nVerified OK\n\n```\n\n\n\n\n\n### Build from source\n\n\u003e WARNING: requires to have rust installed and wasm `rustup target add wasm32-wasip1`\n\n* `git clone git@github.com:vdbulcke/zellij-workspace.git`\n* `cd zellij-workspace`\n* `cargo build --release`\n* `mv target/wasm32-wasip1/release/zellij-workspace.wasm ~/.config/zellij/plugins/`\n\n\n\n## Loading plugin \n\n### Via Zellij Config\n\n```kdl\nshared_except \"locked\" {\n    bind \"Ctrl y\" {\n        LaunchOrFocusPlugin \"file:~/.config/zellij/plugins/zellij-workspace.wasm\" {\n            floating true\n            \n            replace_current_session true // default false: replace current session with selected layout\n            debug false                     // display debug info, config, parse command etc\n        }\n    }\n}\n```\n\n### Via CLI\n\n```bash\nzellij action launch-or-focus-plugin --floating \"file:$HOME/.config/zellij/plugins/zellij-workspace.wasm\"\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdbulcke%2Fzellij-workspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdbulcke%2Fzellij-workspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdbulcke%2Fzellij-workspace/lists"}