{"id":19481186,"url":"https://github.com/dride/cordova-gomobile","last_synced_at":"2025-06-16T06:40:21.067Z","repository":{"id":57207547,"uuid":"175225015","full_name":"dride/cordova-gomobile","owner":"dride","description":"Generate cordova plugin for native logic written in Go","archived":false,"fork":false,"pushed_at":"2019-03-26T16:12:13.000Z","size":28,"stargazers_count":7,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T19:55:46.107Z","etag":null,"topics":["cordova","cordova-plugin","golang"],"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/dride.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":"2019-03-12T14:09:35.000Z","updated_at":"2025-05-05T18:39:01.000Z","dependencies_parsed_at":"2022-09-11T05:30:35.536Z","dependency_job_id":null,"html_url":"https://github.com/dride/cordova-gomobile","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dride/cordova-gomobile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dride%2Fcordova-gomobile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dride%2Fcordova-gomobile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dride%2Fcordova-gomobile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dride%2Fcordova-gomobile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dride","download_url":"https://codeload.github.com/dride/cordova-gomobile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dride%2Fcordova-gomobile/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260115153,"owners_count":22961025,"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","cordova-plugin","golang"],"created_at":"2024-11-10T20:01:41.499Z","updated_at":"2025-06-16T06:40:21.041Z","avatar_url":"https://github.com/dride.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Motivation\n\nCordova give us great way to build and maintain one codebase for both Android and iOS yet in some case the power of native code is needed, this project will help you maintain one code base for native code using Go and GoMobile.\nYou write the business logic of your app and this project will generate a cordova plugin with all the exported functions from your Go code.\n\n# Installation\n\nClone this project into your \\$GOPATH\n\n### Install goMobile\n\n`go get golang.org/x/mobile/cmd/gomobile`\n\n`gomobile init`\n\n`npm install`\n\n### Build Cordova plugin\n\n\u003e npm run build\n\n### What happens on build?\n\n- [x]  Your index.go file is parsed and all functions are exported\n- [x]  CordovaGoCore.swift is generated according to your index.go\n- [x]   CordovaGoCore.java  is generated according to your index.go\n- [x]   www/index.js bridge is created according to your index.go\n- [x]   Types file is generated ✨\n\n\n## FAQ\n\n### How to update my GOPATH\n\nexport GOPATH=$HOME/cordova-gomobile/\n\nexport GOBIN=$GOPATH/bin\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdride%2Fcordova-gomobile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdride%2Fcordova-gomobile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdride%2Fcordova-gomobile/lists"}