{"id":17439478,"url":"https://github.com/zetxx/nopox","last_synced_at":"2025-06-30T22:36:55.624Z","repository":{"id":17070101,"uuid":"19834952","full_name":"zetxx/nopox","owner":"zetxx","description":"simple proxy","archived":false,"fork":false,"pushed_at":"2015-09-15T16:28:28.000Z","size":344,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-28T05:11:52.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/zetxx.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}},"created_at":"2014-05-15T20:54:37.000Z","updated_at":"2024-04-28T05:11:52.952Z","dependencies_parsed_at":"2022-09-24T13:00:54.053Z","dependency_job_id":null,"html_url":"https://github.com/zetxx/nopox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetxx%2Fnopox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetxx%2Fnopox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetxx%2Fnopox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetxx%2Fnopox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zetxx","download_url":"https://codeload.github.com/zetxx/nopox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241952066,"owners_count":20047927,"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-10-17T13:24:57.741Z","updated_at":"2025-03-05T02:26:11.291Z","avatar_url":"https://github.com/zetxx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A proxy like app for nodejs.\n\nsince 0.0.12 its rewritten from scratch without backward compatibility.\n\nIt is written for testing purpose only, for simple req response, as transparent proxy\n\nWARNING: port `65001` is for internal use, if you connect to localhost:65001 you will see some statistics\n\nexample\n\n```javascript\nvar nopox = require('nopox');\n\nvar config = {\n    \"remoteHost\":'example.com',\n    \"remotePort\":80,//bind to remote port\n    \"localPort\":8124,//bind to local port\n    \"listenAddr\":'127.0.0.1',//bind to local addr\n    \"connRetryTimeout\":5000,//connect retry timeout(ms), defaults to 30000\n    \"logger\":function(data){console.log(data.toString());},\n    \"beforeOut\":function(data, cb){\n        console.log('before out, timeouts 1.5 sec');\n        setTimeout(function(){\n            cb(data);\n        }, 1500);\n    },\n    \"beforeIn\":function(data, cb){\n        console.log('before in, timeouts 5.5 sec');\n        setTimeout(function(){\n            cb(data);\n        }, 5500);\n    }\n};\nvar proxy = nopox(config);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzetxx%2Fnopox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzetxx%2Fnopox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzetxx%2Fnopox/lists"}