{"id":19237959,"url":"https://github.com/svtslv/jstunnel","last_synced_at":"2026-02-26T02:18:38.719Z","repository":{"id":57286490,"uuid":"446175985","full_name":"svtslv/jstunnel","owner":"svtslv","description":"JsTunnel provides unique public URLs allowing you to easily share a web service on your local development machine with the world through a secure tls tunnel.","archived":false,"fork":false,"pushed_at":"2025-06-19T09:16:53.000Z","size":100,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-19T09:17:51.123Z","etag":null,"topics":["cli","client","http","https","localhost","net","secure","socket","ssl","tcp","tls","tunnel"],"latest_commit_sha":null,"homepage":"https://jstunnel.com","language":"TypeScript","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/svtslv.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}},"created_at":"2022-01-09T18:53:39.000Z","updated_at":"2025-06-19T09:01:24.000Z","dependencies_parsed_at":"2022-09-20T00:21:19.647Z","dependency_job_id":null,"html_url":"https://github.com/svtslv/jstunnel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/svtslv/jstunnel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fjstunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fjstunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fjstunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fjstunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svtslv","download_url":"https://codeload.github.com/svtslv/jstunnel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fjstunnel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261392180,"owners_count":23151718,"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":["cli","client","http","https","localhost","net","secure","socket","ssl","tcp","tls","tunnel"],"created_at":"2024-11-09T16:28:50.391Z","updated_at":"2026-02-26T02:18:33.688Z","avatar_url":"https://github.com/svtslv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JsTunnel - secure tunnels to localhost\n\n\u003ca href=\"https://www.npmjs.com/package/jstunnel\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/jstunnel.svg\" alt=\"NPM Version\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/jstunnel\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/jstunnel.svg\" alt=\"Package License\" /\u003e\u003c/a\u003e\n\n## Table of Contents\n- [Description](#description)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Custom subdomain](#custom-subdomain)\n- [Serving local directory](#serving-local-directory)\n- [Password protection](#password-protection)\n- [Web interface](#web-interface)\n- [HTTP logs](#http-logs)\n- [Server](#server)\n- [License](#license)\n\n## Description\nJsTunnel provides unique public URLs allowing you to easily share a web service on your local development machine with the world through a secure tls tunnel.\n\n## Installation\n#### Globally via `npm`\n```bash\nnpm install -g jstunnel\n```\n#### Running on-demand:\n```bash\nnpx jstunnel [options]\n```\n\n## Usage\nStart a webserver on some local port (e.g. 3000) and use the cli to request a tunnel to your local server.\n#### example: http tunnel\n```bash\nnpx jstunnel -p 3000\n```\n#### example: print help\n```bash\nnpx jstunnel --help\n```\n\n## Custom subdomain\n#### example:\n```bash\nnpx jstunnel -p 3000 -s subdomain\n```\n\n## Serving local directory\n#### example:\n```bash\nnpx jstunnel --directory ./\n```\n\n## Password protection\n#### example: basic auth\n```bash\nnpx jstunnel -p 3000 --auth username:password\n```\n#### example: include path\n```bash\nnpx jstunnel -p 3000 --auth user:pass:+/private\n```\n#### example: exclude path\n```bash\nnpx jstunnel -p 3000 --auth user:pass:-/public\n```\n\n## Web interface\n#### example: enable\n```bash\nnpx jstunnel -p 3000 --web\n```\n#### example: disable\n```bash\nnpx jstunnel -p 3000 --web false\n```\n\n## HTTP logs\n#### example: raw\n```bash\nnpx jstunnel -p 3000 --log raw\n```\n#### example: compact\n```bash\nnpx jstunnel -p 3000 --log compact\n```\n#### example: combined\n```bash\nnpx jstunnel -p 3000 --log combined\n```\n#### example: body limiter\n```bash\nnpx jstunnel -p 3000 --log [type]:200\n```\n#### example: disable\n```bash\nnpx jstunnel -p 3000 --log false\n```\n\n## Server\n#### Globally via `npm`\n```bash\nnpm install -g jstunnel\njstunnel-server --help\n```\n#### Running on-demand:\n```bash\nnpx -p jstunnel jstunnel-server [options]\n```\n\n#### Docker:\n```bash\n# svtslv/jstunnel or ghcr.io/svtslv/jstunnel\ndocker run \\\n  -d \\\n  --name jstunnel-server \\\n  --restart unless-stopped \\\n  -p 9000:9000 \\\n  svtslv/jstunnel \\\n  jstunnel-server\n```\n#### Docker Compose:\n```bash\ncat ./docker-compose.yaml\n```\n\n#### Kubernetes:\n```bash\ncat ./kubernetes.yaml\n```\n\n#### Examples:\n```bash\n# With SSl (Single or Wildcard)\njstunnel -p 3000 -s tunnel --domain domain.com --api https://tunnel.domain.com\n\n# Without SSL (Net connect)\njstunnel -p 3000 --domain domain.com --remoteTls false --api http://net.domain.com\n```\n\n## Sponsored by\nYour stars on GitHub\n\n## License\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvtslv%2Fjstunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvtslv%2Fjstunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvtslv%2Fjstunnel/lists"}