{"id":13508056,"url":"https://github.com/phoenixframework/phoenix_pubsub_redis","last_synced_at":"2025-03-30T09:33:19.264Z","repository":{"id":32410773,"uuid":"35987648","full_name":"phoenixframework/phoenix_pubsub_redis","owner":"phoenixframework","description":"The Redis PubSub adapter for the Phoenix framework","archived":false,"fork":false,"pushed_at":"2025-02-15T16:37:55.000Z","size":96,"stargazers_count":177,"open_issues_count":10,"forks_count":68,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-02-15T17:27:43.365Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phoenixframework.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2015-05-21T03:00:32.000Z","updated_at":"2025-02-15T16:37:59.000Z","dependencies_parsed_at":"2024-01-05T21:55:34.578Z","dependency_job_id":"f8bf018e-4f18-41b3-a38f-601002e3f282","html_url":"https://github.com/phoenixframework/phoenix_pubsub_redis","commit_stats":{"total_commits":88,"total_committers":25,"mean_commits":3.52,"dds":0.7045454545454546,"last_synced_commit":"028cd1689c21969a860d934fe6aa5b24fa46e2be"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoenixframework%2Fphoenix_pubsub_redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoenixframework%2Fphoenix_pubsub_redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoenixframework%2Fphoenix_pubsub_redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoenixframework%2Fphoenix_pubsub_redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phoenixframework","download_url":"https://codeload.github.com/phoenixframework/phoenix_pubsub_redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301963,"owners_count":20755512,"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":"2024-08-01T02:00:47.061Z","updated_at":"2025-03-30T09:33:19.249Z","avatar_url":"https://github.com/phoenixframework.png","language":"Elixir","funding_links":[],"categories":["Framework Components"],"sub_categories":[],"readme":"## Phoenix.PubSub.Redis\n\n\u003e A Redis PubSub adapter for the Phoenix framework\n\nSee the [docs](https://hexdocs.pm/phoenix_pubsub_redis/) for more information.\n\n## Usage\n\nTo use Redis as your PubSub adapter, simply add it to your deps and Application's Supervisor tree:\n\n```elixir\n# mix.exs\ndefp deps do\n  [{:phoenix_pubsub_redis, \"~\u003e 3.0\"}],\nend\n\n# application.ex\nchildren = [\n  # ...,\n  {Phoenix.PubSub,\n   adapter: Phoenix.PubSub.Redis,\n   host: \"192.168.1.100\",\n   node_name: System.get_env(\"NODE\")}\n```\n\nConfig Options\n\nOption                  | Description                                                               | Default        |\n:-----------------------| :------------------------------------------------------------------------ | :------------- |\n`:name`                 | The required name to register the PubSub processes, ie: `MyApp.PubSub`    |                |\n`:node_name`            | The required and unique name of the node, ie: `System.get_env(\"NODE\")`    |                |\n`:url`                  | The redis-server URL, ie: `redis://username:password@host:port`           |                |\n`:host`                 | The redis-server host IP                                                  | `\"127.0.0.1\"`  |\n`:port`                 | The redis-server port                                                     | `6379`         |\n`:password`             | The redis-server password                                                 | `\"\"`           |\n`:compression_level`    | Compression level applied to serialized terms (`0` - none, `9` - highest) | `0`            |\n`:socket_opts`          | The redis-server network layer options                                    | `[]`           |\n\n\n## License\n\nCopyright (c) 2014 Chris McCord\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoenixframework%2Fphoenix_pubsub_redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphoenixframework%2Fphoenix_pubsub_redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoenixframework%2Fphoenix_pubsub_redis/lists"}