{"id":17794518,"url":"https://github.com/kjunichi/cordova-plugin-mruby","last_synced_at":"2026-04-19T17:12:21.374Z","repository":{"id":148482560,"uuid":"68258952","full_name":"kjunichi/cordova-plugin-mruby","owner":"kjunichi","description":"mruby for cordova(iOS, Android)","archived":false,"fork":false,"pushed_at":"2016-09-26T08:40:42.000Z","size":26215,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T17:25:33.047Z","etag":null,"topics":["cordova","jni","mruby"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kjunichi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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}},"created_at":"2016-09-15T01:56:53.000Z","updated_at":"2017-08-02T18:05:44.000Z","dependencies_parsed_at":"2023-05-20T07:15:28.499Z","dependency_job_id":null,"html_url":"https://github.com/kjunichi/cordova-plugin-mruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fcordova-plugin-mruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fcordova-plugin-mruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fcordova-plugin-mruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fcordova-plugin-mruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kjunichi","download_url":"https://codeload.github.com/kjunichi/cordova-plugin-mruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741731,"owners_count":20826233,"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":["cordova","jni","mruby"],"created_at":"2024-10-27T11:16:45.546Z","updated_at":"2025-10-15T00:23:41.832Z","avatar_url":"https://github.com/kjunichi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-plugin-mruby\n\n\n[![cordova-plugin-mruby](http://img.youtube.com/vi/Mz27HAByEE4/0.jpg)](http://www.youtube.com/watch?v=Mz27HAByEE4)\n\n# install\n\n```shell\ncordova plugin install https://github.com/kjunichi/cordova-plugin-mruby.git\n```\n\n# Usage\n\n## HTML\n\n```html\n\u003ctextarea id=\"rubyscript\"\u003e\nputs \"Hello,mruby!\"\ni=gets\nputs 123.to_s + \" mruby i=#{i}\"\n\u003c/textarea\u003e\n\u003cdiv id=\"stdout\"\u003e\u003c/div\u003e\n```\n\n## JavaScript\n\n```javascript\nconst success = function(message) {\n  //alert(message);\n}\nconst failure = function() {\n  alert(\"Error calling Hello Plugin\");\n}\nconst script = document.getElementById(\"rubyscript\").value;\nconst stdout = document.getElementById(\"stdout\");\nmruby.mrbLoadString(script, stdout, success, failure);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjunichi%2Fcordova-plugin-mruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkjunichi%2Fcordova-plugin-mruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjunichi%2Fcordova-plugin-mruby/lists"}