{"id":24319565,"url":"https://github.com/ryym/rustplay","last_synced_at":"2025-06-15T06:39:23.117Z","repository":{"id":66203993,"uuid":"113864390","full_name":"ryym/rustplay","owner":"ryym","description":"Execute Rust on Rust playground from terminal","archived":false,"fork":false,"pushed_at":"2018-08-10T14:55:04.000Z","size":33,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T20:16:43.461Z","etag":null,"topics":["rust","rust-playground"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryym.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-12-11T13:48:09.000Z","updated_at":"2022-04-18T21:24:24.000Z","dependencies_parsed_at":"2023-05-29T16:15:27.595Z","dependency_job_id":null,"html_url":"https://github.com/ryym/rustplay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryym/rustplay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryym%2Frustplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryym%2Frustplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryym%2Frustplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryym%2Frustplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryym","download_url":"https://codeload.github.com/ryym/rustplay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryym%2Frustplay/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259935061,"owners_count":22934338,"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","rust-playground"],"created_at":"2025-01-17T15:33:47.309Z","updated_at":"2025-06-15T06:39:23.108Z","avatar_url":"https://github.com/ryym.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rustplay\n\nRun Rust code through [Rust Playground](https://play.rust-lang.org/).\n\n```sh\n$ cat a.rs\nfn main() {\n    println!(\"{}\", 123);\n}\n$ rustplay -r a.rs\n123\n$ rustplay -o a.rs\n# =\u003e Open Playground website\n```\n\n```sh\n$ rustplay -h\nUsage: rustplay [options] FILE\nNOTE: -r or -o is required\n\nOptions:\n    -h, --help          print this help message\n    -r, --run           compile and run given code using Rust Playground\n    -o, --open          open Rust Playground with given code\n    -c, --channel stable|beta|nightly\n                        chose release channel which compiles code\n    -m, --mode debug|release\n                        chose compilation mode\n```\n\nI created this on a whim inspired by [haya14busa/goplay](https://github.com/haya14busa/goplay).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryym%2Frustplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryym%2Frustplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryym%2Frustplay/lists"}