← 返回
AI智能 中文

Tailscale Serve

Manage multiple paths with tailscale serve, serving files, directories, or ports simultaneously without conflicts and control via background mode.
使用 tailscale serve 管理多个路径,可同时提供文件、目录或端口服务,无冲突,并支持后台模式控制。
snopoke
AI智能 clawhub v1.0.0 1 版本 99867.5 Key: 无需
★ 2
Stars
📥 2,221
下载
💾 198
安装
1
版本
#latest

概述

Tailscale Serve Skill

Manage multiple paths with tailscale serve without conflicts.

Key Commands

Check what's currently served

tailscale serve status

Serve a directory or file at a specific path

# Directory
tailscale serve --bg --set-path /slides /path/to/directory

# Single file
tailscale serve --bg --set-path /presentation /path/to/file.html

# Port (for running services)
tailscale serve --bg --set-path /api http://localhost:8080

Serve from a port at root (replaces everything)

tailscale serve --bg 8888

Remove a specific path

tailscale serve --https=443 /slides off

Reset all serving

tailscale serve reset

Important Notes

  • Path conflicts: Serving at / will override all other paths
  • Background mode: Use --bg to keep it running
  • Multiple paths: You can serve multiple things simultaneously with different paths
  • Status first: Always check tailscale serve status before adding new paths

Common Patterns

Serve presentation alongside control UI

# If control UI is at /, serve presentation at a subpath
tailscale serve --bg --set-path /slides ~/clawd/personal-agents-presentation.html

# Access at: https://[hostname].ts.net/slides

Serve multiple directories

tailscale serve --bg --set-path /docs ~/documents
tailscale serve --bg --set-path /slides ~/presentations
tailscale serve --bg --set-path /files ~/files

Serve a local dev server

tailscale serve --bg --set-path /app http://localhost:3000

Workflow

  1. Check current status: tailscale serve status
  2. Choose an unused path (e.g., /slides, /docs, /api)
  3. Serve with --set-path /your-path /source
  4. Verify with tailscale serve status again
  5. Share the full URL: https://[hostname].ts.net/your-path

Troubleshooting

"Can't access my served content"

  • Check tailscale serve status - is it at the path you expect?
  • Did something else overwrite the root /?

"Want to replace everything with a port"

tailscale serve reset
tailscale serve --bg 8888

"Want to add to existing setup"

# Don't use reset! Just add with --set-path
tailscale serve --bg --set-path /newpath /source

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 15:18 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,903
productivity

checkers-sixty60

snopoke
通过浏览器自动化在 Checkers.co.za Sixty60 配送服务上购物,适用于用户请求购买杂货、加入购物车、下单或管理 Checkers 购物篮的场景,支持配送方式选择、商品搜索、备选偏好、定期补货及优惠评估。
★ 1 📥 2,282
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 836 📥 213,209