{"id":18026824,"url":"https://github.com/yegor256/squid-proxy","last_synced_at":"2025-04-05T14:04:42.263Z","repository":{"id":58850206,"uuid":"200247939","full_name":"yegor256/squid-proxy","owner":"yegor256","description":"Docker image for a Squid forward proxy with authorization (fully anonymous)","archived":false,"fork":false,"pushed_at":"2025-03-10T13:34:11.000Z","size":140,"stargazers_count":88,"open_issues_count":2,"forks_count":46,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T13:05:35.876Z","etag":null,"topics":["docker","docker-image","http-proxy","proxy","squid-proxy"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/yegor256.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-02T14:23:02.000Z","updated_at":"2025-03-11T14:27:04.000Z","dependencies_parsed_at":"2024-12-29T16:21:58.803Z","dependency_job_id":"72dcc028-d389-451e-8d76-b20247cf7daf","html_url":"https://github.com/yegor256/squid-proxy","commit_stats":{"total_commits":45,"total_committers":3,"mean_commits":15.0,"dds":0.0888888888888889,"last_synced_commit":"5ac149082755f9d03dd9bb6fb6263908c648a498"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fsquid-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fsquid-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fsquid-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fsquid-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yegor256","download_url":"https://codeload.github.com/yegor256/squid-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345850,"owners_count":20924102,"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":["docker","docker-image","http-proxy","proxy","squid-proxy"],"created_at":"2024-10-30T08:08:11.099Z","updated_at":"2025-04-05T14:04:42.244Z","avatar_url":"https://github.com/yegor256.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Image of an Anonymous HTTP Proxy\n\n[![docker](https://github.com/yegor256/squid-proxy/actions/workflows/docker.yml/badge.svg)](https://github.com/yegor256/squid-proxy/actions/workflows/docker.yml)\n[![Docker Cloud Automated build](https://img.shields.io/docker/cloud/automated/yegor256/squid-proxy)](https://hub.docker.com/r/yegor256/squid-proxy)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/total/squid-proxy/master/LICENSE.txt)\n\n[This](https://hub.docker.com/r/yegor256/squid-proxy)\n[Docker](https://www.docker.com/)\nimage helps you start your own [Squid](http://www.squid-cache.org/)\nproxy server, with [HTTP Basic authorization][basic].\nYou may need this if you want your crawling/scaping software\nto look like constantly going to the Network from the same IP address. You\nrent a VPS, start a Squid server there and configure your software to\ngo everywhere through an explicit HTTP(S) proxy.\n\nWhen Docker is [installed](https://docs.docker.com/install/), run this:\n\n```bash\n$ docker run --name proxy --detach --restart=always --publish 8081:3128 \\\n  --env USERNAME=jeffrey --env PASSWORD=swordfish \\\n  yegor256/squid-proxy\n```\n\nNow you can connect to `localhost:8081` with `jeffrey:swordfish`\ncredentials. For example:\n\n```bash\ncurl -vvv --proxy http://jeffrey:swordfish@0.0.0.0:8081 https://google.com/\n```\n\nOr, with [httpie](https://httpie.io/):\n\n```shell\nhttp --proxy=http:http://jeffrey:swordfish@0.0.0.0:8081 https://google.com/\n```\n\nBTW, the proxy is [anonymous](https://en.wikipedia.org/wiki/Anonymizer).\nOnce it's up and running, you can check whether it's visible,\n[here](http://amibehindaproxy.com/). It also doesn't store any logs and doesn't\ncache any content.\n\nYou can also use [Docker compose](https://docs.docker.com/compose/):\n\n```yaml\nversion: '3'\nservices:\n  proxy:\n    image: yegor256/squid-proxy\n    restart: always\n    ports:\n      - \"8081:3128\"\n    environment:\n      - USERNAME=jeffrey\n      - PASSWORD=swordfish\n```\n\n## Developing\n\nBuild it locally:\n\n```bash\ndocker build . -t squid-proxy:latest\n```\n\nWant to push to a local machine?\n\n```bash\ndocker save squid-proxy | ssh -C your@machine docker load\n```\n\n[basic]: https://en.wikipedia.org/wiki/Basic_access_authentication\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyegor256%2Fsquid-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyegor256%2Fsquid-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyegor256%2Fsquid-proxy/lists"}