expiring-local-fileshare
tradmangh 제작
Web & Frontend Development요약
Lets OpenClaw safely share single files from its local workspace via expiring, tokenized HTTP links.
설명
이 스킬이 하는 일
Starts a temporary Node.js HTTP server to serve a single file via a tokenized URL, accessible only on local network or VPN. Tokens expire after a configurable duration (default 1 hour, max 24 hours) and can optionally be invalidated after the first successful download.
Avoids cloud uploads or persistent file server setup by spinning up a temporary, token-protected link that self-expires.
사용 시점
- Sharing a local PDF with a colleague on the same office network
- Sending a preview image to a teammate over VPN
- Giving one-time access to a config file during a pairing session
- Sharing a markdown report without uploading to cloud storage
- Serving a log file to a remote coworker connected via VPN
예시 워크플로
User asks: Share report.md with my colleague for the next 2 hours
- 1
Locate the absolute path of report.md in the workspace
- 2
Run share.sh with the file path and a 2-hour validity argument
- 3
Node.js HTTP server starts on an auto-assigned port
- 4
Generate a 32-character hex token and build the access URL
- 5
Return the clickable link to the user
http://192.168.0.219:8888/?token=<hex_token>, valid for 2 hours
설치
clawhub install tradmangh/expiring-local-fileshareCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.