{"id":16999371,"url":"https://github.com/rtyler/meows","last_synced_at":"2026-05-19T06:06:52.307Z","repository":{"id":57638006,"uuid":"272147056","full_name":"rtyler/meows","owner":"rtyler","description":"Crate for handling websocket messages purrfectly","archived":false,"fork":false,"pushed_at":"2020-07-06T03:14:41.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-16T01:27:16.094Z","etag":null,"topics":["async","j","rust","websockets"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtyler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-14T06:36:36.000Z","updated_at":"2020-07-06T03:14:43.000Z","dependencies_parsed_at":"2022-09-26T20:21:06.880Z","dependency_job_id":null,"html_url":"https://github.com/rtyler/meows","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rtyler/meows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtyler%2Fmeows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtyler%2Fmeows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtyler%2Fmeows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtyler%2Fmeows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtyler","download_url":"https://codeload.github.com/rtyler/meows/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtyler%2Fmeows/sbom","scorecard":{"id":788345,"data":{"date":"2025-08-11","repo":{"name":"github.com/rtyler/meows","commit":"87cfb1d3dabeec3fc9ca3d4f1e24dfe49b3828fa"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"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":"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":"Code-Review","score":0,"reason":"Found 0/25 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/rust.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: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/rtyler/meows/rust.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned 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":"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.txt:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE.txt: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 8 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-23T06:43:41.436Z","repository_id":57638006,"created_at":"2025-08-23T06:43:41.437Z","updated_at":"2025-08-23T06:43:41.437Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33204125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"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":["async","j","rust","websockets"],"created_at":"2024-10-14T04:08:20.267Z","updated_at":"2026-05-19T06:06:52.291Z","avatar_url":"https://github.com/rtyler.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Message Exchange Over Web Sockets 🐈\n\nThis crate implements the simple pattern needed for implementing\nservice-to-service message exchange over WebSocket connections. Users of meows\ncan handle typed JSON message with the option for a default handler for any\nun-typed messages.\n\nMeows is built on top of [smol](https://github.com/stjepang/smol) for async\nwebsocket handling behavior. This makes Meows compatible with other smol-based\napplications, including those using\n[async-std](https://github.com/async-rs/async-std) 1.6.0 or later.\n\nAll messages intended to be handled must be wrapped in a meows appropriate\nenvelope described below:\n\n```json\n{\n    \"type\" : \"ping\",\n    \"value\" : {\n        \"msg\" : \"Hey kitty kitty\"\n    }\n}\n```\n\nWhich will then be mapped to a struct such as:\n\n```rust\n#[derive(Debug, Deserialize, Serialize)]\nstruct Ping {\n    msg: String,\n}\n```\n\nIn essence, anything that serde can deserialize, can be passed through meows.\n\n\n## Example\n\nThere are examples in the `examples/` directory, here's a simple message handler:\n\n```rust\nuse log::*;\nuse meows::*;\nuse smol;\n\nasync fn handle_ping(mut req: Request\u003c()\u003e) -\u003e Option\u003cMessage\u003e {\n    if let Some(ping) = req.from_value::\u003cPing\u003e() {\n        info!(\"Ping received with message: {}\", ping.msg);\n    }\n    Some(Message::text(\"pong\"))\n}\n\nfn main() -\u003e Result\u003c(), std::io::Error\u003e {\n    info!(\"Starting simple ping/pong websocket server with meows\");\n    let mut server = meows::Server::new();\n    server.on(\"ping\", handle_ping);\n\n    smol::run(async move {\n        server.serve(\"127.0.0.1:8105\".to_string()).await\n    })\n}\n```\n\n## Contributing\n\nMeows is a typical Rust project, e.g. `cargo build` and `cargo test` will do\nmost everything you would need to do.\n\nThere aren't nearly enough tests, helping with that would certainly be\nappreciated :)\n\n## Licensing\n\nThis crate is licensed as GPL-3.0+, which roughly means that if you're\npackaging up Meows and distributing a binary to an end-user, you must also make\nthe source of the Meows code available to that end-user. It is intentionally\n_not_ AGPL licensed, which means if you incorporate Meows into server-side code\nthat is never distributed to end-users, then you do not need to make the code\navailable to the service's users.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtyler%2Fmeows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtyler%2Fmeows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtyler%2Fmeows/lists"}