{"id":22200513,"url":"https://github.com/iaseth/proxify","last_synced_at":"2025-10-13T01:31:15.886Z","repository":{"id":165608570,"uuid":"640997502","full_name":"iaseth/proxify","owner":"iaseth","description":"Using Netlify as a Proxy Server.","archived":false,"fork":false,"pushed_at":"2023-05-15T15:57:44.000Z","size":59,"stargazers_count":1,"open_issues_count":1,"forks_count":23,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T00:11:16.309Z","etag":null,"topics":["netlify","netlify-functions","node-fetch","proxy","proxy-server"],"latest_commit_sha":null,"homepage":"https://proxify.netlify.app/","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/iaseth.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-05-15T14:59:36.000Z","updated_at":"2023-05-15T15:36:29.000Z","dependencies_parsed_at":"2023-07-19T17:31:59.864Z","dependency_job_id":null,"html_url":"https://github.com/iaseth/proxify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iaseth/proxify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iaseth%2Fproxify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iaseth%2Fproxify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iaseth%2Fproxify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iaseth%2Fproxify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iaseth","download_url":"https://codeload.github.com/iaseth/proxify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iaseth%2Fproxify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013897,"owners_count":26085325,"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-12T02:00:06.719Z","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":["netlify","netlify-functions","node-fetch","proxy","proxy-server"],"created_at":"2024-12-02T15:27:53.033Z","updated_at":"2025-10-13T01:31:15.468Z","avatar_url":"https://github.com/iaseth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Proxify\n[Proxify](https://proxify.netlify.app/) allows you to use Netlify as a Proxy Server.\nProxify just takes advantage of the fact that Netlify Functions can make fetch requests.\nI mostly use this for crawling blocked websites in my web scraping projects.\n\nI felt the need for a proxy server when I was working on [`iaseth/top-100-yc-companies`](https://github.com/iaseth/top-100-yc-companies).\nMany of the top websites are blocked in my country for various reasons.\nSo, I created [Proxify](https://proxify.netlify.app/).\n\nI am using [`readmix`](https://github.com/iaseth/readmix) for generating this README.\nYou can view the source file [here](https://github.com/iaseth/proxify/blob/master/README.md.rx).\n\n\n## Table of contents\n* [Proxify](#proxify)\n    * [Table of contents](#table-of-contents)\n    * [Getting Started](#getting-started)\n    * [Using with Python](#using-with-python)\n    * [Using with JavaScript](#using-with-javascript)\n    * [Project details](#project-details)\n    * [Dependencies](#dependencies)\n    * [Dev dependencies](#dev-dependencies)\n    * [License](#license)\n\n\n## Getting Started\n* Install `node-fetch`:\n\n    ```\n    npm install node-fetch\n    ```\n\n* Drop the [proxy.js](https://github.com/iaseth/proxify/blob/master/netlify/functions/proxy.js) script into your `netlify/functions` folder.\n* Add the following to your [netlify.toml](https://github.com/iaseth/proxify/blob/master/netlify.toml) file:\n    ```\n    \n    [functions]\n      node_bundler = \"esbuild\"\n    \n    [[redirects]]\n    from = \"/proxy\"\n    to = \"/.netlify/functions/proxy\"\n    status = 200\n    ```\n    \n* You can now deploy your website to Netlify. Your proxy server will be ready at `your-app-name.netlify.app/proxy`.\n\n\n\n## Using with Python\nYou can see the full example at [python-example.py](https://github.com/iaseth/proxify/blob/master/python-example.py).\n```python\nimport requests\n\nPROXY_URL = \"https://proxify.netlify.app/proxy\"\n\ndef getURL(pageURL):\n    data = {\"pageURL\": pageURL}\n    response = requests.post(PROXY_URL, json=data)\n    return response\n```\n\n## Using with JavaScript\nYou can see the full example at [javascript-example.js](https://github.com/iaseth/proxify/blob/master/javascript-example.js).\n```javascript\nconst PROXY_URL = \"https://proxify.netlify.app/proxy\";\n\nasync function getURL (pageURL) {\n    const data = {\n        pageURL\n    };\n\n    const config = {\n        method: 'POST',\n        headers: {},\n        body: JSON.stringify(data)\n    }\n\n    const res = await fetch(PROXY_URL, config);\n    const htmlContent = await res.text();\n    return htmlContent;\n}\n```\n\n\n## Project details\n| `Name`         | `Value`                            |\n| -------------- | ---------------------------------- |\n| `Name`         | `proxify`                          |\n| `Description`  | `Using Netlify as a Proxy Server.` |\n| `Version`      | `0.0.0`                            |\n| `Dependencies` | `3`                                |\n\n\n\n## Dependencies\n|     | `Package`    | `Version`   |\n| --- | ------------ | ----------- |\n| 1   | `node-fetch` | `^3.3.1`    |\n| 2   | `react`      | `^18.2.0`   |\n| 3   | `react-dom`  | `^18.2.0`   |\n\n\n\n## Dev dependencies\n|     | `Package`                          | `Version`   |\n| --- | ---------------------------------- | ----------- |\n| 1   | `@types/react`                     | `^18.0.28`  |\n| 2   | `@types/react-dom`                 | `^18.0.11`  |\n| 3   | `@typescript-eslint/eslint-plugin` | `^5.57.1`   |\n| 4   | `@typescript-eslint/parser`        | `^5.57.1`   |\n| 5   | `@vitejs/plugin-react`             | `^4.0.0`    |\n| 6   | `autoprefixer`                     | `^10.4.14`  |\n| 7   | `eslint`                           | `^8.38.0`   |\n| 8   | `eslint-plugin-react-hooks`        | `^4.6.0`    |\n| 9   | `eslint-plugin-react-refresh`      | `^0.3.4`    |\n| 10  | `postcss`                          | `^8.4.23`   |\n| 11  | `tailwindcss`                      | `^3.3.2`    |\n| 12  | `typescript`                       | `^5.0.2`    |\n| 13  | `vite`                             | `^4.3.2`    |\n\n\n\n## License\nMIT License\n\nCopyright (c) Ankur Seth.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n## Credit\n\nThis file was generated using [`readmix`](https://github.com/iaseth/readmix).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiaseth%2Fproxify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiaseth%2Fproxify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiaseth%2Fproxify/lists"}