{"id":13503056,"url":"https://github.com/kas-gui/kas","last_synced_at":"2026-01-28T09:25:06.497Z","repository":{"id":37698221,"uuid":"217514530","full_name":"kas-gui/kas","owner":"kas-gui","description":"Another GUI toolkit","archived":false,"fork":false,"pushed_at":"2026-01-21T10:41:47.000Z","size":13862,"stargazers_count":1005,"open_issues_count":44,"forks_count":32,"subscribers_count":16,"default_branch":"master","last_synced_at":"2026-01-22T14:43:53.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kas-gui.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":"COPYRIGHT","agents":null,"dco":null,"cla":null},"funding":{"github":"dhardy","liberapay":"dhardy"}},"created_at":"2019-10-25T10:58:42.000Z","updated_at":"2026-01-21T10:41:57.000Z","dependencies_parsed_at":"2023-10-23T14:48:18.799Z","dependency_job_id":"54aa5017-b583-4ea8-8d28-964b495236e6","html_url":"https://github.com/kas-gui/kas","commit_stats":{"total_commits":3089,"total_committers":5,"mean_commits":617.8,"dds":0.005503399158303668,"last_synced_commit":"1bb9b29b1fdc047a4beac6b1e6fefb3e0090fee0"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/kas-gui/kas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kas-gui%2Fkas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kas-gui%2Fkas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kas-gui%2Fkas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kas-gui%2Fkas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kas-gui","download_url":"https://codeload.github.com/kas-gui/kas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kas-gui%2Fkas/sbom","scorecard":{"id":466242,"data":{"date":"2025-08-11","repo":{"name":"github.com/kas-gui/kas","commit":"2e92d96fcd2f89a71732eb58bf35cc68b811ff68"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.3,"checks":[{"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":"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":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","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":"Maintained","score":10,"reason":"30 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/test.yml:10","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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/kas-gui/kas/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/kas-gui/kas/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:81: update your workflow using https://app.stepsecurity.io/secureworkflow/kas-gui/kas/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/kas-gui/kas/test.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction 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":"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":"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":"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":"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: Apache License 2.0: 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 30 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-19T12:34:47.959Z","repository_id":37698221,"created_at":"2025-08-19T12:34:47.959Z","updated_at":"2025-08-19T12:34:47.959Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28843750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-07-31T22:02:35.087Z","updated_at":"2026-01-28T09:25:06.492Z","avatar_url":"https://github.com/kas-gui.png","language":"Rust","funding_links":["https://github.com/sponsors/dhardy","https://liberapay.com/dhardy"],"categories":["Rust"],"sub_categories":[],"readme":"KAS GUI\n=======\n\n[![Test Status](https://github.com/kas-gui/kas/workflows/Tests/badge.svg)](https://github.com/kas-gui/kas/actions)\n[![Crates.io](https://img.shields.io/crates/v/kas.svg)](https://crates.io/crates/kas)\n[![kas-text](https://img.shields.io/badge/GitHub-kas--text-blueviolet)](https://github.com/kas-gui/kas-text/)\n[![Docs](https://docs.rs/kas/badge.svg)](https://docs.rs/kas)\n\nLinks: [Tutorials](https://kas-gui.github.io/tutorials/) — [Wiki](https://github.com/kas-gui/kas/wiki/Getting-started) — [Examples](examples) — [7GUIs](https://github.com/kas-gui/7guis/) — [Blog](https://kas-gui.github.io/blog/) — [Design](https://github.com/kas-gui/design)\n\n\nAbout Kas\n---------\n\nThe Kas GUI system strives to be both fast and follow Alan Kay's slogan:\n\n\u003e Simple things should be simple, complex things should be possible.\n\nAn excerpt from examples/hello.rs:\n```rust\nlet hello_ui = column![\n    \"Hello, world!\",\n    Button::label(\"\u0026Close\").with(|cx, _| cx.exit())\n];\n```\n\nAn excerpt from examples/counter.rs:\n```rust\n#[derive(Clone, Debug)]\nstruct Increment(i32);\n\nfn counter() -\u003e impl Widget\u003cData = ()\u003e {\n    let tree = column![\n        format_label!(\"{}\").align(AlignHints::CENTER),\n        row![\n            Button::label_msg(\"−\", Increment(-1)),\n            Button::label_msg(\"+\", Increment(1)),\n        ]\n        .map_any(),\n    ];\n\n    tree.with_state(0)\n        .on_message(|_, count, Increment(add)| *count += add)\n}\n```\n\nOn the more complex end, custom widgets can be fairly complex; check the Kas\nwidget library (including source code) for examples.\n\n### Capabilities\n\n- [x] Fully keyboard-accessible\n- [x] Screen reader support (partial: kas-gui/kas#509)\n- [x] IME support (partial: kas-gui/kas#508)\n- [ ] Integrated i18n support (not yet started;  kas-gui/kas#7)\n- [x] Complex text support: use system fonts with glyph fallbacks, BiDi, common text effects (kas-gui/kas#13)\n- [x] Automatic margins and layout with pixel-perfect scaling\n- [x] Support for custom themes including theme-driven animations and sizing\n- [x] Virtual scrolling (list or grid), including support for async data access\n\n### Goals\n\nKas is designed to:\n\n-   Support stateful user-defined widgets with high-ish level of code\n-   Support the best user-interaction possible\n-   Support automatic layout and pixel-perfect scaling at any scale factor (i.e. margins and element sizes should be consistent, raster icons should have pixel-perfect rendering; layout is allowed to change as content is scaled).\n-   Support extremely fast, monolithic Rust binaries\n\n### Limitations\n\nEvery approach has its limitations. Ours are:\n\n-   Stateful widgets imply invalid-state bugs are possible. There are some (dev-mode) guards against bad-initialisation order, but fundamentally this class of bugs cannot be prevented.\n-   Custom widgets have a lot of flexibility over management of child widgets; this comes with some expectations. Violating these expectations will result in a panic in debug builds.\n-   Custom widget definitions use macro-enhanced Rust (not a custom DSL), allowing the full power of Rust code but running the risk of confusing other tooling (both `rustfmt` and `rust-analyzer` have some issues here).\n\n### Status\n\nIn development. Interfaces are not currently stable.\n\nEnough functionality should be present to develop complex GUIs, however some features are still missing (see [the Roadmap](https://github.com/kas-gui/kas/blob/master/ROADMAP.md#future-work).\n\n\nCrates and features\n-------------------\n\nCrates in this repository:\n\n-   [kas-core](https://docs.rs/kas-core): the core library\n-   kas-macros: proc-macro crate (see `kas-core` documentation)\n-   [kas-widgets](https://docs.rs/kas-widgets): the main widget library\n-   [kas-view](https://docs.rs/kas-view): view widgets supporting virtual scrolling\n-   [kas-image](https://docs.rs/kas-image): scalable and raster image widgets and utilities\n-   [kas-wgpu](https://docs.rs/kas-wgpu): rendering backend over [wgpu]\n-   [kas-soft](https://docs.rs/kas-soft): basic CPU rendering backend over [softbuffer]\n-   [kas-dylib](https://crates.io/crates/kas-dylib): helper crate to support dynamic linking\n-   [kas]: a meta-package plus convenient driver covering most of the above\n\nSignificant external dependencies:\n\n-   [winit](https://github.com/rust-windowing/winit): platform window integration\n-   [wgpu](https://github.com/gfx-rs/wgpu): modern accelerated graphics API\n-   [AccessKit](https://accesskit.dev/): Accessibility infrastructure for UI toolkits\n-   [kas-text](https://crates.io/crates/kas-text): complex text support\n-   [rustybuzz](https://crates.io/crates/rustybuzz): a complete harfbuzz's shaping algorithm port to Rust\n-   [fontique](https://crates.io/crates/fontique): Font enumeration and fallback\n-   [resvg](https://crates.io/crates/resvg): an SVG rendering library\n-   [tiny-skia](https://crates.io/crates/tiny-skia): a tiny Skia subset ported to Rust\n-   [Image](https://crates.io/crates/image): An Image Processing Library\n-   [impl-tools](https://crates.io/crates/impl-tools): `autoimpl` and `impl_scope` (extensible) macros\n-   [easy-cast](https://crates.io/crates/easy-cast): Type conversion, success expected\n\n### Feature flags\n\nThe `kas` crate enables a selection of important features by default while attempting to support most platforms. Other crates do not enable any features by default.\nSee [documentation in Cargo.toml](https://github.com/kas-gui/kas/blob/master/Cargo.toml#L29).\n\n[kas]: https://docs.rs/kas\n[wgpu]: https://github.com/gfx-rs/wgpu\n[softbuffer]: https://github.com/rust-windowing/softbuffer\n\n\nCopyright and Licence\n---------------------\n\nThe [COPYRIGHT](COPYRIGHT) file includes a list of contributors who claim\ncopyright on this project. This list may be incomplete; new contributors may\noptionally add themselves to this list.\n\nThe KAS library is published under the terms of the Apache License, Version 2.0.\nYou may obtain a copy of this licence from the [LICENSE](LICENSE) file or on\nthe following webpage: \u003chttps://www.apache.org/licenses/LICENSE-2.0\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkas-gui%2Fkas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkas-gui%2Fkas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkas-gui%2Fkas/lists"}