{"id":17977387,"url":"https://github.com/jacobdufault/go-authproxy","last_synced_at":"2025-05-06T20:49:33.266Z","repository":{"id":57622391,"uuid":"151644673","full_name":"jacobdufault/go-authproxy","owner":"jacobdufault","description":"Simple proxy for displaying basic authentication or a captive portal","archived":false,"fork":false,"pushed_at":"2018-10-05T16:28:19.000Z","size":6,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T02:51:09.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacobdufault.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}},"created_at":"2018-10-04T22:41:18.000Z","updated_at":"2025-03-17T07:51:20.000Z","dependencies_parsed_at":"2022-09-26T20:10:42.321Z","dependency_job_id":null,"html_url":"https://github.com/jacobdufault/go-authproxy","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/jacobdufault%2Fgo-authproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobdufault%2Fgo-authproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobdufault%2Fgo-authproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobdufault%2Fgo-authproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacobdufault","download_url":"https://codeload.github.com/jacobdufault/go-authproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252769137,"owners_count":21801373,"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-10-29T17:27:40.221Z","updated_at":"2025-05-06T20:49:33.191Z","avatar_url":"https://github.com/jacobdufault.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-authproxy\n\nThis is a proxy which can\n\n- require the client use basic authentication\n- require the client go through a captive portal\n\n# Installation\n\n```sh\n$ go get -u github.com/jacobdufault/go-authproxy\n$ go-authproxy -h # prints out help/usage\n```\n\n# Examples\n\nForce chrome to show basic authentication proxy connection UI:\n\n```sh\n# terminal A\n$ go-authproxy -basic-auth user:pass # interrupt (e.g. \u003cc-c\u003e) to shutdown\n# terminal B\n$ chrome --proxy-server=\"127.0.0.1:8080\"\n```\n\n## More examples\n\n```sh\n# Require a captive portal\n$ go-authproxy -captive-portal\n\n# Require basic authentication\n$ go-authproxy -basic-auth user:pass\n\n# Require both\n$ go-authproxy -basic-auth user:pass -captive-portal\n\n# Basic auth on port 8080\n$ go-authproxy -basic-auth -port 8080\n```\n\n## Captive Portal Visibility\n\nThe captive portal is shown when a file called `dismiss-captive-portal` is\nnot present on disk in the current working directory. On startup,\ngo-authproxy automatically deletes this file. It can be manually deleted at\nany time and the captive portal will be re-displayed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobdufault%2Fgo-authproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacobdufault%2Fgo-authproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobdufault%2Fgo-authproxy/lists"}