Skip to content
项目

关于

通过一个公开 URL 将本地 Web 服务器暴露到互联网。

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+5
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

crate crate

tunnelto

tunnelto lets you expose your locally running web server via a public URL. Written in Rust. Built completely with async-io on top of tokio.

  1. Install
  2. Usage Instructions
  3. For agents

Install

Brew (macOS)

brew install tunneltodev/tap/tunnelto

Cargo

cargo install tunnelto

Everywhere

Or Download a release for your target OS here: tunnelto/releases

Usage

Quick Start

tunn --port 8000

The above command opens a tunnel and forwards traffic to localhost:8000.

The command is tunn. The original name, tunnelto, is installed alongside it and works the same way.

More Options:

tunn 0.2.0

USAGE:
    tunn [FLAGS] [OPTIONS] [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information
    -v, --verbose    A level of verbosity, and can be used multiple times

OPTIONS:
        --dashboard-address <dashboard-address>    Sets the address of the local introspection dashboard
    -k, --key <key>                                Sets an API authentication key to use for this tunnel
        --host <local-host>
            Sets the HOST (i.e. localhost) to forward incoming tunnel traffic to [default: localhost]

    -p, --port <port>
            Sets the port to forward incoming tunnel traffic to on the target host

        --scheme <scheme>
            Sets the SCHEME (i.e. http or https) to forward incoming tunnel traffic to [default: http]

    -s, --subdomain <sub-domain>                   Specify a sub-domain for this tunnel

SUBCOMMANDS:
    help        Prints this message or the help of the given subcommand(s)
    set-auth    Store the API Authentication key

For agents

This repo ships an agent skill at skills/tunnelto/SKILL.md that teaches coding agents (Claude Code, Codex, Cursor, ...) how to install the CLI, authenticate, open a tunnel from a script, and read the public URL back.

npx skills add tunneltodev/tunnelto

A plain-text guide is also served at https://tunnelto.dev/AGENTS.md.

探索相关项目

加载中…