{"id":22778962,"url":"https://github.com/swarm-cloud/cbsignal_uws","last_synced_at":"2025-04-15T14:21:47.598Z","repository":{"id":193905682,"uuid":"679675856","full_name":"swarm-cloud/cbsignal_uws","owner":"swarm-cloud","description":"SwarmCloud signaling server using uWebSockets.js","archived":false,"fork":false,"pushed_at":"2025-02-22T05:34:50.000Z","size":74,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T21:11:26.486Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swarm-cloud.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":"2023-08-17T11:18:45.000Z","updated_at":"2025-03-18T14:36:05.000Z","dependencies_parsed_at":"2023-09-10T18:39:36.540Z","dependency_job_id":"b45fbb0e-a644-4417-9b4a-06a588b8002a","html_url":"https://github.com/swarm-cloud/cbsignal_uws","commit_stats":null,"previous_names":["swarm-cloud/cbsignal_uws"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarm-cloud%2Fcbsignal_uws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarm-cloud%2Fcbsignal_uws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarm-cloud%2Fcbsignal_uws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarm-cloud%2Fcbsignal_uws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swarm-cloud","download_url":"https://codeload.github.com/swarm-cloud/cbsignal_uws/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249085441,"owners_count":21210267,"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-11T20:07:26.137Z","updated_at":"2025-04-15T14:21:47.578Z","avatar_url":"https://github.com/swarm-cloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# SwarmCloud signaling server using uWebSockets.js\n\n## Configuration\nSee config/config.yaml\n\n## Run instructions\n\n### Run with Docker\n```sh\ncurl -fsSL https://get.docker.com -o get-docker.sh\nsudo sh get-docker.sh\nsudo docker run --name cbsignal_uws --net host --restart=unless-stopped -d cdnbye/cbsignal_uws:latest\n```\nOr run in cluster mode, make sure that redis server is running:\n```sh\n# docker run -p 6379:6379 --name my-redis -d redis\nsudo docker run --name cbsignal_uws \\\n-e REDIS_URL=redis://127.0.0.1:6379 \\\n-e PORT=80 \\\n--net host --restart=unless-stopped -d cdnbye/cbsignal_uws:latest\n```\nYou can enable SSL also, make a directory called \"cert\", then put your cert file in it, run:\n```sh\nsudo docker run --name cbsignal_uws \\\n-e REDIS_URL=redis://127.0.0.1:6379 \\\n-e TLS_PORT=443 -e CERT_PATH=cert/fullchain.cer -e KEY_PATH=cert/cert.key \\\n-v \"$(pwd)\"/cert:/cbsignal_uws/cert:ro \\\n--net host --restart=unless-stopped -d cdnbye/cbsignal_uws:latest\n```\n\n### Run with Source\n```sh\ngit clone https://github.com/swarm-cloud/cbsignal_uws.git\ncd cbsignal_uws\nnpm install\nnpm run start\n```\n\n### Get real-time information of signal service\n```\nGET /info\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswarm-cloud%2Fcbsignal_uws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswarm-cloud%2Fcbsignal_uws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswarm-cloud%2Fcbsignal_uws/lists"}