{"id":14986162,"url":"https://github.com/edwinm/testproxy","last_synced_at":"2025-04-11T20:32:05.441Z","repository":{"id":7935395,"uuid":"56912967","full_name":"edwinm/testProxy","owner":"edwinm","description":"Connect from (mobile) devices to your locally running, non public websites","archived":false,"fork":false,"pushed_at":"2024-10-07T19:11:49.000Z","size":119,"stargazers_count":11,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T05:46:48.989Z","etag":null,"topics":["docker","node","proxy","testing","vagrant"],"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/edwinm.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":"2016-04-23T10:08:27.000Z","updated_at":"2024-10-07T19:11:53.000Z","dependencies_parsed_at":"2024-06-12T16:45:47.211Z","dependency_job_id":"d3ecd286-837c-41fb-b721-88c3fd4baac3","html_url":"https://github.com/edwinm/testProxy","commit_stats":{"total_commits":27,"total_committers":4,"mean_commits":6.75,"dds":0.2222222222222222,"last_synced_commit":"24bf95de6d929fc32ed483596daf2bd2dd0db088"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinm%2FtestProxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinm%2FtestProxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinm%2FtestProxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinm%2FtestProxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edwinm","download_url":"https://codeload.github.com/edwinm/testProxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248476381,"owners_count":21110266,"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":["docker","node","proxy","testing","vagrant"],"created_at":"2024-09-24T14:12:27.846Z","updated_at":"2025-04-11T20:32:00.432Z","avatar_url":"https://github.com/edwinm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Carbonium](https://raw.githubusercontent.com/edwinm/testProxy/master/illustration.jpeg)](#readme)\n\n# testproxy\n\nConnect from (mobile) devices to your locally running, non public websites\n\nIf you are running a webserver as localhost, with a local webserver or in a virtual machine or container like\nVirtualBox, VMware, Vagrant or Docker,\nyou can't always access this webserver from other computers or mobile devices, even on the same network.\n\nTestproxy will create a proxy to this local webserver and makes them available to other devices on the\nsame (Wi-Fi) network. All without any configuration.\n\n## Running\n\nAssuming http://localhost:8080/ is working in your local browser but nowhere else:\n\n```bash\nnpx testproxy http://localhost:8080/\n```\n\nThe first time it will ask you to install testproxy. Press enter to proceed.\n\nIf the command npm is not found, you have to install the Node.js and npm combination.\nGo to https://nodejs.org/ and install Node.js. Then type the command above again.\n\nTestproxy will respond with something like:\n\n```\nListening on http://192.168.0.93:6239\n```\n\nAnd it will show a QR code.\n\nType the URL in the browser on your mobile device or scan the QR code and the website will appear.\nMake sure the computer and other device are connected by the same (WiFi) network.\n\nType CTRL-C to stop testproxy.\n\n## Parameters\n\n```bash\nnpx testproxy \u003curl\u003e [-l\u003cport\u003e] [-noqr]\n```\n\n**url**: the same url as you use for local development\n\n**port** (optional): the port to listen to\n\n**-noqr** turn off showing the QR code\n\n## Example\n\nTo make your local website `test.mycompany` available on port 9000 without showing the QR code:\n\n```bash\nnpx testproxy http://test.mycompany/ -l9000 -noqr\n```\n\nYou can connect different domain names to different port numbers at the same time.\nTestproxy does not work with https connections.\n\n## Highly secured WiFi\n\nSome WiFi networks are highly secured and prevent you from accessing other computers on the same network.\nHere are some solutions to this problem:\n- Connect the host computer and the other computer or mobile to the same guest Wi-Fi network.\n- Configure one device as a hotspot and connect your other device to this hotspot.\n- Use another, unprotected Wi-Fi network for development and test purposes,\n  installing a dedicated Wi-Fi access point if needed.\n\n## License\n\nTestproxy is copyright 2023 Edwin Martin and MIT licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwinm%2Ftestproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedwinm%2Ftestproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwinm%2Ftestproxy/lists"}