{"id":31978555,"url":"https://github.com/deinstapel/cursive-multiplex","last_synced_at":"2025-10-14T22:23:00.080Z","repository":{"id":43308911,"uuid":"195524658","full_name":"deinstapel/cursive-multiplex","owner":"deinstapel","description":"A tmux like multiplexer for gyscos/cursive views 🖥️","archived":false,"fork":false,"pushed_at":"2024-08-12T17:47:36.000Z","size":10168,"stargazers_count":56,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-15T07:23:37.684Z","etag":null,"topics":["cursive","cursive-views","layout","manager","multiplexer","pane","terminal","tiling","tmux","tui","view","window"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deinstapel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["fin-ger","jwuensche"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-07-06T10:00:49.000Z","updated_at":"2025-07-16T00:47:26.000Z","dependencies_parsed_at":"2024-08-12T20:16:18.972Z","dependency_job_id":"abc09662-72cd-43cd-a4ac-1d628df2e4e9","html_url":"https://github.com/deinstapel/cursive-multiplex","commit_stats":{"total_commits":245,"total_committers":8,"mean_commits":30.625,"dds":0.5061224489795919,"last_synced_commit":"ee20bf12af466b69e141bc85b4d02461200738a9"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/deinstapel/cursive-multiplex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deinstapel%2Fcursive-multiplex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deinstapel%2Fcursive-multiplex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deinstapel%2Fcursive-multiplex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deinstapel%2Fcursive-multiplex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deinstapel","download_url":"https://codeload.github.com/deinstapel/cursive-multiplex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deinstapel%2Fcursive-multiplex/sbom","scorecard":{"id":332737,"data":{"date":"2025-08-11","repo":{"name":"github.com/deinstapel/cursive-multiplex","commit":"01efe53185e627c5c2b01aa31d78e4abc54b1446"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 4/21 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test_and_push.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: downloadThenRun not pinned by hash: .github/workflows/test_and_push.yml:18","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T03:58:30.341Z","repository_id":43308911,"created_at":"2025-08-18T03:58:30.342Z","updated_at":"2025-08-18T03:58:30.342Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021779,"owners_count":26087055,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cursive","cursive-views","layout","manager","multiplexer","pane","terminal","tiling","tmux","tui","view","window"],"created_at":"2025-10-14T22:22:55.129Z","updated_at":"2025-10-14T22:23:00.073Z","avatar_url":"https://github.com/deinstapel.png","language":"Rust","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/cursive-multiplex.svg\" height=\"128\"\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eWelcome to cursive-multiplex 👋\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/deinstapel/cursive-multiplex/actions\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fdeinstapel.github.io%2Fcursive-multiplex%2Fstable-build.json\" alt=\"stable build\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/deinstapel/cursive-multiplex/actions\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fdeinstapel.github.io%2Fcursive-multiplex%2Fnightly-build.json\" alt=\"nightly build\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/cursive-multiplex\"\u003e\n    \u003cimg alt=\"crates.io\" src=\"https://img.shields.io/crates/v/cursive-multiplex.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://docs.rs/cursive-multiplex\"\u003e\n    \u003cimg alt=\"Docs.rs\" src=\"https://docs.rs/cursive-multiplex/badge.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/deinstapel/cursive-multiplex/blob/master/LICENSE\"\u003e\n    \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/deinstapel/cursive-multiplex.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"http://spacemacs.org\"\u003e\n    \u003cimg src=\"https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"http://makeapullrequest.com\"\u003e\n    \u003cimg alt=\"PRs Welcome\" src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" target=\"_blank\" /\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003ci\u003eA tmux like multiplexer for\n  \u003ca href=\"https://github.com/gyscos/cursive\"\u003egyscos/cursive\u003c/a\u003e\n  views\u003c/i\u003e\n\u003c/p\u003e\n\n---\n\n\u003e This project is work-in-progress\n\nThis project provides a tiling window manager for [gyscos/cursive](https://github.com/gyscos/cursive) similar to Tmux. You can place any other `cursive` view inside of a `Mux` view to display these views in complex layouts side by side. Watch the demo below to see how it looks.\n\n## How does it look like? `demo` [![terminalizer](https://img.shields.io/badge/GIF-terminalizer-blueviolet.svg)](https://github.com/faressoft/terminalizer)\n\n\u003cdetails\u003e\n  \u003csummary\u003eExpand to view\u003c/summary\u003e\n  \u003cimg src=\"assets/demo.gif\" alt=\"Demo GIF\"\u003e\n\u003c/details\u003e\n\n## Usage\n\nSimply add to your `Cargo.toml`\n\n```toml\n[dependencies]\ncursive-multiplex = \"^0.2.0\"\n```\n\nAnd then use `Mux::new` to create a new Mux view\n\n```rust\nlet (mut mux, root_node) = cursive_multiplex::Mux::new(\n    cursive::views::TextView::new(\"Hello World!\".to_string())\n);\n```\n\n\u003e Mux has defaults defined for key bindings. You can change them with the API described in the [docs](https://docs.rs/cursive-multiplex).\n\n\u003cdetails\u003e\n  \u003csummary\u003eExpand to see default keybindings\u003c/summary\u003e\n  \n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003cth\u003eAction\u003c/th\u003e\n      \u003cth\u003eKey\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eMove focus up\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003eAlt\u003c/code\u003e + \u003ccode\u003e\u0026uarr;\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eMove focus right\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003eAlt\u003c/code\u003e + \u003ccode\u003e\u0026rarr;\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eMove focus down\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003eAlt\u003c/code\u003e + \u003ccode\u003e\u0026darr;\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eMove focus left\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003eAlt\u003c/code\u003e + \u003ccode\u003e\u0026larr;\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eResize up\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003eCtrl\u003c/code\u003e + \u003ccode\u003e\u0026uarr;\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eResize right\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003eCtrl\u003c/code\u003e + \u003ccode\u003e\u0026rarr;\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eResize down\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003eCtrl\u003c/code\u003e + \u003ccode\u003e\u0026darr;\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eResize left\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003eCtrl\u003c/code\u003e + \u003ccode\u003e\u0026larr;\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eZoom\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003eCtrl\u003c/code\u003e + \u003ccode\u003ex\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/details\u003e\n\n###  Adding views\n\nYou can add views by giving a path or an id to an existing node e.g.\n\n```rust\nlet new_node = mux.add_right_of(\n    cursive::views::TextView::new(\"Foo\"),\n    root_node,\n).expect(\"adding right panel to root failed\");\n```\n\nIts also possible to add views by their path.\n```rust\nif let Some(sibbling) = mux.root().right().right().down().build() {\n    let new_node = mux.add_above(\n        cursive::views::TextView::new(\"Foo\"),\n        sibbling,\n    ).expect(\"adding by path failed\");\n}\n```\n\nReturned will be a Result Ok contains the new id assigned to the view, or an error in case of failure.\n\n### Removing Views\n\nYou can also remove views, by giving the id of the views.\n\n```rust\nmux.remove_id(new_node)?;\n```\n\nOn success the id of the removed node is returned.\n\n### Switch Views\n\nIf you want to reorder your views you can easily switch them by using\n\n```rust\nmux.switch_views(new_node, old_node)?;\n```\n\n## Troubleshooting\n\nIf you find any bugs/unexpected behaviour or you have a proposition for future changes open an issue describing the current behaviour and what you expected.\n\n## Development [![cargo test](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fdeinstapel.github.io%2Fcursive-multiplex%2Fcargo-test.json)](https://github.com/deinstapel/cursive-multiplex/actions)\n\n### Running the tests\n\n#### Running all test suites\n\nJust run\n\n```\n$ cargo test\n```\n\nto execute all available tests.\n\n#### Investigating failed tests\n\nIn case some test fails with your changes, you can use the `cargo-insta` tool to investigate the test case.\n\nTo install\n```\n$ cargo install cargo-insta\n```\n\nand to run the tests and investigate all failing tests interactively.\n\n```\n$ cargo insta review\n```\n\nAny changes between the expected and received screen will be then displayed.\n\n#### shields.io endpoints\n\n[shields.io](https://shields.io) endpoints are generated inside the `./target/shields` folder. They are used in this README.\n\n## Authors\n\n**Fin Christensen**\n\n\u003e [:octocat: `@fin-ger`](https://github.com/fin-ger)  \n\u003e [:elephant: `@fin_ger@weirder.earth`](https://weirder.earth/@fin_ger)  \n\u003e [:bird: `@fin_ger_github`](https://twitter.com/fin_ger_github)  \n\n\u003cbr\u003e\n\n**Johannes Wünsche**\n\n\u003e [:octocat: `@jwuensche`](https://github.com/jwuensche)  \n\u003e [:elephant: `@fredowald@mastodon.social`](https://mastodon.social/web/accounts/843376)  \n\u003e [:bird: `@Fredowald`](https://twitter.com/fredowald)  \n\n## Show your support\n\nGive a :star: if this project helped you!\n","funding_links":["https://github.com/sponsors/fin-ger","https://github.com/sponsors/jwuensche"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeinstapel%2Fcursive-multiplex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeinstapel%2Fcursive-multiplex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeinstapel%2Fcursive-multiplex/lists"}