{"id":13513960,"url":"https://github.com/sst/torpedo","last_synced_at":"2025-03-31T02:33:10.525Z","repository":{"id":199980704,"uuid":"704324670","full_name":"sst/torpedo","owner":"sst","description":"Connect to databases in private VPCs securely the easy way - no VPN required","archived":false,"fork":false,"pushed_at":"2024-02-16T15:43:06.000Z","size":29,"stargazers_count":91,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-01T17:37:11.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/sst.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":"2023-10-13T02:49:28.000Z","updated_at":"2024-10-31T16:59:52.000Z","dependencies_parsed_at":"2024-02-16T16:47:37.180Z","dependency_job_id":null,"html_url":"https://github.com/sst/torpedo","commit_stats":null,"previous_names":["sst/torpedo"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sst%2Ftorpedo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sst%2Ftorpedo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sst%2Ftorpedo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sst%2Ftorpedo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sst","download_url":"https://codeload.github.com/sst/torpedo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246407400,"owners_count":20772126,"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-08-01T05:00:41.010Z","updated_at":"2025-03-31T02:33:06.280Z","avatar_url":"https://github.com/sst.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# torpedo\n\nConnect to databases in private VPCs the easy way - no VPN required\n\n## How it works\n\nOn first run, `torpedo` will create an ECS cluster (this does not cost anything). From there, any time you want to connect to a database `torpedo` will generate random SSH keys, spin up a temporary container that has access to your database, and forward a local port through it. Then you can connect to the database on `localhost` as though it were running locally. The container will be destroyed once you're done with your session.\n\n## Usage\n\nMake sure you have a default AWS profile set or manually set one with `AWS_PROFILE=xxx torpedo`\n\n```shell\n$ torpedo\n🚀 torpedo is ready\n\nconnect to port 5432 on localhost\nit's forwarded to main-1.cz73excokyft.us-east-2.rds.amazonaws.com:5432\n\npress ctrl+c to exit\n```\n\n### Help\n\n```shell\nNAME:\n   torpedo - A tool to access AWS resources behind a VPC\n\nUSAGE:\n   torpedo [global options] command [command options] [arguments...]\n\nCOMMANDS:\n   client, c  Run the client command\n   server, s  Run the server command\n   help, h    Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --verbose   (default: false)\n   --help, -h  show help\n```\n\n## Acknowledgements\n\nThis wasn't my idea! There is a much more fleshed out product called `7777` here: [https://port7777.com/](https://port7777.com/) by [Matthieu Napoli](https://mnapoli.fr/) and [Marco Aurélio Deleu](https://blog.deleu.dev/). `torpedo` works in a similar way but was rewritten in Go for faster bootup speeds and made open source for community contribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsst%2Ftorpedo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsst%2Ftorpedo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsst%2Ftorpedo/lists"}