{"id":4811,"url":"https://github.com/ptmt/react-native-macos","last_synced_at":"2026-01-12T05:22:08.933Z","repository":{"id":1768725,"uuid":"43640830","full_name":"ptmt/react-native-macos","owner":"ptmt","description":"[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa","archived":false,"fork":false,"pushed_at":"2024-02-13T08:45:11.000Z","size":85473,"stargazers_count":11231,"open_issues_count":74,"forks_count":428,"subscribers_count":226,"default_branch":"master","last_synced_at":"2025-05-12T05:18:30.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ptmt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2015-10-04T15:22:01.000Z","updated_at":"2025-05-09T05:06:38.000Z","dependencies_parsed_at":"2024-06-18T17:32:43.529Z","dependency_job_id":null,"html_url":"https://github.com/ptmt/react-native-macos","commit_stats":{"total_commits":12342,"total_committers":2003,"mean_commits":6.161757363954069,"dds":0.9617566034678334,"last_synced_commit":"0f09ff48a8c1e2310ec9eef2529d64e321c0b599"},"previous_names":["ptmt/react-native-desktop"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptmt%2Freact-native-macos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptmt%2Freact-native-macos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptmt%2Freact-native-macos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptmt%2Freact-native-macos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptmt","download_url":"https://codeload.github.com/ptmt/react-native-macos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253678909,"owners_count":21946320,"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":"2024-01-05T20:17:24.921Z","updated_at":"2026-01-12T05:22:03.882Z","avatar_url":"https://github.com/ptmt.png","language":"JavaScript","readme":"# Deprecation #\n\nThe project is no longer maintained.\n\nThere is an Microsoft version: [https://microsoft.github.io/react-native-windows/](https://microsoft.github.io/react-native-windows/)\n\nYou can run React Native on Catalyst [https://github.com/react-native-community/discussions-and-proposals/issues/131](https://github.com/react-native-community/discussions-and-proposals/issues/131)\n\n\n\n\n\n\n\n# React Native macOS (ex react-native-desktop)\n\nBuild macOS desktop applications using React Native.\n\n----\n\n[![Build Status](https://travis-ci.org/ptmt/react-native-macos.svg)](https://travis-ci.org/ptmt/react-native-macos) [![npm version](https://badge.fury.io/js/react-native-macos.svg)](https://badge.fury.io/js/react-native-macos) [![discord #react-native-platforms](https://img.shields.io/badge/reactiflux-%23react--native--platforms-blue.svg)](http://reactiflux.com)\n\n```jsx\n\u003cView\u003e\n  \u003cButton onPress={() =\u003e alert('clicked!')} /\u003e\n\u003c/View\u003e\n```\n\n## Getting Started\n\nNode 4.x+, OS X 10.11+ required.\n\n_Previous React Native experience is highly recommended_.\n\n```bash\n$ npm install react-native-macos-cli -g\n$ react-native-macos init MyProject\n$ cd MyProject\n$ react-native-macos run-macos\n```\n\nIf you want to add macOS target to the existing iOS/Android/Windows project, make the steps above, merge this new folder into your current React Native project, then put [rn-cli.config.js](https://gist.github.com/ptmt/b1473dead098cf53d667e355aedf2a7b) in the root.\n\n## Documentation\n\nSince React Native macOS is just a fork, you can follow [the same instructions on the React Native Documentation](http://facebook.github.io/react-native/docs/getting-started.html#content).\n\n## Disclaimer\n\nReact Native macOS is a fork of React Native for iOS. The project is still a fairly new so proceed at your own risk.\n\n## Community Help\n\nPlease use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them.\n\n- Ask a question on [StackOverflow](https://stackoverflow.com/) and tag it with `react-native-macos`\n- Chat with us on [Reactiflux](https://discord.gg/0ZcbPKXt5bWJVmUY) in `#react-native-platforms` (mentioning @ptmt)\n- DM @ptmt on twitter\n\n## Examples\n\n### RNTesterApp\n\nRNTesterApp includes a set of component examples that illustrate their functionality. It also allows you to load external JavaScript bundle files through HTTP. Just copy and paste a URL into the Search Field.\n\n[Download UIExplorer](https://github.com/ptmt/react-native-macos/files/199128/UIExplorer.zip)\n\n![screenshot 2016-03-31 21 06 33](https://cloud.githubusercontent.com/assets/1004115/14185918/91648d8c-f784-11e5-82b6-fcd08b74b89a.png)\n\n![screenshot 2016-03-31 21 00 30](https://cloud.githubusercontent.com/assets/1004115/14185806/1cd2dfdc-f784-11e5-8c14-de0ca21f7ead.png)\n\n![screenshot 2015-10-24 16 40 36](https://cloud.githubusercontent.com/assets/1004115/14185895/7c133eb0-f784-11e5-8e3c-ca36aa351a26.png)\n\n## License\n\nReact Native is MIT licensed.\n","funding_links":[],"categories":["Components","JavaScript","Development","一次学习，随处可写","Libraries"],"sub_categories":["Other Platforms","其他","工具"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptmt%2Freact-native-macos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptmt%2Freact-native-macos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptmt%2Freact-native-macos/lists"}