返回顶部
t

tunelo

Expose local services and files to the internet through a public HTTPS URL. Designed for AI agents — when you need to let a user preview files remotely, share a dev server, demo an app, or give temporary access to localhost. Use this whenever the user says "share this", "let me see it on my phone", "send me the link", or needs to access something running locally from another device/network.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.2.0
安全检测
已通过
91
下载量
0
收藏
概述
安装方式
版本历史

tunelo

## When to use tunelo Use tunelo when the user needs to: - **Preview files remotely** — "show me that PDF", "let me browse those files on my phone" - **Share a local dev server** — "give me a link to your React app" - **Demo something to a colleague** — "send me the URL so I can test it" - **Access localhost from another device** — mobile testing, remote debugging - **Share a directory** — project files, documents, media, datasets Do NOT use tunelo when: - The user only needs local access (use `python3 -m http.server` or `tunelo serve . --local`) - The files are already hosted somewhere public ## Install ```bash curl -fsSL https://tunelo.net/install.sh | sh ``` If `tunelo` is not found after install, the binary is at `/usr/local/bin/tunelo`. ## Commands ### Expose a local HTTP service ```bash tunelo http 3000 # Expose port 3000 → get public HTTPS URL tunelo http 5173 # React/Vite dev server tunelo http 8080 # Any local service tunelo http 3000 --private # Require access code to visit ``` ### Serve files with web explorer ```bash tunelo serve . # Current directory → public URL with file browser tunelo serve ./dist # Specific directory tunelo serve ~/Documents # Any path tunelo serve . --local # Local-only preview (no tunnel, no public URL) tunelo serve . -l -p 8000 # Local preview on port 8000 ``` The file explorer runs in the browser — directory browsing, code syntax highlighting, markdown rendering, PDF viewer, image/video/audio playback, CSV/Excel tables. Everything is embedded in the binary, no dependencies. ### Options ```bash tunelo http <PORT> --relay my.server:4433 # Use a custom relay server tunelo http <PORT> -H 192.168.1.100 # Forward to non-localhost tunelo http <PORT> --private # Auto-generate access code tunelo http <PORT> --code mysecret # Set specific access code ``` Default relay is `tunelo.net:4433` (free public relay). Use `--relay` for self-hosted. ## Typical agent workflows ### User says "share these files with me" ```bash tunelo serve /path/to/files # Give the user the public URL from the output ``` ### User says "I want to see this on my phone" ```bash # If there's a dev server running: tunelo http 3000 # If it's just files: tunelo serve . ``` ### User says "let my colleague test the API" ```bash tunelo http 8080 --private # Give them the Share URL (includes access code) ``` ### User says "preview this locally first" ```bash tunelo serve ./dist --local # Opens on http://localhost:3000, no public URL ``` ## How it works ``` Browser → HTTPS → Relay → QUIC tunnel → Client → localhost / file server ``` - Public HTTPS URL assigned automatically (random subdomain like `abc123.tunelo.net`) - QUIC transport — encrypted, multiplexed, low latency - Auto-reconnects if connection drops - Session limit: tunnels expire after ~2 hours on the public relay

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 tunelo-1776120325 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 tunelo-1776120325 技能

通过命令行安装

skillhub install tunelo-1776120325

下载 Zip 包

⬇ 下载 tunelo v0.2.0

文件大小: 2.05 KB | 发布时间: 2026-4-14 14:15

v0.2.0 最新 2026-4-14 14:15
Rewritten for AI agents — trigger phrases, typical workflows, when to use/not use

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部