{"id":22677881,"url":"https://github.com/leask/flora_pac","last_synced_at":"2025-08-23T14:15:48.927Z","repository":{"id":150323411,"uuid":"103616262","full_name":"Leask/Flora_Pac","owner":"Leask","description":"A PAC(Proxy auto-config) file generator with fetched China IP range, which helps walk around GFW.","archived":false,"fork":false,"pushed_at":"2017-09-15T05:09:32.000Z","size":673,"stargazers_count":63,"open_issues_count":0,"forks_count":23,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-12T14:47:20.940Z","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/Leask.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,"zenodo":null}},"created_at":"2017-09-15T05:08:55.000Z","updated_at":"2024-08-14T00:55:01.000Z","dependencies_parsed_at":"2023-07-26T21:46:38.842Z","dependency_job_id":null,"html_url":"https://github.com/Leask/Flora_Pac","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Leask/Flora_Pac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leask%2FFlora_Pac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leask%2FFlora_Pac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leask%2FFlora_Pac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leask%2FFlora_Pac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leask","download_url":"https://codeload.github.com/Leask/Flora_Pac/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leask%2FFlora_Pac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271751927,"owners_count":24814707,"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-08-23T02:00:09.327Z","response_time":69,"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-12-09T18:03:02.946Z","updated_at":"2025-08-23T14:15:48.909Z","avatar_url":"https://github.com/Leask.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flora PAC\n\nA PAC(Proxy auto-config) file generator with fetched China IP range, which helps walk around GFW.\n\nInspired by https://github.com/fivesheep/chnroutes .\n\n## Installation\n\u003cpre\u003e\n$ git clone https://github.com/Leask/Flora_Pac.git\n\u003c/pre\u003e\n\n## Usage\n\u003cpre\u003e\n$ ./flora_pac -h\nusage: flora_pac [-h] [-x [PROXY]] [-p [PORT]]\n\nGenerate proxy auto-config rules.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -x [PROXY], --proxy [PROXY]\n                        Proxy Server, examples:\n                            SOCKS5 127.0.0.1:8964;\n                            SOCKS 127.0.0.1:8964;\n                            PROXY 127.0.0.1:6489\n  -p [PORT], --port [PORT]\n                        Pac Server Port [OPTIONAL], examples: 8970\n\u003c/pre\u003e\n* Run as a HTTP PAC server:\n\u003cpre\u003e\n$ ./flora_pac -x 'SOCKS5 127.0.0.1:8964; SOCKS 127.0.0.1:8964; DIRECT' -p 8970\n\u003c/pre\u003e\n![PAC Server demo on Mac](https://raw.github.com/Leask/Flora_Pac/master/screenshots/mac.jpg \"PAC Server demo on Mac\")\n* [NEW] Use it directly from official host:\n\u003cpre\u003e\n@ Get PAC file for proxy 'SOCKS 127.0.0.1:8964':\n$ curl http://flora.leaskh.com/pac?proxy=SOCKS%20127.0.0.1%3A8964\n--- --- --- --- --- --- ---\n@ Get PAC file for proxy 'SOCKS5 127.0.0.1:8964':\n$ curl http://flora.leaskh.com/pac?proxy=SOCKS5%20127.0.0.1%3A8964\n--- --- --- --- --- --- ---\n@ Get PAC file for proxy 'HTTP 127.0.0.1:6489':\n$ curl http://flora.leaskh.com/pac?proxy=PROXY%20127.0.0.1%3A6489\n--- --- --- --- --- --- ---\n@ A fallback demo from 'SOCKS5 127.0.0.1:8964' to 'SOCKS 127.0.0.1:8964':\n$ curl http://flora.leaskh.com/pac?proxy=SOCKS5%20127.0.0.1%3A8964%3B%20SOCKS%20127.0.0.1%3A8964\n\u003c/pre\u003e\nMore help: http://www.leaskh.com/blog/2013/10/30/测试为-flora_pac-提供-http-host/\n\n## Get help\n* Email/iMsg/GTalk: i@leaskh.com\n\n## See also\n* A powerful fork: https://github.com/yaleh/Flora_Pac\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleask%2Fflora_pac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleask%2Fflora_pac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleask%2Fflora_pac/lists"}