{"id":24510676,"url":"https://github.com/rhdeck/react-reality-cli","last_synced_at":"2025-06-16T12:35:11.286Z","repository":{"id":57343103,"uuid":"136853761","full_name":"rhdeck/react-reality-cli","owner":"rhdeck","description":"Command Line interface for creating and managing React Reality projects","archived":false,"fork":false,"pushed_at":"2018-06-16T17:21:37.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-20T01:42:47.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/rhdeck.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}},"created_at":"2018-06-10T23:53:25.000Z","updated_at":"2018-11-30T11:35:42.000Z","dependencies_parsed_at":"2022-09-17T06:20:58.189Z","dependency_job_id":null,"html_url":"https://github.com/rhdeck/react-reality-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rhdeck/react-reality-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Freact-reality-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Freact-reality-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Freact-reality-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Freact-reality-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhdeck","download_url":"https://codeload.github.com/rhdeck/react-reality-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Freact-reality-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260162913,"owners_count":22968157,"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":[],"created_at":"2025-01-22T00:30:09.918Z","updated_at":"2025-06-16T12:35:11.232Z","avatar_url":"https://github.com/rhdeck.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-reality-cli\n\nCommand line interface for [react-reality](https://github.com/rhdeck/react-reality) projects\n\n# Installation\n\n```bash\nyarn global add rhdeck/react-reality-cli\n```\n\n**or**\n\n```bash\nnpm i g rhdeck/react-reality-cli\n```\n\n# Usage\n\n## init\n\nCreate a new react-reality project\n\n```bash\nreact-reality init myproject\n```\n\nor use the short alias:\n\n```bash\nrr init myproject\n```\n\n**Fun Fact** You can use `rr` as an alias for any of your `react-native` commands. `rr run-ios` helps, and is shorter!\n\n## Templates\n\nSpecify the react-reality template you want to use for faster initialization:\n\n```bash\nreact-reality init myproject --template \u003cmytemplate\u003e\n```\n\nor try the short version\n\n```bash\nrr init myproject -t \u003cmytemplate\u003e\n```\n\n### Pre-Built Templates\n\nTo help with learning react-reality, some basic apps are available as templates\n\n#### holokit\n\nDeploys a package designed for use with [HoloKit](https://holokit.io) heads-up stereoscopic display.\n\n```bash\nrr init myproject -t holokit\n```\n\n### URL\n\nAny url specified with a file://, http:// or https:// scheme will reference a react-reality template a that location.\n\n```bash\nrr init myproject -t https://github.com/rhdeck/react-reality-template-holokit\n```\n\n#### npm scoped project\n\nAny argument prefixed with a @ and containing a slash is assumed to be a scoped npm project, in the form @scope/project. Passes through to npm\n\n```bash\nrr init myproject -t @myscope/mytemplate\n```\n\n#### GitHub repository\n\nAny argument containing a slash (that does not start with the @) is assumed to refer to a github repository, and builds a https url to access it.\n\n```bash\nrr init myproject -t rhdeck/react-reality-template-holokit\n```\n\n#### NPM projects\n\nAny other string tries to build a URL from NPM with the prefix \"react-reality-template-\", like a react-native template would.\n\n```bash\nrr init myproject -t holokit\n```\n\n#### Note on building templates of your own\n\nTemplates parallel the build system from react-native. They must contain:\n\n1.  `package.json` used for identification only. Should include a name and version.\n2.  `dependencies.json` indicating dependencies that should be added to the project. (should include the react-reality package and react-native-swift at a minimum)\n3.  Any other files you want copied into your package that would override the core react-native files. Usually `App.js` is defined here, since it is the center of the app experience.\n\n**Note** Templates are installed by first adding then removing from your dependencies. So you will not find them in your project post-install.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhdeck%2Freact-reality-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhdeck%2Freact-reality-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhdeck%2Freact-reality-cli/lists"}