{"id":13812967,"url":"https://github.com/getlantern/sysproxy-cmd","last_synced_at":"2025-10-08T21:08:15.030Z","repository":{"id":65803073,"uuid":"70204968","full_name":"getlantern/sysproxy-cmd","owner":"getlantern","description":"Command-line tool for setting HTTP(S) system proxy","archived":false,"fork":false,"pushed_at":"2024-10-21T15:14:02.000Z","size":726,"stargazers_count":32,"open_issues_count":3,"forks_count":16,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-05-14T22:42:11.075Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/getlantern.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":"2016-10-07T00:58:24.000Z","updated_at":"2025-05-09T06:35:22.000Z","dependencies_parsed_at":"2024-05-03T10:31:31.407Z","dependency_job_id":null,"html_url":"https://github.com/getlantern/sysproxy-cmd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/getlantern/sysproxy-cmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlantern%2Fsysproxy-cmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlantern%2Fsysproxy-cmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlantern%2Fsysproxy-cmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlantern%2Fsysproxy-cmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getlantern","download_url":"https://codeload.github.com/getlantern/sysproxy-cmd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlantern%2Fsysproxy-cmd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000716,"owners_count":26082837,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-04T04:00:58.833Z","updated_at":"2025-10-08T21:08:14.994Z","avatar_url":"https://github.com/getlantern.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# sysproxy-cmd\n\nA command line tool to change HTTP(s) proxy settings of the operating system.\n\nBinaries included in repo. Simply `make` to build it again, with the important exception of darwin, which uses its own repository and build at https://github.com/getlantern/sysproxy-cmd-darwin.\n\nNote - you will need to run make separately on each platform.\n\n# Usage\n\n```sh\nsysproxy show\nsysproxy on  \u003cproxy host\u003e \u003cproxy port\u003e\nsysproxy off \u003cproxy host\u003e \u003cproxy port\u003e\nsysproxy wait-and-cleanup \u003cproxy host\u003e \u003cproxy port\u003e\n```\n\n`sysproxy off` and `sysproxy wait-and-cleanup` turns off proxy setting only if the\nexisting host and port equal \u003cproxy host\u003e \u003cproxy port\u003e.\n\n`sysproxy wait-and-cleanup` differs from `sysproxy off` in that it waits for input\nfrom stdin (or close) before turning off proxy setting. Any signal or Windows\nsystem shutdown message triggers the cleanup too.\n\n\n# Notes\n\n*  **Mac**\n\nSetting the system proxy is a privileged action on Mac OS. `sudo` or elevate it\nas below.\n\nThere's an additional option to chown itself to root:wheel and add setuid bit.\n\n```sh\nsysproxy setuid\n```\n\n*  **Windows**\n\nInstall [MinGW-W64](http://sourceforge.net/projects/mingw-w64) to build sysproxy\nas it has up to date SDK headers we require. The make command is `mingw32-make`.\n\nTo avoid bringing up console window, it doesn't show anything directly to\nconsole. Piping the result to other utilities should work.\n\n```\nsysproxy show | cat\n```\n\n*  **Linux**\n\n`sudo apt-get install libgtk2.0-dev`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetlantern%2Fsysproxy-cmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetlantern%2Fsysproxy-cmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetlantern%2Fsysproxy-cmd/lists"}