{"id":21807297,"url":"https://github.com/pertsevds/nbpm","last_synced_at":"2025-04-13T20:43:40.071Z","repository":{"id":194227109,"uuid":"690509996","full_name":"pertsevds/nbpm","owner":"pertsevds","description":"With Nbpm you don't need EPMD daemon. No additional daemons, no additional configs. Easy and simple distribution without EPMD.","archived":false,"fork":false,"pushed_at":"2024-04-08T14:20:41.000Z","size":47,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-08T17:47:11.729Z","etag":null,"topics":["elixir","epmd"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/pertsevds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2023-09-12T10:37:56.000Z","updated_at":"2024-04-15T07:06:49.440Z","dependencies_parsed_at":"2024-03-21T19:44:27.763Z","dependency_job_id":"a85fad0e-86b3-4d1b-872e-5f2148127b8d","html_url":"https://github.com/pertsevds/nbpm","commit_stats":null,"previous_names":["pertsevds/nbpm"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pertsevds%2Fnbpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pertsevds%2Fnbpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pertsevds%2Fnbpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pertsevds%2Fnbpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pertsevds","download_url":"https://codeload.github.com/pertsevds/nbpm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226753068,"owners_count":17676375,"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":["elixir","epmd"],"created_at":"2024-11-27T12:39:14.095Z","updated_at":"2024-11-27T12:39:14.685Z","avatar_url":"https://github.com/pertsevds.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nbpm\n\nName-Based Port Mapper\n\n---\n\n[![CI](https://github.com/pertsevds/nbpm/actions/workflows/ci.yml/badge.svg)](https://github.com/pertsevds/nbpm/actions/workflows/ci.yml)\n[![Coverage Status](https://coveralls.io/repos/github/pertsevds/nbpm/badge.svg?branch=main)](https://coveralls.io/github/pertsevds/nbpm?branch=main)\n[![Hex.pm License](https://img.shields.io/hexpm/l/nbpm)](https://hex.pm/packages/nbpm)\n[![Hex.pm Version](https://img.shields.io/hexpm/v/nbpm)](https://hex.pm/packages/nbpm)\n[![Hex.pm Docs](https://img.shields.io/badge/hex-docs-lightgreen)](https://hexdocs.pm/nbpm)\n[![Hex.pm Downloads](https://img.shields.io/hexpm/dt/nbpm)](https://hex.pm/packages/nbpm)\n\nWith Nbpm you don't need EPMD daemon.\nNo additional daemons, no additional configs.\nEasy and simple distribution without EPMD.\n\n## Features\n\n- `Mix.Release` compatibility.\n- Ability to specify port number in the node name.\n- Hash-Based Port from node name.\n- [Mix task to get port number from node name](#mix-task-to-get-port-number-from-node-name).\n\n## Installation\n\nTo use `Nbpm` in your Elixir project, add it as a dependency\nin your `mix.exs` file:\n\n```elixir\ndef deps do\n[\n    {:nbpm, \"~\u003e 0.3.1\"}\n]\nend\n```\n\nRun\n\n```shell\nmix deps.get\n```\n\nto download it.\n\nThen run\n\n```shell\nmix nbpm.install\n```\n\nto install Nbpm into your project.\n\n\u003e [!NOTE]\n\u003e `mix nbpm.install` will add `-start_epmd false -epmd_module Elixir.Nbpm` to\n\u003e `ELIXIR_ERL_OPTIONS` in files `rel/env.sh.eex` and `rel/env.bat.eex`.\n\u003e\n\u003e This will disable loading of EPMD daemon\n\u003e and will use Nbpm module to map node names to ports.\n\n## Mix task to get port number from node name\n\nYou can get port number for your current app name\nby using `nbpm.get_port_number` task:\n\n```shell\nmix nbpm.get_port_number\n```\n\n`mix nbpm.get_port_number` will output port number for your current app.\n\nOr you can supply any node name as an argument:\n\n```shell\nmix nbpm.get_port_number my_app\n```\n\n`mix nbpm.get_port_number my_app` will output port number\nfor `my_app` node name.\n\n## Todo\n\nInstallation to global: \u003chttps://github.com/pertsevds/nbpm/issues/4\u003e\n\n## Documentation\n\n\u003chttps://hexdocs.pm/nbpm\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpertsevds%2Fnbpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpertsevds%2Fnbpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpertsevds%2Fnbpm/lists"}