{"id":23248876,"url":"https://github.com/sinhapaurush/sinha-rn-web","last_synced_at":"2026-04-30T15:32:16.736Z","repository":{"id":191720410,"uuid":"685463830","full_name":"sinhapaurush/sinha-rn-web","owner":"sinhapaurush","description":"This is Command Line tool to create a React Native Project with web support. By default react-native only initializes android and iOS support, but this CLI tool can be used to initialize a project with web support.","archived":false,"fork":false,"pushed_at":"2023-09-28T08:25:46.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-30T20:31:34.092Z","etag":null,"topics":["react-native","react-native-web"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/sinha-rn-web","language":"JavaScript","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/sinhapaurush.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}},"created_at":"2023-08-31T09:35:55.000Z","updated_at":"2023-08-31T09:48:57.000Z","dependencies_parsed_at":"2023-08-31T10:57:11.434Z","dependency_job_id":"7666dc59-e8f6-4622-836d-ffa266d738e7","html_url":"https://github.com/sinhapaurush/sinha-rn-web","commit_stats":null,"previous_names":["sinhapaurush/sinha-rn-web","fuhrerindia/sinha-rn-web"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sinhapaurush/sinha-rn-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhapaurush%2Fsinha-rn-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhapaurush%2Fsinha-rn-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhapaurush%2Fsinha-rn-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhapaurush%2Fsinha-rn-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinhapaurush","download_url":"https://codeload.github.com/sinhapaurush/sinha-rn-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinhapaurush%2Fsinha-rn-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32469344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: 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":["react-native","react-native-web"],"created_at":"2024-12-19T08:16:03.147Z","updated_at":"2026-04-30T15:32:16.719Z","avatar_url":"https://github.com/sinhapaurush.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Web CLI\nThis is Command Line tool to create a React Native Project with `web` support. By default `react-native` only initializes `android` and `iOS` support, but this CLI tool  can be used to initialize a project with `web` support.\n\n# Web Platform Files\nSeee repository [`sinhapaurush/rn-web-files`](https://github.com/sinhapaurush/rn-web-files) for files and Contirbution in files.\n\n- It uses conventional `npx react-native init` command only to initialize React Native project, and then adds packages and files required for `web` support.\n\n- You can add `web` support to existing React Native projects too with this tool.\n\n- It is not using `create-react-app` to initialize `web` platform, instead it is using `webpack` directly.\n\n- It uses `react-native-web` under the hood\n\n## Commands\n### sinha-rn-web init\nUse this command to initialize the project, it runs `npx react-native@latest init` command hence it will take few more time maybe few minutes to initialize project. It the adds support to the created project.\n\nUse command below to initialize the app\n```bash\nnpx sinha-rn-web@latest init MyTestApp\n```\n### sinha-rn-web add-web\nThis command adds `web` platform support to existing `React Native` projects, hence if you have an existing project then navigate to your project root and run the command below to add `web` support.\n\n```bash\nnpx sinha-rn-web@latest add-web\n```\n\n## Testing and Building\n### Test\nTo test the `web` platform while development, run the command below in your project.\n```bash\nnpm run web\n```\n### Building\nTo create production build of your project for web, run the command below.\n```bash\nnpm run web-build\n```\nYou will get your production build in `build` folder in your project's `web` directory. Hence in `./web/build/`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinhapaurush%2Fsinha-rn-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinhapaurush%2Fsinha-rn-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinhapaurush%2Fsinha-rn-web/lists"}