{"id":51093539,"url":"https://github.com/mberrishdev/wormhole","last_synced_at":"2026-06-24T04:01:25.250Z","repository":{"id":358978207,"uuid":"1243756878","full_name":"mberrishdev/wormhole","owner":"mberrishdev","description":"A lightweight tunnel that exposes a local port to the public internet via an SSH relay server — similar to ngrok, but self-hosted.","archived":false,"fork":false,"pushed_at":"2026-05-19T21:17:14.000Z","size":20,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-20T00:38:05.864Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mberrishdev.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-19T16:27:11.000Z","updated_at":"2026-05-19T21:14:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mberrishdev/wormhole","commit_stats":null,"previous_names":["mberrishdev/wormhole"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mberrishdev/wormhole","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mberrishdev%2Fwormhole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mberrishdev%2Fwormhole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mberrishdev%2Fwormhole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mberrishdev%2Fwormhole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mberrishdev","download_url":"https://codeload.github.com/mberrishdev/wormhole/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mberrishdev%2Fwormhole/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34716326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"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":"2026-06-24T04:01:24.540Z","updated_at":"2026-06-24T04:01:25.233Z","avatar_url":"https://github.com/mberrishdev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wormhole\n\nA lightweight self-hosted tunnel that exposes a local port to the public internet via an SSH relay server — similar to ngrok, but fully under your control.\n\n---\n\n## How it works\n\nWormhole creates a secure tunnel between your local machine and a public SSH server.\n\n1. A server runs on a public machine and accepts SSH connections.\n2. A client connects to the server and requests a tunnel.\n3. The server assigns a unique readable token (e.g. `calm-fox-535990`).\n4. Traffic to `https://calm-fox-535990.wormhole.mberrishdev.me` is forwarded through the SSH tunnel to your local service.\n\nEach tunnel is isolated and ephemeral.\n\n---\n\n## Requirements\n\n- Go 1.21+\n- A publicly accessible server (VPS / EC2 / etc.)\n- Wildcard DNS configured:\n\n```\n*.wormhole.your-domain.com → your server IP\n```\n\n---\n\n## Install (recommended)\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/mberrishdev/wormhole/main/install.sh | bash\n```\n\nAfter installation:\n\n```bash\nwormhole\n```\n\n## Build\n\n### Server\n\n```bash\ngo build -o wormhole-server ./cmd/server\n```\n\n### Client\n\n```bash\ngo build -o wormhole-client ./cmd/client\n```\n\n---\n\n## Usage\n\n### Server (public machine)\n\n```bash\n./wormhole-server --ssh-port 2222\n```\n\nOn first run a persistent Ed25519 host key is generated (`server.key`).\n\n---\n\n### Client (local machine)\n\n```bash\n./wormhole-client --server \u003cyour-server-ip\u003e:2222 --local localhost:3000\n```\n\nOnce connected:\n\n```\ntunnel is live at: https://calm-fox-535990.wormhole.mberrishdev.me\ndashboard: http://localhost:4040\n```\n\n---\n\n## Client flags\n\n| Flag         | Default              | Description                 |\n| ------------ | -------------------- | --------------------------- |\n| `--server`   | `13.62.136.105:2222` | SSH server address          |\n| `--password` | `secret123`          | SSH authentication password |\n| `--local`    | `localhost:3000`     | Local service to expose     |\n\n---\n\n## Dashboard\n\nEvery client automatically starts a local dashboard at `http://localhost:4040`.\n\nWhen multiple clients run on the same machine they share the same dashboard — the first client to start owns it, subsequent clients register into it over HTTP.\n\n| Column       | Description                                      |\n| ------------ | ------------------------------------------------ |\n| token        | Unique tunnel identifier                         |\n| local        | Local address being exposed                      |\n| public url   | Public HTTPS URL                                 |\n| connections  | Number of currently active connections           |\n| active ips   | IPs with an open connection right now            |\n| started      | Time the tunnel was established                  |\n\nThe dashboard refreshes every 3 seconds. Sessions are removed automatically when the client exits.\n\n---\n\n## Security notes\n\nThis project is currently in early-stage development.\n\nBefore production use:\n\n- Change the default SSH password (`secret123`)\n- Do not use `InsecureIgnoreHostKey` in production\n- Add firewall rules to restrict SSH port access\n\nRecommended production setup:\n\n- SSH key authentication instead of passwords\n- Host key verification (pin the server key on the client)\n- TLS termination via Caddy, Nginx, or Cloudflare\n\n---\n\n## Architecture\n\n```\nClient (local machine)\n  ↓ SSH tunnel (port 2222)\nWormhole server (VPS)\n  ↓ TLS (port 443) + wildcard DNS\nPublic users → your local application\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmberrishdev%2Fwormhole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmberrishdev%2Fwormhole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmberrishdev%2Fwormhole/lists"}