{"id":15675386,"url":"https://github.com/ultirequiem/react-run","last_synced_at":"2025-06-14T18:08:44.873Z","repository":{"id":38160418,"uuid":"451249803","full_name":"UltiRequiem/react-run","owner":"UltiRequiem","description":"🕺 Run React(JS/TS) snippets/components from your terminal without config","archived":false,"fork":false,"pushed_at":"2025-01-13T16:22:08.000Z","size":139,"stargazers_count":14,"open_issues_count":7,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-07T15:58:43.328Z","etag":null,"topics":["esm","react","rust","swc","typescript"],"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/UltiRequiem.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,"zenodo":null},"funding":{"patreon":"ultirequiem"}},"created_at":"2022-01-23T22:44:04.000Z","updated_at":"2025-01-13T16:22:04.000Z","dependencies_parsed_at":"2025-05-06T21:44:52.203Z","dependency_job_id":"fb7f31ad-643b-405e-badb-eefce5975a30","html_url":"https://github.com/UltiRequiem/react-run","commit_stats":{"total_commits":47,"total_committers":2,"mean_commits":23.5,"dds":0.06382978723404253,"last_synced_commit":"6d3c96384f176f8e47182732513ee789c49b956e"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/UltiRequiem/react-run","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Freact-run","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Freact-run/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Freact-run/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Freact-run/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UltiRequiem","download_url":"https://codeload.github.com/UltiRequiem/react-run/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Freact-run/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259860405,"owners_count":22922987,"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":["esm","react","rust","swc","typescript"],"created_at":"2024-10-03T15:59:20.879Z","updated_at":"2025-06-14T18:08:44.850Z","avatar_url":"https://github.com/UltiRequiem.png","language":"Rust","funding_links":["https://patreon.com/ultirequiem","https://patreon.com/UltiRequiem"],"categories":[],"sub_categories":[],"readme":"# react-run\n\nRun React code snippets without config 🚀\n\n## Usage\n\nThe entry point is always a component called `App` 👇\n\n```tsx\n// example.tsx\n\nfunction ProductList({ products }: { products: string[] }) {\n  return products.map((p) =\u003e \u003cli\u003e{p}\u003c/li\u003e);\n}\n\nexport default function App() {\n  const style = {\n    background: \"lightgray\",\n    padding: \"1em\",\n  };\n\n  return (\n    \u003cdiv style={style}\u003e\n      \u003ch1\u003eOur Products\u003c/h1\u003e\n      \u003cProductList products={[\"Apple\", \"Banana\"]} /\u003e\n    \u003c/div\u003e\n  );\n}\n```\n\nRun it 🏃\n\n```sh\nreact-run example.tsx\n```\n\nOr run a hosted file 🤖\n\n```sh\nreact-run https://raw.githubusercontent.com/UltiRequiem/react-run/main/examples/typescript.tsx\n```\n\n\u003e This will open your default browser with your component loaded 🤯\n\n## Features\n\n- JSX/TSX\n\n- Functional or Class Components\n\n- Import External Libraries\n\n- Run via URL\n\nCheck the [examples/](./examples) to see what is supported.\n\n## Installation\n\n\u003e [Cargo](https://doc.rust-lang.org/cargo) is the Rust package manager.\n\n```sh\ncargo install react-run\n```\n\nOr use a binary from\n[releases](https://github.com/UltiRequiem/react-run/releases/latest).\n\n## Standing on the shoulders of giants\n\n- 🗼 [tokio-rs](https://github.com/tokio-rs/tokio): A runtime for writing\n  reliable asynchronous applications with Rust.\n\n- 🤗 [colored](https://github.com/mackwic/colored): The easier way to have text\n  on your term!\n\n- 👏 [clap](https://github.com/clap-rs/clap): A full featured, fast Command Line\n  Argument Parser for Rust\n\n- ⚡ [minireq](https://github.com/neonmoe/minreq): Simple, minimal-dependency\n  HTTP client.\n\n- 🏎️ [swc](https://swc.rs): SWC is 20x faster than Babel on a single thread and\n  70x faster on four cores.\n\n## Roadmap\n\n- [x] Integrate with SWC [#4](https://github.com/UltiRequiem/react-run/issues/4)\n- [x] Support TypeScript [#2](https://github.com/UltiRequiem/react-run/issues/2)\n- [x] Support running URLs\n      [#3](https://github.com/UltiRequiem/react-run/issues/3)\n- [ ] Live Reload [#1](https://github.com/UltiRequiem/react-run/issues/1)\n\n## Support\n\nOpen an Issue, I will check it a soon as possible 👀\n\nIf you want to hurry me up a bit\n[send me a tweet](https://twitter.com/UltiRequiem) 😆\n\nConsider [supporting me on Patreon](https://patreon.com/UltiRequiem) if you like\nmy work 🙏\n\nDon't forget to start the repo ⭐\n\n## Versioning\n\nWe use [Semantic Versioning](http://semver.org). For the versions available, see\nthe [tags](https://github.com/UltiRequiem/react-run/tags) 🏷️\n\n## Authors\n\n[Eliaz Bobadilla](https://ultirequiem.com) - Creator and Maintainer 💪\n\nSee also the full list of\n[contributors](https://github.com/UltiRequiem/react-run/contributors) who\nparticipated in this project ✨\n\n## Licence\n\nLicensed under the MIT License 📄\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Freact-run","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fultirequiem%2Freact-run","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Freact-run/lists"}