{"id":23156987,"url":"https://github.com/bradh/opensphere-plugin-cookbook-tracks","last_synced_at":"2025-10-25T12:03:47.009Z","repository":{"id":145516953,"uuid":"196567601","full_name":"bradh/opensphere-plugin-cookbook-tracks","owner":"bradh","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-13T02:49:55.000Z","size":6625,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T03:53:50.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bradh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-12T11:27:17.000Z","updated_at":"2021-02-13T02:49:57.000Z","dependencies_parsed_at":"2023-04-04T21:34:16.863Z","dependency_job_id":null,"html_url":"https://github.com/bradh/opensphere-plugin-cookbook-tracks","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/bradh%2Fopensphere-plugin-cookbook-tracks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradh%2Fopensphere-plugin-cookbook-tracks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradh%2Fopensphere-plugin-cookbook-tracks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradh%2Fopensphere-plugin-cookbook-tracks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradh","download_url":"https://codeload.github.com/bradh/opensphere-plugin-cookbook-tracks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226196,"owners_count":20904464,"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-12-17T21:16:04.812Z","updated_at":"2025-10-25T12:03:46.947Z","avatar_url":"https://github.com/bradh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# opensphere-plugin-example\n\nThis is an example of an external plugin to [OpenSphere](https://github.com/ngageoint/opensphere). \n\n## Getting Started\n\nFor ease of development, we have created [opensphere-yarn-workspace](https://github.com/ngageoint/opensphere-yarn-workspace) which assists in developing across multiple projects.\n\nAfter you set that up, your directory structure should look like this:\n```\nopensphere-yarn-workspace/ # your clone of opensphere-yarn-workspace\n  workspace/\n    opensphere/ # your clone of OpenSphere\n```\n\nThis project has all the basic boilerplate for getting a plugin project started. Clone it into the workspace as a sibling to OpenSphere.\n\n```\nopensphere-yarn-workspace/\n  workspace/\n    opensphere/\n    opensphere-plugin-example\n```\n\nNow rename it to `opensphere-plugin-whatever-you-like`. Just do not forget to update its name in `package.json` also! \n\nRun `yarn` to install dependencies. Afterward, you can run tests with `yarn test`, however, the build itself still takes place in the `opensphere` project. Jump back to that project and use `yarn build` to pick up your plugin. Then view OpenSphere in your browser as you normally would.\n\n## Plugin Tests\n\nThis includes the same (slightly old now) Karma and Jasmine versions as the main OpenSphere project. However, you can change those to whatever you like! Just take note of how [`karma.conf.js`](https://github.com/ngageoint/opensphere-plugin-example/blob/master/karma.conf.js) is picking up the included files in the `closureFiles` variable and then passing those to the Karma config. You will need to do something similar for configuring other test runners.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradh%2Fopensphere-plugin-cookbook-tracks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradh%2Fopensphere-plugin-cookbook-tracks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradh%2Fopensphere-plugin-cookbook-tracks/lists"}