{"id":18885449,"url":"https://github.com/dagit/proctor","last_synced_at":"2026-02-23T07:30:16.618Z","repository":{"id":66389434,"uuid":"380307883","full_name":"dagit/proctor","owner":"dagit","description":"A simple proof of concept HTTP proxy","archived":false,"fork":false,"pushed_at":"2021-06-25T20:32:26.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T04:41:59.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dagit.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":"2021-06-25T17:16:48.000Z","updated_at":"2021-06-27T19:28:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"eab96c46-c780-4843-a490-dd3e22fd7047","html_url":"https://github.com/dagit/proctor","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/dagit%2Fproctor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagit%2Fproctor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagit%2Fproctor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagit%2Fproctor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dagit","download_url":"https://codeload.github.com/dagit/proctor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239858834,"owners_count":19708856,"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-08T07:18:56.108Z","updated_at":"2026-02-23T07:30:16.564Z","avatar_url":"https://github.com/dagit.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\n`proctor` will proxy your HTTP traffic for you. All it needs is a list\nof allowed remote servers and a port to listen on.\n\nThis is really just a simple and quick proof of concept I made to\nlearn how HTTP proxies work. It's not heavily tested, featureful, or\notherwise ready for serious use. I did all the HTTP parsing and other\nbits myself to see how they work. I would recommend using the\nappropriate libraries instead.\n\n# Usage\n\n```\nproctor\n\nUSAGE:\n    proctor.exe [FLAGS] --port \u003cport\u003e [HOSTNAME]...\n\nARGS:\n    \u003cHOSTNAME\u003e...    Remote servers that can be connected to on port 443\n\nFLAGS:\n    -d, --debug      Debug mode\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -p, --port \u003cport\u003e    Port to listen on\n```\n\nYou must specify at least one `HOSTNAME`.\n\nTo see it work, you might run a test like this:\n\n```sh\ncargo run -- -p 8080 api.giphy.com\n```\n\nThe above command tells your `proctor` to listen on localhost:8080 and\nonly allow proxy connections to `api.giphy.com`. Any other proxy\nrequest would be denied.\n\nThen in a different shell:\n```sh\ncurl -x https:://localhost:8080 'http://api.giphy.com/v1/gifs/search?q=I\u0026api_key=dc6zaTOxFJmzC' --ssl-reqd\n```\n\nHowever, this example will just result in an error unless you setup\ncURL to work with giphy's api. For instance, you would need an API key\nand other things.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdagit%2Fproctor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdagit%2Fproctor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdagit%2Fproctor/lists"}