{"id":15687795,"url":"https://github.com/orisano/oproxypac","last_synced_at":"2025-03-30T11:42:20.677Z","repository":{"id":57315729,"uuid":"92950193","full_name":"orisano/oproxypac","owner":"orisano","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-30T12:59:12.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T05:34:31.066Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orisano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-31T13:45:25.000Z","updated_at":"2021-03-30T12:59:14.000Z","dependencies_parsed_at":"2022-09-18T20:52:49.081Z","dependency_job_id":null,"html_url":"https://github.com/orisano/oproxypac","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/orisano%2Foproxypac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisano%2Foproxypac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisano%2Foproxypac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisano%2Foproxypac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orisano","download_url":"https://codeload.github.com/orisano/oproxypac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314125,"owners_count":20757457,"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-03T17:51:09.894Z","updated_at":"2025-03-30T11:42:20.638Z","avatar_url":"https://github.com/orisano.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oproxypac\nAndroidなどの細かいproxyの設定が可能でない環境向けの自動プロキシ設定ファイル配信用サーバを作るためのライブラリです.\n\n## Install\n```bash\nnpm install oproxypac\n```\n\n## Example\n'http://localhost:8081/proxy.pac' でhttp通信のみlocal ipの8080で起動しているプロキシに転送する例\n```js\nconst os = require(\"os\");\nconst ProxyPacServer = require(\"oproxypac\");\n\nconst IP = os.networkInterfaces().en0.find(x =\u003e x.family === \"IPv4\").address;\nconst PROXY_PORT = 8080;\nconst PORT = 8081;\nconst proxyPacServer = new ProxyPacServer(`${IP}:${PROXY_PORT}`);\n\nproxyPacServer\n    .protocol(\"http\")\n    .listen(PORT)\n    .then(() =\u003e {\n        console.info(`listen localhost:${PORT}`);\n    });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forisano%2Foproxypac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forisano%2Foproxypac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forisano%2Foproxypac/lists"}