[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3083":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},3083,"localtunnel","localtunnel\u002Flocaltunnel","expose yourself","https:\u002F\u002Flocaltunnel.me",null,"JavaScript",22317,1559,231,149,0,1,9,55,7,81.58,"MIT License",false,"master",true,[],"2026-06-12 04:00:16","# localtunnel\n\nlocaltunnel exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes.\n\nGreat for working with browser testing tools like browserling or external api callback services like twilio which require a public url for callbacks.\n\n## Quickstart\n\n```\nnpx localtunnel --port 8000\n```\n\n## Installation\n\n### Globally\n\n```\nnpm install -g localtunnel\n```\n\n### As a dependency in your project\n\n```\nyarn add localtunnel\n```\n\n### Homebrew\n\n```bash\nbrew install localtunnel\n```\n\n## CLI usage\n\nWhen localtunnel is installed globally, just use the `lt` command to start the tunnel.\n\n```\nlt --port 8000\n```\n\nThats it! It will connect to the tunnel server, setup the tunnel, and tell you what url to use for your testing. This url will remain active for the duration of your session; so feel free to share it with others for happy fun time!\n\nYou can restart your local server all you want, `lt` is smart enough to detect this and reconnect once it is back.\n\n### Arguments\n\nBelow are some common arguments. See `lt --help` for additional arguments\n\n- `--subdomain` request a named subdomain on the localtunnel server (default is random characters)\n- `--local-host` proxy to a hostname other than localhost\n\nYou may also specify arguments via env variables. E.x.\n\n```\nPORT=3000 lt\n```\n\n## API\n\nThe localtunnel client is also usable through an API (for test integration, automation, etc)\n\n### localtunnel(port [,options][,callback])\n\nCreates a new localtunnel to the specified local `port`. Will return a Promise that resolves once you have been assigned a public localtunnel url. `options` can be used to request a specific `subdomain`. A `callback` function can be passed, in which case it won't return a Promise. This exists for backwards compatibility with the old Node-style callback API. You may also pass a single options object with `port` as a property.\n\n```js\nconst localtunnel = require(\"localtunnel\");\n\n(async () => {\n  const tunnel = await localtunnel({ port: 3000 });\n\n  \u002F\u002F the assigned public url for your tunnel\n  \u002F\u002F i.e. https:\u002F\u002Fabcdefgjhij.localtunnel.me\n  tunnel.url;\n\n  tunnel.on(\"close\", () => {\n    \u002F\u002F tunnels are closed\n  });\n})();\n```\n\n#### options\n\n- `port` (number) [required] The local port number to expose through localtunnel.\n- `subdomain` (string) Request a specific subdomain on the proxy server. **Note** You may not actually receive this name depending on availability.\n- `host` (string) URL for the upstream proxy server. Defaults to `https:\u002F\u002Flocaltunnel.me`.\n- `local_host` (string) Proxy to this hostname instead of `localhost`. This will also cause the `Host` header to be re-written to this value in proxied requests.\n- `local_https` (boolean) Enable tunneling to local HTTPS server.\n- `local_cert` (string) Path to certificate PEM file for local HTTPS server.\n- `local_key` (string) Path to certificate key file for local HTTPS server.\n- `local_ca` (string) Path to certificate authority file for self-signed certificates.\n- `allow_invalid_cert` (boolean) Disable certificate checks for your local HTTPS server (ignore cert\u002Fkey\u002Fca options).\n\nRefer to [tls.createSecureContext](https:\u002F\u002Fnodejs.org\u002Fapi\u002Ftls.html#tls_tls_createsecurecontext_options) for details on the certificate options.\n\n### Tunnel\n\nThe `tunnel` instance returned to your callback emits the following events\n\n| event   | args | description                                                                          |\n| ------- | ---- | ------------------------------------------------------------------------------------ |\n| request | info | fires when a request is processed by the tunnel, contains _method_ and _path_ fields |\n| error   | err  | fires when an error happens on the tunnel                                            |\n| close   |      | fires when the tunnel has closed                                                     |\n\nThe `tunnel` instance has the following methods\n\n| method | args | description      |\n| ------ | ---- | ---------------- |\n| close  |      | close the tunnel |\n\n## other clients\n\nClients in other languages\n\n_go_ [gotunnelme](https:\u002F\u002Fgithub.com\u002FNoahShen\u002Fgotunnelme)\n\n_go_ [go-localtunnel](https:\u002F\u002Fgithub.com\u002Flocaltunnel\u002Fgo-localtunnel)\n\n_C#\u002F.NET_ [localtunnel-client](https:\u002F\u002Fgithub.com\u002Fangelobreuer\u002Flocaltunnel.net)\n\n_Rust_ [rlt](https:\u002F\u002Fgithub.com\u002Fkaichaosun\u002Frlt)\n\n## server\n\nSee [localtunnel\u002Fserver](\u002F\u002Fgithub.com\u002Flocaltunnel\u002Fserver) for details on the server that powers localtunnel.\n\n## License\n\nMIT\n","localtunnel 是一个工具，用于将本地开发环境暴露到公网，方便进行测试和分享。其核心功能是通过简单的命令行操作，无需配置复杂的DNS或部署服务即可生成一个临时的公网URL，支持HTTP和HTTPS协议，并且可以指定子域名。它特别适用于需要公开URL的场景，如使用浏览器测试工具（例如browserling）或外部API回调服务（例如Twilio）。此外，localtunnel还提供了API接口，便于集成进自动化测试或持续集成流程中。安装简单，既可以通过npm全局安装也可以作为项目依赖引入。",2,"2026-06-11 02:52:24","top_language"]