{"id":23170993,"url":"https://github.com/ignatandrei/microservicesportchooser","last_synced_at":"2025-08-18T07:31:58.577Z","repository":{"id":38997895,"uuid":"395148870","full_name":"ignatandrei/MicroservicesPortChooser","owner":"ignatandrei","description":"If you have multiple microservices and do not know how to choose a port, generate same static port number every time","archived":false,"fork":false,"pushed_at":"2024-03-15T04:41:55.000Z","size":1840,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-01T04:24:21.031Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://microservicesportchooser.azurewebsites.net/","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/ignatandrei.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}},"created_at":"2021-08-12T00:22:40.000Z","updated_at":"2021-11-07T03:07:19.000Z","dependencies_parsed_at":"2023-02-06T21:17:13.284Z","dependency_job_id":"8436f2d0-6b13-4e03-b5ec-83ba9070eea0","html_url":"https://github.com/ignatandrei/MicroservicesPortChooser","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/ignatandrei/MicroservicesPortChooser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FMicroservicesPortChooser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FMicroservicesPortChooser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FMicroservicesPortChooser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FMicroservicesPortChooser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ignatandrei","download_url":"https://codeload.github.com/ignatandrei/MicroservicesPortChooser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FMicroservicesPortChooser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270961626,"owners_count":24675914,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-18T04:15:48.689Z","updated_at":"2025-08-18T07:31:58.255Z","avatar_url":"https://github.com/ignatandrei.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MicroservicesPortChooser\nIf you have multiple microservices and do not know how to choose a port, generate same static port number every time for the name of the application\n\nAlso, you can have a list of the microservices and their ports.\n\n## Demo \n\nhttps://microservicesportchooser.azurewebsites.net/\n\n## Swagger / OpenAPI\nhttps://microservicesportchooser.azurewebsites.net/swagger/index.html\n\n## How to deploy on your  microservice platform\n\nDownload your release :\n### Windows x64: \n\nDownload https://github.com/ignatandrei/MicroservicesPortChooser/releases/latest/download/releaseWin.zip/\n\nand start the application with the following command:  \n\nMicroservicesPortChooser --urls http://0.0.0.0:24079\n\nRead more at https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-5.0\n\n### IIS x64: \n\nDownload https://github.com/ignatandrei/MicroservicesPortChooser/releases/latest/download/releaseIISWin.zip/\n\nInstall ASP.NET Core Module from https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-5.0\n\nRead more https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-5.0\n\n### Linux x64: \n\nDownload https://github.com/ignatandrei/MicroservicesPortChooser/releases/latest/download/releaseLin.zip/\nNGINX : read https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-5.0\nAPACHE: https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-apache?view=aspnetcore-5.0\n\n\n## How to use in your application\n\n### .NET Core\nMake a HttpClient and call the service with the following url:\nhttps://microservicesportchooser.azurewebsites.net/api/v1/PortChooser/GetDeterministicPortFrom/{serviceName}\n\nOr add the Nuget package \n\u003ca href='https://www.nuget.org/packages/MicroservicesPortChooser/' target='_blank'\u003e\n![Nuget](https://img.shields.io/nuget/v/MicroservicesPortChooser)\n\u003c/a\u003e\nand follow the instructions\n### Expres\n\n```javascript\nconst express = require('express');\nconst axios = require('axios');\n\nconst app = express();\n\napp.get('/', function (req, res) {\n  res.send('hello world');\n})\n//replace test with your service name\naxios.get('https://microservicesportchooser.azurewebsites.net/api/v1/PortChooser/GetDeterministicPortFrom/test')\n  .then(function (response) {\n    app.listen(Number(response.data));\n  })\n  .catch(function (error) {\n    // handle error\n    console.log(error);\n  });      \n```\n\n\n### Releases\n\nWindows x64: https://github.com/ignatandrei/MicroservicesPortChooser/releases/latest/download/releaseWin.zip/\n\nIIS x64: https://github.com/ignatandrei/MicroservicesPortChooser/releases/latest/download/releaseIISWin.zip/\n\nLinux x64: https://github.com/ignatandrei/MicroservicesPortChooser/releases/latest/download/releaseLin.zip/\n\nVersioning: https://microservicesportchooser.azurewebsites.net/ams\n\nSource Code: https://github.com/ignatandrei/MicroservicesPortChooser/\n\nNuget : \u003ca href='https://www.nuget.org/packages/MicroservicesPortChooser/' target='_blank'\u003e\n![Nuget](https://img.shields.io/nuget/v/MicroservicesPortChooser)\n\u003c/a\u003e\n\n\nPR Welcomed!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Fmicroservicesportchooser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignatandrei%2Fmicroservicesportchooser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Fmicroservicesportchooser/lists"}