{"id":37127682,"url":"https://github.com/upsub/dispatcher","last_synced_at":"2026-01-14T14:52:07.734Z","repository":{"id":143825411,"uuid":"115819206","full_name":"upsub/dispatcher","owner":"upsub","description":"High performance Pub/Sub messaging server for the Web","archived":false,"fork":false,"pushed_at":"2018-12-29T09:34:27.000Z","size":171,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T16:21:36.521Z","etag":null,"topics":["dispatcher","message-bus","real-time","server","upsub","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","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/upsub.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}},"created_at":"2017-12-30T19:43:41.000Z","updated_at":"2019-01-05T10:45:38.000Z","dependencies_parsed_at":"2023-06-18T14:52:46.065Z","dependency_job_id":null,"html_url":"https://github.com/upsub/dispatcher","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/upsub/dispatcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upsub%2Fdispatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upsub%2Fdispatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upsub%2Fdispatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upsub%2Fdispatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/upsub","download_url":"https://codeload.github.com/upsub/dispatcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upsub%2Fdispatcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["dispatcher","message-bus","real-time","server","upsub","websocket"],"created_at":"2026-01-14T14:52:06.777Z","updated_at":"2026-01-14T14:52:07.698Z","avatar_url":"https://github.com/upsub.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dispatcher\n[![Version](https://img.shields.io/github/release/upsub/dispatcher.svg)](https://github.com/upsub/dispatcher/releases)\n[![Build Status](https://travis-ci.org/upsub/dispatcher.svg?branch=master)](https://travis-ci.org/upsub/dispatcher)\n[![GoDoc](https://godoc.org/github.com/upsub/dispatcher?status.svg)](https://godoc.org/github.com/upsub/dispatcher)\n[![Go Report Card](https://goreportcard.com/badge/github.com/upsub/dispatcher)](https://goreportcard.com/report/github.com/upsub/dispatcher)\n\n\n\u003e A high performance Pub/Sub messaging server for the Web and Cloud.\n\nUpSub's Dispatcher is a bidirectional commnunication server based on\nthe WebSocket protocol.\n\n## Getting Started\nPull and run the latest version of the Dispatcher from docker hub with the\ncommand below.\n```sh\ndocker run -d -p 4400:4400 upsub/dispatcher\n```\n\u003e The command starts a dispatcher instance which listens on `localhost:4400`.\n\n#### Docker Compose\nThe best way to get the Dispatcher integrated in your dev environment is to use\n[`docker-compose`](https://docs.docker.com/compose/overview/). Down below is\nan example of a simple `docker-compose.yml` that configures a dispatcher\ninstance.\n```yml\nversion: '3'\nservices:\n  upsub/dispatcher:\n    image: upsub/dispatcher\n    ports:\n      - '4400:4400'\n```\n\n## Configuration\nThe Dispatcher is configurable through environment variables, all available\nconfiguration options will be listed below.\n\n- `PORT (default: 4400)`: The port the dispatcher is listing for messages.\n- `MAX_MESSAGE_SIZE (default: 512000)`: The maximum size of a message in bytes.\n- `CONNECTION_TIMEOUT (default: 30s)`: The dispatcher will reject a client if it exceeds the connection timeout.\n- `READ_TIMEOUT (default: 30s)`: The dispatcher will terminate message if it wasn't received within the timeout.\n- `WRITE_TIMEOUT (default: 30s)`: The dispatcher will terminate message if it couldn't be written within the timeout.\n\n### Authentication configuration\nThe dispatcher can authenticate connections with an `App ID`, `Secret Key` if it's normal client connection.\nIf it's a client from a browser environment, the authentication method will be `App ID`, `Public Key`\nand the `origin` of the request.\n\n- `AUTH_APP_ID`: Should be a string which identifies your application.\n- `AUTH_SECRET`: Should be a sha256 key.\n- `AUTH_PUBLIC`: Should be a sha256 key.\n- `AUTH_ORIGINS`: A comma separated string of the allowed origins\n\n\n## License\nReleased under the [MIT license](https://github.com/upsub/dispatcher/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupsub%2Fdispatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fupsub%2Fdispatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupsub%2Fdispatcher/lists"}