{"id":28559106,"url":"https://github.com/toastdriven/pubsubittyhub","last_synced_at":"2025-06-10T08:36:13.481Z","repository":{"id":66172577,"uuid":"440308","full_name":"toastdriven/pubsubittyhub","owner":"toastdriven","description":"PubSubHubbub via webhooks. Mostly a port of watercoolr.","archived":false,"fork":false,"pushed_at":"2009-12-17T09:23:33.000Z","size":80,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-07T16:54:57.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toastdriven.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2009-12-17T09:09:36.000Z","updated_at":"2014-10-21T20:17:56.000Z","dependencies_parsed_at":"2023-02-19T23:35:14.679Z","dependency_job_id":null,"html_url":"https://github.com/toastdriven/pubsubittyhub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fpubsubittyhub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fpubsubittyhub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fpubsubittyhub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fpubsubittyhub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toastdriven","download_url":"https://codeload.github.com/toastdriven/pubsubittyhub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fpubsubittyhub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259039618,"owners_count":22796875,"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-06-10T08:36:04.783Z","updated_at":"2025-06-10T08:36:13.462Z","avatar_url":"https://github.com/toastdriven.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=============\npubsubittyhub\n=============\n\n\nPubSubHubbub via webhooks. Mostly a port of watercoolr_.\n\n.. _watercoolr: http://github.com/capotej/watercoolr\n\n\nUsage\n=====\n\nSimply run ``python pubsubittyhub.py``. The daemon will start running.\n\nFor a client reference usage, please refer to the ``example.py`` file included\nwith the distribution.\n\n\nCreating A Channel\n==================\n\nSend an empty POST request to ``http://localhost:8080/channels``. This will\nreturn a JSON payload with the channel name (a hash).\n\nExample Response::\n\n    {\"id\": \"5e0de16a5467cd0fe940b2f76f537a98\"}\n\n\nAdding A Subscriber To The Channel\n==================================\n\nSend a POST request to ``http://localhost:8080/subscribers`` with a single key\n(``data``) that contains a url-encoded JSON string of the channel name and the\nwebhook URL for that subscriber.\n\nYou receive back a JSON payload of ``status`` (``true`` or ``false``).\n\nExample Request::\n\n    data='{\"channel\": \"5e0de16a5467cd0fe940b2f76f537a98\", \"url\": \"http://mysite.com/api/hooks/notify\"}'\n\nExample Response::\n\n    {\"status\": true}\n\n\nPosting A Message To All Subscribers\n====================================\n\nSend a POST request to ``http://localhost:8080/messages`` with a single key\n(``data``) that contains a url-encoded JSON string of the channel name and the\nmessage to pass along to the subscribers.\n\nYou receive back a JSON payload of ``status`` (``true`` or ``false``).\n\nExample Request::\n\n    data='{\"channel\": \"5e0de16a5467cd0fe940b2f76f537a98\", \"message\": \"We totally just rolled out a new beta feature! Check it out at http://mysite.com/feature/new\"}'\n\nExample Response::\n\n    {\"status\": true}\n\n\nThanks to Julio Capote (capotej) for the awesome reference implementation. It\nwas a fun little side project.\n\n:author: Daniel Lindsley\n:date: 2009-12-17\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoastdriven%2Fpubsubittyhub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoastdriven%2Fpubsubittyhub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoastdriven%2Fpubsubittyhub/lists"}