{"id":13508049,"url":"https://github.com/shankardevy/phoenix-pubsub-postgres","last_synced_at":"2025-12-11T23:33:38.754Z","repository":{"id":29093091,"uuid":"32622313","full_name":"shankardevy/phoenix-pubsub-postgres","owner":"shankardevy","description":"Postgresql PubSub adapter for Phoenix apps","archived":false,"fork":false,"pushed_at":"2015-05-02T08:17:12.000Z","size":195,"stargazers_count":27,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-19T02:19:28.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pgchat.opendrops.com","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/shankardevy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-21T06:19:38.000Z","updated_at":"2024-06-19T10:20:43.000Z","dependencies_parsed_at":"2022-08-02T15:30:14.540Z","dependency_job_id":null,"html_url":"https://github.com/shankardevy/phoenix-pubsub-postgres","commit_stats":null,"previous_names":["opendrops/phoenix-pubsub-postgres"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shankardevy%2Fphoenix-pubsub-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shankardevy%2Fphoenix-pubsub-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shankardevy%2Fphoenix-pubsub-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shankardevy%2Fphoenix-pubsub-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shankardevy","download_url":"https://codeload.github.com/shankardevy/phoenix-pubsub-postgres/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245918411,"owners_count":20693703,"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:46.819Z","updated_at":"2025-10-21T14:58:05.993Z","avatar_url":"https://github.com/shankardevy.png","language":"Elixir","funding_links":[],"categories":["Framework Components"],"sub_categories":[],"readme":"PhoenixPubSubPostgres\n=====================\n\nThis package provides postgres adapater for [Phoenix](http://github.com/phoenixframework/phoenix)'s Pub/Sub channels.\n\n\nDemo\n---\nOpen pgchat.opendrops.com in two different browsers windows and start sending some messages. The message passing is handled by postgres's built-in [pubsub support] (http://www.postgresql.org/docs/9.1/static/sql-notify.html)\n\nDemo app source\n--------------\nSource code of the demo app is available at http://github.com/opendrops/pgchat-demo-app\n\n -\nHow to use\n---------\n\nAdd phoenix_pubsub_postgres to your mix deps\n\n    defp deps do\n      [{:phoenix, github: \"phoenixframework/phoenix\", override: true},\n       {:phoenix_pubsub_postgres, \"~\u003e 0.0.2\"},\n       {:postgrex, \"\u003e= 0.0.0\"},\n       {:cowboy, \"~\u003e 1.0\"}]\n    end\n\nTo use Postgres as your PubSub adapter, simply add it to your Endpoint's config and modify it as needed.\n\n    config :my_app, MyApp.Endpiont,\n      ...\n      pubsub: [name: MyApp.PubSub,\n               adapter: PhoenixPubSubPostgres,\n               hostname: \"localhost\",\n               database: \"myapp_db_env\",\n               username: \"postgres\",\n               password: \"postgres\"]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshankardevy%2Fphoenix-pubsub-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshankardevy%2Fphoenix-pubsub-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshankardevy%2Fphoenix-pubsub-postgres/lists"}