{"id":26404191,"url":"https://github.com/gsmlg-dev/abyss","last_synced_at":"2025-06-18T08:35:53.465Z","repository":{"id":278682664,"uuid":"936409619","full_name":"gsmlg-dev/abyss","owner":"gsmlg-dev","description":"Abyss is a pure Elixir UDP server","archived":false,"fork":false,"pushed_at":"2025-04-29T16:53:39.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T19:32:53.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/gsmlg-dev.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,"zenodo":null}},"created_at":"2025-02-21T03:15:11.000Z","updated_at":"2025-04-29T16:50:11.000Z","dependencies_parsed_at":"2025-04-29T17:44:45.516Z","dependency_job_id":null,"html_url":"https://github.com/gsmlg-dev/abyss","commit_stats":null,"previous_names":["gsmlg-dev/abyss"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/gsmlg-dev/abyss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsmlg-dev%2Fabyss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsmlg-dev%2Fabyss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsmlg-dev%2Fabyss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsmlg-dev%2Fabyss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsmlg-dev","download_url":"https://codeload.github.com/gsmlg-dev/abyss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsmlg-dev%2Fabyss/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260519403,"owners_count":23021451,"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":"2025-03-17T16:29:48.310Z","updated_at":"2025-06-18T08:35:48.442Z","avatar_url":"https://github.com/gsmlg-dev.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Abyss\n\n[![release](https://github.com/gsmlg-dev/abyss/actions/workflows/release.yml/badge.svg)](https://github.com/gsmlg-dev/abyss/actions/workflows/release.yml) \n[![Hex.pm](https://img.shields.io/hexpm/v/abyss.svg)](https://hex.pm/packages/abyss) \n[![Documentation](https://img.shields.io/badge/documentation-gray)](https://hexdocs.pm/abyss)\n\n---\n\n## Installation\n\nThe package can be installed by adding `abyss` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:abyss, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n## Run Example\n\n```shell\n# run service\nmix run --no-halt -e 'Code.require_file(\"example/echo.ex\"); Abyss.Logger.attach_logger(:trace); Abyss.start_link(handler_module: Echo, port: 1234); Process.sleep(3600_000 * 24); '\n\nmix run --no-halt -e 'Abyss.Logger.attach_logger(:trace); Abyss.start_link(handler_module: Abyss.Echo, port: 1234); Process.sleep(3600_000 * 24); '\n\n# test\nwhile true\ndo \n  echo \"Hello, UDP $(date +%T)\" | nc -4 -u -w1 127.0.0.1 1234\ndone\n```\n\nListen `broadcast`\n\nDHCP\n\n```shell\nmix run --no-halt -e 'Code.require_file(\"example/dump.ex\"); Abyss.Logger.attach_logger(:trace); Abyss.start_link(handler_module: Dump, port: 67, transport_options: [broadcast: true, multicast_if: {255, 255, 255, 255}]); Process.sleep(3600_000 * 24) '\n```\n\nmDNS\n\n```shell\nmix run --no-halt -e 'Code.require_file(\"example/dump_mdns.ex\"); Abyss.Logger.attach_logger(:trace); Abyss.start_link(handler_module: DumpMDNS, port: 5353, transport_options: [broadcast: true, multicast_if: {224, 0, 0, 251}]); Process.sleep(3600_000 * 24) '\n# or\nmix run --no-halt -e 'Code.require_file(\"example/dump_mdns.ex\"); Abyss.start_link(handler_module: DumpMDNS, port: 5353, transport_options: [broadcast: true, multicast_if: {224, 0, 0, 251}]); Process.sleep(3600_000 * 24) '\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsmlg-dev%2Fabyss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsmlg-dev%2Fabyss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsmlg-dev%2Fabyss/lists"}