{"id":32172908,"url":"https://github.com/eigr-labs/phoenix-pubsub-nats","last_synced_at":"2026-03-10T07:01:32.141Z","repository":{"id":139565333,"uuid":"566024038","full_name":"eigr-labs/phoenix-pubsub-nats","owner":"eigr-labs","description":"Elixir Phoenix.PubSub adapter based on Nats","archived":false,"fork":false,"pushed_at":"2026-02-02T20:47:35.000Z","size":161,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-02-22T15:39:57.929Z","etag":null,"topics":["nats-client","nats-messaging","phoenix-elixir"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/phoenix_pubsub_nats","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/eigr-labs.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-11-14T20:16:46.000Z","updated_at":"2026-02-02T20:47:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a0bd223-a995-47fe-bec3-5f512cf9189e","html_url":"https://github.com/eigr-labs/phoenix-pubsub-nats","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/eigr-labs/phoenix-pubsub-nats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eigr-labs%2Fphoenix-pubsub-nats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eigr-labs%2Fphoenix-pubsub-nats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eigr-labs%2Fphoenix-pubsub-nats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eigr-labs%2Fphoenix-pubsub-nats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eigr-labs","download_url":"https://codeload.github.com/eigr-labs/phoenix-pubsub-nats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eigr-labs%2Fphoenix-pubsub-nats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30326893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nats-client","nats-messaging","phoenix-elixir"],"created_at":"2025-10-21T18:46:09.910Z","updated_at":"2026-03-10T07:01:32.114Z","avatar_url":"https://github.com/eigr-labs.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phoenix Pubsub Nats\n\nPhoenix PubSub adapter based on Nats.\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `phoenix_pubsub_nats` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:phoenix_pubsub_nats, \"~\u003e 0.2.2\"}\n  ]\nend\n```\n\n## Usage\n\nAn example usage (add this to your supervision tree):\n\n  ```elixir\n  # application.ex\n  children = [\n     {\n        Phoenix.PubSub,\n          name: Phoenix.PubSubTest,\n          adapter: PhoenixPubsubNats,\n          connection: %{host: '127.0.0.1', port: 4222}\n     }\n  ]\n  \n  ```\n  where `connection` is configured separately based on the `gnat`\n  [documentation](https://hexdocs.pm/gnat/readme.html).\n\n  Optional parameters:\n\n  * `serializer`: Used to convert messages to/from the underlying Nats system.\n                  This library provides two implementations of the `Nats.Serializer`\n                  serialization module, namely:\n                  * `Nats.Serializer.Native`: Convert messages using Erlang's native serialization mechanism.\n                  * `Nats.Serializer.Json`: Convert messages using Json format.\n\nFor more details on how to use it, see the [Phoenix.PubSub documentation](https://hexdocs.pm/phoenix_pubsub/Phoenix.PubSub.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feigr-labs%2Fphoenix-pubsub-nats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feigr-labs%2Fphoenix-pubsub-nats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feigr-labs%2Fphoenix-pubsub-nats/lists"}