{"id":13731074,"url":"https://github.com/k0dep/Originer","last_synced_at":"2025-05-08T03:32:49.914Z","repository":{"id":121120425,"uuid":"184786622","full_name":"k0dep/Originer","owner":"k0dep","description":":octocat:🧳The package for Unity3d which makes it possible to automatically resolve UPM dependencies on projects located on Github","archived":false,"fork":false,"pushed_at":"2019-12-16T11:58:39.000Z","size":32,"stargazers_count":39,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T03:15:00.444Z","etag":null,"topics":["editor-extension","originer","package-manager-tool","unity","unity3d","upm-package"],"latest_commit_sha":null,"homepage":"http://originer.parabox.tech","language":"C#","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/k0dep.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}},"created_at":"2019-05-03T16:21:38.000Z","updated_at":"2024-09-14T05:30:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"6047bce0-44b7-460d-8423-7a2c4d57965a","html_url":"https://github.com/k0dep/Originer","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0dep%2FOriginer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0dep%2FOriginer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0dep%2FOriginer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0dep%2FOriginer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k0dep","download_url":"https://codeload.github.com/k0dep/Originer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252994396,"owners_count":21837415,"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":["editor-extension","originer","package-manager-tool","unity","unity3d","upm-package"],"created_at":"2024-08-03T02:01:23.564Z","updated_at":"2025-05-08T03:32:49.582Z","avatar_url":"https://github.com/k0dep.png","language":"C#","funding_links":[],"categories":["C#","UPM Utilities"],"sub_categories":[],"readme":"Originer\n=========\n\nThe package for Unity3d after the addition of which makes it possible to automatically resolve and enable the \"Unity package manager\" system dependencies on projects located on Github.\n\nThe essence of the problem\n--------------------------\n\nUnity package manager allow include packages from git repositories together with default upm repository.  \n\nIt looks like this:  \n`./Packages/manifest.json`\n```json\n{\n  \"dependencies\": {\n    \"bindingrx\": \"https://github.com/k0dep/bindingrx.git#2.1.1\",\n    \"com.unity.package-manager-ui\": \"2.1.2\",\n    \"com.unity.some-default-packages-from-upm\": \"1.0.0\"\n  },\n}\n```\n\nThis feature is described in [the UPM dedicated UPM forum.](https://forum.unity.com/threads/git-support-on-package-manager.573673/)  \n\nBut if the `BuindingRx` package will have dependencies on the packages not added to `manifest.json` inside it, this will result in Unity not resolving this dependency.  \n\nThis problem can be solved with the help of scoped registries. This feature is described in [this thread.](https://forum.unity.com/threads/setup-for-scoped-registries-private-registries.573934/#post-3819754)  \n\nBut this method requires certain package naming (the package must have a certain prefix, for example `com.unity.*`) And deploy its own solution for storing and distributing npm packages, for example [Verdaccio](https://github.com/verdaccio/verdaccio), which is not a convenient solution for small and/or open source projects.  \n\nThis package solve this issue. If the project has the `Originer` package in dependencies, then after starting the unity, the package will try to find unresolved dependencies in the installed projects, try to find them in Github according to certain rules described below and install them in `manifest.json`\n\nRepository requirements\n-----------------------\n\n* In order for `Originer` to be able to find your repository in github as a dependency and successfully include it in the proget, you need to add a repository with a __topic__ named `upm-package`\n* The repository should be named the same as the package name.\n\nЕxamples of repositories as packages:\n* [BindingRx](https://github.com/k0dep/BindingRx)\n* [type-inspector](https://github.com/k0dep/type-inspector)\n* [AutoInjector](https://github.com/k0dep/AutoInjector)\n* [MoonSharp](https://github.com/k0dep/MoonSharp)\n* [UniRx](https://github.com/k0dep/UniRx)\n\n[Full list of available repositories](https://github.com/topics/upm-package) for use as upm package by `Originer`  \n\n[More about Github topics](https://github.blog/2017-01-31-introducing-topics/)\n\nUsing\n-----\n\nFor start using this package add lines into `./Packages/manifest.json` like next sample:  \n```json\n{\n  \"dependencies\": {\n    \"originer\": \"https://github.com/k0dep/originer.git\"\n  }\n}\n```\n\nAfter this step, just add your package in `./Packages/manifest.json` and open Unity editor. `Originer` will ask you for permission to make changes to manifest.json. Enjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0dep%2FOriginer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk0dep%2FOriginer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0dep%2FOriginer/lists"}