{"id":25026596,"url":"https://github.com/skythecodemaster/cc-websocket-bridge","last_synced_at":"2025-03-30T16:27:04.447Z","repository":{"id":202665825,"uuid":"613616760","full_name":"SkyTheCodeMaster/cc-websocket-bridge","owner":"SkyTheCodeMaster","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-20T21:44:51.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T18:06:42.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/SkyTheCodeMaster.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-03-13T23:32:17.000Z","updated_at":"2024-04-22T08:09:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d3e5c5d-3f32-485c-b9ff-152fb074586e","html_url":"https://github.com/SkyTheCodeMaster/cc-websocket-bridge","commit_stats":null,"previous_names":["skythecodemaster/cc-websocket-bridge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyTheCodeMaster%2Fcc-websocket-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyTheCodeMaster%2Fcc-websocket-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyTheCodeMaster%2Fcc-websocket-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyTheCodeMaster%2Fcc-websocket-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkyTheCodeMaster","download_url":"https://codeload.github.com/SkyTheCodeMaster/cc-websocket-bridge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246345640,"owners_count":20762419,"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-02-05T17:48:41.966Z","updated_at":"2025-03-30T16:27:04.426Z","avatar_url":"https://github.com/SkyTheCodeMaster.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cc-websocket-bridge\nA simple server that bounces messages between clients on channels.\nSimilar to modems except that this is encrypted (and password protected) without any Lua side cost.\n\n# setup\n* `git clone https://github.com/skythecodemaster/cc-websocket-bridge`\n* `cd cc-websocket-bridge`\n* `./setup.sh`\n\nRun `./run.sh` inside a tmux session, screen session, etc.\n\n# usage\nUsing the server raw is the only method for now. Lua libraries that mimick `modem` and `rednet` will be added soon.\n\n```lua\nlocal ws = http.websocket(\"wss://example.com/connect/\u003cchannel_name\u003e[/password]\")\n\nws.send(\"Message!\")\n\n-- On another machine:\nprint(ws.receive())\n-- Message!\n```\nUse `/connect/\u003cchannel_name\u003e` for a public channel if desired","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskythecodemaster%2Fcc-websocket-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskythecodemaster%2Fcc-websocket-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskythecodemaster%2Fcc-websocket-bridge/lists"}