{"id":17724695,"url":"https://github.com/igrmk/procto","last_synced_at":"2025-03-31T14:15:51.399Z","repository":{"id":110678127,"uuid":"553199950","full_name":"igrmk/procto","owner":"igrmk","description":"Reverse proxy exposing your localhost to the internet","archived":false,"fork":false,"pushed_at":"2024-06-12T12:57:00.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-12T16:58:11.478Z","etag":null,"topics":["localhost","proxy","reverse-proxy","tunnel"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igrmk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-10-17T21:51:40.000Z","updated_at":"2024-06-12T14:34:57.000Z","dependencies_parsed_at":"2024-06-12T15:32:53.824Z","dependency_job_id":"9663f0c9-e4fe-4749-a0a3-c7bf829730d5","html_url":"https://github.com/igrmk/procto","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/igrmk%2Fprocto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrmk%2Fprocto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrmk%2Fprocto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrmk%2Fprocto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igrmk","download_url":"https://codeload.github.com/igrmk/procto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246481005,"owners_count":20784458,"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":["localhost","proxy","reverse-proxy","tunnel"],"created_at":"2024-10-25T15:48:32.429Z","updated_at":"2025-03-31T14:15:51.368Z","avatar_url":"https://github.com/igrmk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Procto\n======\n\nA script to set up a reverse proxy exposing your localhost to the internet.\nIt provisions a virtual machine with:\n\n- A Let's Encrypt certificate\n- Nginx to proxy from remote HTTPS to remote HTTP\n- SSH to proxy from remote HTTP to local HTTP\n\nEssentially, it's a poor man's alternative to ngrok.\n\n\n```mermaid\ngraph TB\nClient(Client on the Internet)\nNginx(NGINX)\nSshServer(SSH server)\nSshClient(SSH client)\nServer(Your local server)\nClient -- HTTPS --\u003e Nginx\n\nsubgraph Your proxy server\n    Nginx --HTTP --\u003e SshServer\nend\n\nSshServer -- HTTP over SSH --\u003e SshClient\n\nsubgraph Your localhost\n    SshClient -- HTTP --\u003e Server\nend\n```\n\nUsage\n-----\n\n  * Get a Debian-based cloud virtual machine\n  * Get a domain and point it to your virtual machine\n  * Clone this project to your local machine\n  * Add the project directory to your PATH\n  * Copy `example.conf` to `~/.procto/\u003cyour.domain\u003e.conf` and fill it\n  * Use `procto-provision \u003cyour.domain\u003e` command to provision your remote VM\n  * Use `procto-connect \u003cyour.domain\u003e` command to proxy remote HTTPS to local HTTP\n  * Use `procto-disconnect \u003cyour.domain\u003e` command to stop the proxy\n\nIf you need to set up additional ssh parameters, you can add them to your `~/.ssh/config`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrmk%2Fprocto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figrmk%2Fprocto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrmk%2Fprocto/lists"}