{"id":4825,"url":"https://github.com/zetachang/opal-native","last_synced_at":"2025-08-04T02:31:51.981Z","repository":{"id":29894978,"uuid":"33440586","full_name":"zetachang/opal-native","owner":"zetachang","description":"React Native in Ruby","archived":false,"fork":false,"pushed_at":"2015-08-23T08:27:28.000Z","size":803,"stargazers_count":400,"open_issues_count":7,"forks_count":13,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-12-07T09:32:05.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/zetachang.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":"2015-04-05T12:45:02.000Z","updated_at":"2024-02-27T14:37:59.000Z","dependencies_parsed_at":"2022-08-23T04:50:44.974Z","dependency_job_id":null,"html_url":"https://github.com/zetachang/opal-native","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zetachang/opal-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetachang%2Fopal-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetachang%2Fopal-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetachang%2Fopal-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetachang%2Fopal-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zetachang","download_url":"https://codeload.github.com/zetachang/opal-native/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetachang%2Fopal-native/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268639931,"owners_count":24282678,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-01-05T20:17:25.336Z","updated_at":"2025-08-04T02:31:51.681Z","avatar_url":"https://github.com/zetachang.png","language":"Ruby","funding_links":[],"categories":["Utilities","Tooling","Uncategorized"],"sub_categories":["Other Platforms","Uncategorized"],"readme":"# Opal Native - React Native in Ruby\n\n\u003e JavaScript is an implementation detail.\n\u003e \n\u003e -- [Why React Native Matters](http://joshaber.github.io/2015/01/30/why-react-native-matters/)\n\n![Screenshot](screenshot.png)\n\n## Motivation\n\nTo provide a Ruby-friendly tool chain (this doesn't require node / npm) and wrapper over [React Native](http://facebook.github.io/react-native/) API. :sparkling_heart:\n\n## Dependency\n\n* [Opal Ruby](http://opalrb.org) is used as Ruby transpiler to transpile your Ruby code into JavaScript.\n* [react.rb](https://github.com/zetachang/react.rb) is a React.js wrapper providing basic DSL support in Ruby.\n\n## Usage\n\n1. Clone or download this project\n2. `bundle install`\n3. `bundle exec pod install` to install iOS dependency\n4. `open SampleApp.xcworkspace` to launch Xcode (xc**Workspace** not xcode*Proj*!)\n5. `bundle exec thin -R config.ru start -p 8081` to start packaging server\n6. Build \u0026 Run\n\nNote: Switch port other than 8081 is not allowed currently.\n\n### Debug\n\n1. `Ctrl + Command + Z` to toggle dev menu, and select \"Enable debugging\".\n2. Open `http://localhost:8081/` in  Chrome or Safari to debug in inspector (haven't test in Firefox yet)\n3. For details, see [Debugging Tutorial of React Native](http://facebook.github.io/react-native/docs/debugging.html)\n\n## TODO\n\n- [ ] Source map is broken\n- [ ] Publish as a gem\n- [ ] Add project generator or provide Xcode template\n- [ ] Rewrite the original Movie.app example\n\n## Contributions\n\nThis project is currently in proof of concept stage, so discussion, bug report and PR are really welcome :wink:.\n\n## Contact\n\n[David Chang](http://github.com/zetachang)\n[@zetachang](https://twitter.com/zetachang)\n\n## License\n\nopal-native is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzetachang%2Fopal-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzetachang%2Fopal-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzetachang%2Fopal-native/lists"}