{"id":19315481,"url":"https://github.com/fylein/squid","last_synced_at":"2025-09-15T06:25:13.282Z","repository":{"id":98499113,"uuid":"294281082","full_name":"fylein/squid","owner":"fylein","description":"Simple Squid setup","archived":false,"fork":false,"pushed_at":"2023-11-02T11:24:08.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T15:23:58.518Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/fylein.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}},"created_at":"2020-09-10T02:26:42.000Z","updated_at":"2023-11-02T10:49:10.000Z","dependencies_parsed_at":"2023-04-10T05:03:01.682Z","dependency_job_id":null,"html_url":"https://github.com/fylein/squid","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/fylein%2Fsquid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fylein%2Fsquid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fylein%2Fsquid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fylein%2Fsquid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fylein","download_url":"https://codeload.github.com/fylein/squid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240417033,"owners_count":19797926,"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-11-10T01:07:10.527Z","updated_at":"2025-09-15T06:25:13.269Z","avatar_url":"https://github.com/fylein.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nThis repo builds a docker image to run a squid proxy with basic authentication. The configurations are very lax - so\nplease do not use it for any security-sensitive deployments. This is meant for development use only.\n\nThis was inspired by this [project](https://hub.docker.com/r/sameersbn/squid).\n\n# Build\n\n```bash\ndocker build -t squid .\n```\n\n## Running\n\nFirst time around, create a directory in the host where all the log files will go\n\n```bash\nmkdir ~/squid\n```\n\nStart Squid using this command.\n\n```bash\ndocker run --name=squid --rm -d -p 8981:3128 -v ~/squid/:/var/cache/squid/ squid\n```\n\nCmd to test if the proxy is working.\n\n```bash\ncurl --proxy 'http://squid:squid@\u003cyour_proxy_ip\u003e:8981' 'https://httpbin.org/ip'\n```\n\nYou should start seeing access logs in ~/squid directory.\n\n## Change default password\n\nYou can modify the default password using following steps\n\n* Re-create passwd file using htpasswd\n\n```bash\nhtpasswd -B -c squid.passwd squid\n```\n\n* Pass the new passwd file as volume to docker container\n\n```bash\ndocker run --name=squid --rm -d -p 8981:3128 -v ~/squid/:/var/cache/squid/ -v ./squid.passwd:/etc/squid/squid.passwd squid\n\n```\n\n## Restrict outbound domains\n\nWe have restricted outbound domains for security reasons. You can modify the whitelist using following steps\n* Edit the file `whitelist.txt` and add the domains you want to allow.\n\n\n## Debugging\n\n```bash\ndocker run -it --entrypoint=/bin/bash squid\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffylein%2Fsquid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffylein%2Fsquid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffylein%2Fsquid/lists"}