{"id":13466112,"url":"https://github.com/haavamoa/Gjallarhorn","last_synced_at":"2025-03-25T21:31:33.109Z","repository":{"id":68183832,"uuid":"160585098","full_name":"haavamoa/Gjallarhorn","owner":"haavamoa","description":"A blazing website to compare versions of packages on different NuGet sources.","archived":false,"fork":false,"pushed_at":"2020-08-27T21:08:59.000Z","size":9386,"stargazers_count":5,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-29T04:33:30.015Z","etag":null,"topics":["blazor","blazor-application","compare-versions","gjallarhorn","json","mvvm","mvvm-architecture","nuget-sources","shared-components","webclient"],"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/haavamoa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-12-05T22:11:57.000Z","updated_at":"2022-12-28T22:46:14.000Z","dependencies_parsed_at":"2023-07-05T01:19:06.085Z","dependency_job_id":null,"html_url":"https://github.com/haavamoa/Gjallarhorn","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haavamoa%2FGjallarhorn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haavamoa%2FGjallarhorn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haavamoa%2FGjallarhorn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haavamoa%2FGjallarhorn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haavamoa","download_url":"https://codeload.github.com/haavamoa/Gjallarhorn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213374200,"owners_count":15577515,"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":["blazor","blazor-application","compare-versions","gjallarhorn","json","mvvm","mvvm-architecture","nuget-sources","shared-components","webclient"],"created_at":"2024-07-31T15:00:39.305Z","updated_at":"2024-07-31T15:02:30.646Z","avatar_url":"https://github.com/haavamoa.png","language":"JavaScript","funding_links":[],"categories":["Sample Projects"],"sub_categories":["Others"],"readme":"[![Build Status](https://dev.azure.com/havardmoas/HaavamoaProjects/_apis/build/status/haavamoa.Gjallarhorn?branchName=master)](https://dev.azure.com/havardmoas/HaavamoaProjects/_build/latest?definitionId=6\u0026branchName=master)\n\n![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/haavamoa/gjallarhorn.svg)\n\n# Gjallarhorn\n\nA blazing website to compare versions of packages on different NuGet sources.\n\n\n## The idea\n\nInstead of making packages publicly available, you might want to release packages to only a limited audience, such as your organization or workgroup.\nThis web-client provides a simple way of monitoring the different versions of a package on different sources.\n\n## Technologies\n\n- ASP.NET Core 3.0\n- Blazor\n\n## How to use it\n\n### Source \n\n- Open port `1338`\n- `cd src/Gjallarhorn.Server`\n- `dotnet run`\n\n### Docker\n\n`docker pull haavamoa/gjallarhorn`\n\n# Demonstration\nWhen first starting the web-site you will enter a blank *status*-page. What you need to do is to go to *edit*-page and start writing JSON.\n\nHere is a example of a potential JSON where we compare *LightInject* with two sources: ``https://api.nuget.org/v3`` and `\u003cMyFakeFeedUrl\u003e`.\nWe also set `aliases` to the feeds, which is a display message in the *status* page.\n![BeforeFetch]\n\n## Here is the JSON\n\n```json\n{\n  \"SourceComparers\": [\n    {\n      \"SourceA\": \"https://api.nuget.org/v3/\",\n      \"SourceAAlias\": \"NuGet\",\n      \"SourceB\": \"\u003cMyFakeFeedUrl\u003e\",\n      \"SourceBAlias\": \"My fake feed\",\n      \"Packages\": [\n        {\n          \"Name\": \"LightInject\",\n          \"ComparePreRelease\": true\n        }\n      ]\n    }\n  ]\n}\n```\n\nWhen we press *Save* we jump back to the *status*-page, and we start fetching versions from the two feeds:\n![DuringFetch]\n\nAfter the fetching has finished, we get a simplified view of the package status:\n![AfterFetch]\n\n\nIf we want to add more packages to this two comparing sources, we do the following:\n```json\n{\n  \"SourceComparers\": [\n    {\n      \"SourceA\": \"https://api.nuget.org/v3/\",\n      \"SourceAAlias\": \"NuGet\",\n      \"SourceB\": \"\u003cMyFakeFeedUrl\u003e\",\n      \"SourceBAlias\": \"My fake feed\",\n      \"Packages\": [\n        {\n          \"Name\": \"LightInject\",\n          \"ComparePreRelease\": true\n        },\n        {\n          \"Name\" : \"Newtonsoft.Json\",\n          \"ComparePreRelease\": true\n        }\n      ]\n    }\n  ]\n}\n```\n\nIf we want to add different comparing sources, we do the following:\n```json\n{\n  \"SourceComparers\": [\n    {\n      \"SourceA\": \"https://api.nuget.org/v3/\",\n      \"SourceAAlias\": \"NuGet\",\n      \"SourceB\": \"\u003cMyFakeFeedUrl\u003e\",\n      \"SourceBAlias\": \"My fake feed\",\n      \"Packages\": [\n        {\n          \"Name\": \"LightInject\",\n          \"ComparePreRelease\": true\n        },\n        {\n          \"Name\" : \"Newtonsoft.Json\",\n          \"ComparePreRelease\": true\n        }\n      ]\n    },\n    {\n      \"SourceA\": \"https://api.nuget.org/v3/\",\n      \"SourceAAlias\": \"NuGet\",\n      \"SourceB\": \"\u003cAnotherFakeUrl\u003e\",\n      \"SourceBAlias\": \"My other fake feed\",\n      \"Packages\": [\n        {\n          \"Name\": \"LightInject\",\n          \"ComparePreRelease\": true\n        },\n        {\n          \"Name\" : \"Newtonsoft.Json\",\n          \"ComparePreRelease\": true\n        }\n      ]\n    }\n\n  ]\n}\n```\n## Options when creating JSON in edit-mode\n\n*ComparePrerelease* is optional, and is set to false if left empty.\n\n[BeforeFetch]: doc/img/BeforeFetch.png\n[DuringFetch]: doc/img/DuringFetch.png\n[AfterFetch]: doc/img/AfterFetch.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaavamoa%2FGjallarhorn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaavamoa%2FGjallarhorn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaavamoa%2FGjallarhorn/lists"}