{"id":22848744,"url":"https://github.com/membrane/node-sse-example","last_synced_at":"2025-10-03T17:46:46.778Z","repository":{"id":200478792,"uuid":"700298735","full_name":"membrane/node-sse-example","owner":"membrane","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-16T12:50:22.000Z","size":191,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-06T10:29:51.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/membrane.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,"governance":null}},"created_at":"2023-10-04T10:29:58.000Z","updated_at":"2023-10-04T10:46:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"74e9ea05-cb7f-4147-9159-40b7513f8777","html_url":"https://github.com/membrane/node-sse-example","commit_stats":null,"previous_names":["membrane/node-sse-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membrane%2Fnode-sse-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membrane%2Fnode-sse-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membrane%2Fnode-sse-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membrane%2Fnode-sse-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/membrane","download_url":"https://codeload.github.com/membrane/node-sse-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423727,"owners_count":20774820,"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-12-13T04:13:57.408Z","updated_at":"2025-10-03T17:46:41.725Z","avatar_url":"https://github.com/membrane.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Membrane\n\n## Installation\n\nDownload membrane at https://github.com/membrane/api-gateway/releases/latest.  \nUnzip it in a folder called `membrane`.\n\n## Configuration\n\nAdd the following file content:\n\n```xml\n\u003c!-- conf/proxies.xml --\u003e\n\u003crouter\u003e\n    \u003capi host=\"localhost\" port=\"8001\"\u003e\n        \u003ctarget host=\"localhost\" port=\"3001\"/\u003e\n    \u003c/api\u003e\n    \u003capi port=\"8002\"\u003e\n        \u003cwebSocket/\u003e\n        \u003cregExReplacer regex=\"localhost:3001\" replace=\"localhost:8001\"/\u003e\n        \u003cregExReplacer regex=\"localhost:3000\" replace=\"localhost:8002\"/\u003e\n        \u003cregExReplacer regex=\"port=3000\" replace=\"port=8002\"/\u003e\n        \u003ctarget host=\"localhost\" port=\"3000\"/\u003e\n    \u003c/api\u003e\n    \u003capi name=\"Console\" port=\"9001\"\u003e\n        \u003cadminConsole/\u003e\n    \u003c/api\u003e\n\u003c/router\u003e\n```\n\n## Start\n\n```bash\ncd membrane\n./service-proxy.sh\n```\n\nThe membrane admin console will be at http://localhost:9001/admin/.\n\n# Server\n\n```bash\ncd sse-server\nnpm install\nnode server.js\n```\n\n# Client\n\n```bash\ncd sse-client\n```\n\nAnd open the `index.html` in your browser.\n\nYou can watch the calls at http://localhost:9001/admin/calls/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembrane%2Fnode-sse-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmembrane%2Fnode-sse-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembrane%2Fnode-sse-example/lists"}