{"id":22004382,"url":"https://github.com/derder3010/proxy","last_synced_at":"2025-03-23T06:21:50.327Z","repository":{"id":247688054,"uuid":"826572177","full_name":"derder3010/proxy","owner":"derder3010","description":"Flask Proxy IP Web Service","archived":false,"fork":false,"pushed_at":"2024-07-12T16:09:04.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-28T12:45:52.072Z","etag":null,"topics":["flask","proxy-scraper","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/derder3010.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-10T01:16:28.000Z","updated_at":"2024-07-12T16:10:19.000Z","dependencies_parsed_at":"2024-07-10T04:37:59.684Z","dependency_job_id":"f0601546-011b-4992-9145-48ce279c0d8c","html_url":"https://github.com/derder3010/proxy","commit_stats":null,"previous_names":["derder3010/proxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derder3010%2Fproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derder3010%2Fproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derder3010%2Fproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derder3010%2Fproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derder3010","download_url":"https://codeload.github.com/derder3010/proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245062727,"owners_count":20554802,"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":["flask","proxy-scraper","python"],"created_at":"2024-11-30T00:15:42.793Z","updated_at":"2025-03-23T06:21:50.306Z","avatar_url":"https://github.com/derder3010.png","language":"Python","readme":"# Flask Proxy IP Web Service\n\nThis project is a Flask-based web service that acts as a proxy for HTTP requests. It forwards requests to a target URL specified in the `X-Target-URL` header and returns the response back to the client. This can be useful for changing proxies when making requests with Python.\n\n## Prerequisites\n\nEnsure you have the following before setting up the project:\n\n- Python 3.9+\n- Docker (if you choose to run the application in a Docker container)\n\n## Installation\n\n### Local Setup\n\n1. **Clone the repository:**\n    ```bash\n    git clone https://github.com/your-username/your-repo-name.git\n    cd your-repo-name\n    ```\n\n2. **Create a virtual environment and activate it:**\n    ```bash\n    python -m venv venv\n    source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n    ```\n\n3. **Install the required Python packages:**\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n4. **Run the Flask application:**\n    ```bash\n    python app.py\n    ```\n\n### Docker Setup\n\n1. **Build the Docker image:**\n    ```bash\n    docker build -t flask-proxy-ip .\n    ```\n\n2. **Run the Docker container:**\n    ```bash\n    docker run -p 8080:8080 flask-proxy-ip\n    ```\n\nThe application should now be running and accessible at `http://localhost:8080`.\n\n## Usage\n\nTo use the proxy service, make an HTTP request to the Flask server with the `X-Target-URL` header set to the URL you want to proxy.\n\n### Example with `curl`\n\n```bash\ncurl -X GET http://localhost:8080 -H \"X-Target-URL: https://httpbin.org/get\"\n```\n\nExample with Python requests\n```bash\nimport requests\n\nresponse = requests.get(\n    'http://localhost:8080',\n    headers={'X-Target-URL': 'https://httpbin.org/get'}\n)\n\nprint(response.text)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderder3010%2Fproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderder3010%2Fproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderder3010%2Fproxy/lists"}