{"id":27259551,"url":"https://github.com/pnxtech/hydra-router","last_synced_at":"2025-04-11T04:06:14.139Z","repository":{"id":39582123,"uuid":"69975215","full_name":"pnxtech/hydra-router","owner":"pnxtech","description":"A service aware router for Hydra Services. Implements an API Gateway and can route web socket messages.","archived":false,"fork":false,"pushed_at":"2024-06-19T09:54:20.000Z","size":1453,"stargazers_count":60,"open_issues_count":9,"forks_count":24,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-11T04:06:07.427Z","etag":null,"topics":["dynamic-service-registries","hydra","hydra-router","microservices","service-discovery","service-router","services-aware"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/pnxtech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-04T14:49:40.000Z","updated_at":"2023-12-05T10:23:18.000Z","dependencies_parsed_at":"2023-02-19T14:40:15.195Z","dependency_job_id":null,"html_url":"https://github.com/pnxtech/hydra-router","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnxtech%2Fhydra-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnxtech%2Fhydra-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnxtech%2Fhydra-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnxtech%2Fhydra-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pnxtech","download_url":"https://codeload.github.com/pnxtech/hydra-router/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248339281,"owners_count":21087215,"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":["dynamic-service-registries","hydra","hydra-router","microservices","service-discovery","service-router","services-aware"],"created_at":"2025-04-11T04:06:13.345Z","updated_at":"2025-04-11T04:06:14.113Z","avatar_url":"https://github.com/pnxtech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](./assets/hydra-router.png)\n\nHydra Router is a service-aware HTTP, WebSocket and messaging gateway. It was announced at EmpireNode 2016.\n\nHTTP and WebSocket clients can connect to Hydra Router to send messages to Hydra-based microservices. Additionally, microservices can send messages through Hydra Router back to WebSocket connected clients.\n\nA cluster of Hydra Routers can work together to ensure that messages from microservices can be routed back to connected clients.\n\nHydra Router is built using the Hydra library. If you'd like to learn more about Hydra visit the [github repo](https://github.com/pnxtech/hydra) for a list of articles and videos.\n\n```diff\n- HydraRouter version 1.9.0 includes a breaking change. The fwsp-logger is no longer a supported logging plugin due to lack of ongoing support.\n- You can use HydraRouter versions 1.8.0 \u003c 1.9.0 if you require fwsp-logger support.\n```\n\n### Running locally\n\nHydraRouter requires access to an instance of Redis. You can place the connection info inside of the ./config/config.json file. If you don't have a config.json file you can simply copy the existing sample-config.json to config.json.\n\nAn important point is that as configured the location of Redis is set to `redis://host:6379/15` You'll need a DNS entry to point host to the ip address where Redis is located or simply replace the host string to another entry.\n\nThe provided sample-config.json file is sets Hydra-router to use port 80. You'll need to use sudo to launch HydraRouter or change the port to an available port number above 1024.\n\n### Full documentation\n\nSee the full dcumentation at [https://www.hydramicroservice.com/docs/tools/hydra-router/](https://www.hydramicroservice.com/docs/tools/hydra-router/)\n\n### Hydra Router Dashboard\n\nHydra Router hosts a dashboard showing running microservices.\n\n![logo](./assets/Hydra_Router_Dashboard.png)\n\n### Docker Images\n\nYou can build and run Hydra-router from source or pull a pre-built Docker image\n\n* Release 1.7.0 and newer : [pnxtech/hydra-router](https://hub.docker.com/r/pnxtech/hydra-router/tags/)\n* Release 1.7.0 and earlier : [flywheelsports/hydra-router](https://hub.docker.com/r/flywheelsports/hydra-router/tags/)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnxtech%2Fhydra-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpnxtech%2Fhydra-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnxtech%2Fhydra-router/lists"}