{"id":16793510,"url":"https://github.com/mdp/gloss","last_synced_at":"2025-04-11T00:01:42.338Z","repository":{"id":66279384,"uuid":"42614361","full_name":"mdp/gloss","owner":"mdp","description":"Super simple HTTPS reverse proxy written in Go","archived":false,"fork":false,"pushed_at":"2019-02-15T19:18:43.000Z","size":22,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T20:43:00.281Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdp.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":"2015-09-16T21:27:33.000Z","updated_at":"2022-12-15T10:18:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"a41688e9-34b4-49c4-8042-04079072e7e3","html_url":"https://github.com/mdp/gloss","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fgloss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fgloss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fgloss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fgloss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdp","download_url":"https://codeload.github.com/mdp/gloss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248317705,"owners_count":21083528,"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-13T08:49:30.934Z","updated_at":"2025-04-11T00:01:42.276Z","avatar_url":"https://github.com/mdp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ssl error](https://www.cs.cmu.edu/~help/mail_news/images/xp_outlook_7.gif)\n\n# GLoSS (Go SSL)\nGLoSS is a very simple HTTPS reverse proxy that allows you to easily develop and test on HTTPS locally\n\n## Why\n\nYour production is on HTTPS, stop developing on HTTP!\n\nHighlights:\n- No dependencies. Just one self-contained single executable\n- Works on a variety of platforms and architectures: Mac, Linux - Arm7(Raspi2)/Arm6(Raspi)/Amd64/386\n- Passes the same headers you'd expect with any other reverse proxy ssl\n  - \"X-Forwarded-Proto\": \"https\"\n  - \"X-Forwarded-For\": \"the.clients.real.ip\"\n- Doesn't require trusting a CA cert, only valid signing for the hosts you specify (default: *.local.dev)\n\n## Downloads\n\n[Grab the latest release for your platform](https://github.com/mdp/gloss/releases)\n\n## Usage\n\n1. Pick a hostname for your local development\n  - `echo \"127.0.0.1   local.dev\" | sudo tee -a /etc/hosts \u003e /dev/null`\n  - `echo \"127.0.0.1   foo.local.dev\" | sudo tee -a /etc/hosts \u003e /dev/null`\n1. Create a certificate\n  - `gloss setup`\n1. Import the certificate to your keychain (Mac specific instructions below)\n  - `open ~/.gloss/cert.pem`\n  - Find the GLoSS cert and make it \"Trusted\"\n1. Start using GLoSS\n  - `gloss --map \"*:3000,foo:4000\"` Maps foo.local.dev to port 4000, everything else to 3000\n1. Visit https://foo.local.dev:4443\n  - Will return the content at localhost:4000 via HTTPS\n\nOr just run `gloss -h` for more help\n\n\n### Setup redirection of port 443 -\u003e 4443\n\n*Mac* (El Capitan and Yosemite)\n\n    echo \"rdr pass on lo0 inet proto tcp from any to any port 443 -\u003e 127.0.0.1 port 4443\" | sudo pfctl -ef -\n\n*Windows*\n\n    netsh interface portproxy add v4tov4 connectport=4443 listenport=443 connectaddress=127.0.0.1 listenaddress=127.0.0.1\n\n*Linux*\n\n    sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 4443\n\n## Build from source\n\n`go get github.com/mdp/gloss`\n\n### License: MIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fgloss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdp%2Fgloss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fgloss/lists"}