कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

expiring-local-fileshare

tradmangh द्वारा

Web & Frontend Development
556clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

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. 1

    Locate the absolute path of report.md in the workspace

  2. 2

    Run share.sh with the file path and a 2-hour validity argument

  3. 3

    Node.js HTTP server starts on an auto-assigned port

  4. 4

    Generate a 32-character hex token and build the access URL

  5. 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-fileshare

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक