{"id":19798166,"url":"https://github.com/mutinywallet/ln-websocket-proxy","last_synced_at":"2025-12-12T13:25:49.894Z","repository":{"id":65630486,"uuid":"595822463","full_name":"MutinyWallet/ln-websocket-proxy","owner":"MutinyWallet","description":"Websocket-based proxy for connecting to lightning nodes and mutiny wallets","archived":false,"fork":false,"pushed_at":"2023-11-17T21:17:39.000Z","size":46,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-19T04:24:37.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/MutinyWallet.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-01-31T21:59:48.000Z","updated_at":"2025-09-01T06:48:43.000Z","dependencies_parsed_at":"2023-11-17T23:00:28.030Z","dependency_job_id":"5ff7f364-e872-42e4-abf7-72ee529ac654","html_url":"https://github.com/MutinyWallet/ln-websocket-proxy","commit_stats":null,"previous_names":["mutiny-wallet/ln-websocket-proxy"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MutinyWallet/ln-websocket-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MutinyWallet%2Fln-websocket-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MutinyWallet%2Fln-websocket-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MutinyWallet%2Fln-websocket-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MutinyWallet%2Fln-websocket-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MutinyWallet","download_url":"https://codeload.github.com/MutinyWallet/ln-websocket-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MutinyWallet%2Fln-websocket-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279155911,"owners_count":26115730,"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","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-12T07:28:21.251Z","updated_at":"2025-10-16T04:44:14.108Z","avatar_url":"https://github.com/MutinyWallet.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ln-websocket-proxy\n\nWebsocket-based proxy for connecting to lightning nodes and mutiny wallets.\n\n### Docker\n\nBuild the websocket-tcp-proxy image\n\n```\nDOCKER_BUILDKIT=1 docker build -f Dockerfile -t mutinywallet/ln-websocket-proxy .\n```\n\nRun the docker image locally\n\n```\ndocker run -d -p 3001:3001 mutinywallet/ln-websocket-proxy\n```\n\nDeploy the docker image:\n\n```\ndocker tag mutinywallet/ln-websocket-proxy registry.digitalocean.com/mutiny-wallet/websocket-tcp-proxy\ndocker push registry.digitalocean.com/mutiny-wallet/websocket-tcp-proxy\n```\n\n## How to test\n\nYou can change default port by setting `LN_PROXY_PORT=3001` or whatever your port should be.\n\nYou'll want `netcat` and [`websocat`](https://github.com/vi/websocat) installed.\n\nTerminal 1:\n\n```\nRUST_LOG=debug LN_PROXY_PORT=3002 cargo run --features=\"server\"\n```\n\nTerminal 2:\n\nmac\n```\nnetcat -l 127.0.0.1 -p 3000\n```\n\nlinux\n```\nnc -l 127.0.0.1 3000\n```\n\nTerminal 3:\n\n```\nwebsocat -b ws://127.0.0.1:3001/v1/127_0_0_1/3000\n```\n\nNow you can type in the `websocat` terminal and you should see text on the netcat terminal, and type in the `netcat` terminal and it should show in the websocat terminal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutinywallet%2Fln-websocket-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmutinywallet%2Fln-websocket-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutinywallet%2Fln-websocket-proxy/lists"}