Pinme Share
БесплатноЗапускает вложенные скриптыНе проверенUpload any local file or directory to PinMe (pinme.eth.limo) and instantly get a short shareable URL (*.pinit.eth.limo). Supports all file types: HTML pages…
от songhonglei713 установок в других каталогахОб этом скилле
pinme-share
Upload any file or directory to PinMe (public IPFS) and get back a short
*.pinit.eth.limo URL.
- Version: 1.0.1
- License: MIT
- Author: Evan Song · github.com/Songhonglei
- Repository: https://github.com/Songhonglei/html-tool-suite
⚠️ Public-data warning — read before first use
- PinMe runs on public IPFS: anything you upload is world-readable; anyone with the URL can open it.
- CIDs are effectively undeletable: IPFS nodes cache content;
--rmonly removes the pin from your account — third-party copies may still exist. - 🚫 Never upload: internal company docs / client data / credentials / private info / unreleased material.
- Every
uploadinvocation prints a warning to stderr; pass--yesto skip it in automation.
🔑 First-time setup — configure your AppKey
PinMe v2.x requires authentication. The lookup order is:
PINME_APPKEYenv variable (highest priority, doesn't persist — good for CI / one-shot)pinmeCLI already has an AppKey set → reuse directly- Local file
~/.local/share/pinme-share/appkey.jsonexists → auto-applied topinmeCLI - Otherwise → script returns
error_type: auth_requiredand tells the user to grab an AppKey from https://pinme.eth.limo
Configure / replace the AppKey (persistent)
python3 scripts/upload_to_pinme.py --set-appkey <YOUR_KEY>
Writes the key to both the pinme CLI and ~/.local/share/pinme-share/appkey.json (mode 0600).
The local file is never committed to git or shipped in the published skill bundle.
Override the storage path (advanced)
export PINME_APPKEY_FILE=/custom/path/appkey.json
# or honour $XDG_DATA_HOME automatically:
export XDG_DATA_HOME=$HOME/my-xdg-data # → $HOME/my-xdg-data/pinme-share/appkey.json
Inspect current configuration
python3 scripts/upload_to_pinme.py --show-appkey
📤 Upload
# Any single file
python3 scripts/upload_to_pinme.py /path/to/file.html
python3 scripts/upload_to_pinme.py /path/to/report.pdf
# A whole directory (no index.html required)
python3 scripts/upload_to_pinme.py /path/to/dist/
# Add --verbose to see progress for large files
python3 scripts/upload_to_pinme.py /path/to/video.mp4 --verbose
# Skip the privacy warning (for cron / automated pipelines)
python3 scripts/upload_to_pinme.py /path/to/file.html --yes
# Custom timeout (default: 60s + 2s/MB, floor 180s, ceiling 1800s)
python3 scripts/upload_to_pinme.py /path/to/big.zip --timeout 900
Output — the last line of stdout is always a single JSON object:
{"success": true, "url": "https://xxxx.pinit.eth.limo", "size_bytes": 12345, "timeout_used": 180}
📜 Browse upload history
python3 scripts/upload_to_pinme.py --list
python3 scripts/upload_to_pinme.py --list --limit 5
python3 scripts/upload_to_pinme.py --list --raw # don't parse; return raw CLI text
Structured output:
{"success": true, "count": 3, "history": [
{"name": "foo.html", "cid": "Qm...", "url": "https://xxxx.pinit.eth.limo", "size": "12 KB", "time": "2026-05-21 09:30"}
]}
🗑️ Unpin (remove from your pin list)
python3 scripts/upload_to_pinme.py --rm <CID>
⚠️ Public IPFS copies cannot be truly deleted; this only removes the pin from your account.
💰 Wallet / quota
python3 scripts/upload_to_pinme.py --wallet
PinMe provides a free quota (~500 uploads). Past that it may charge — see https://pinme.eth.limo console.
🚪 Logout
python3 scripts/upload_to_pinme.py --logout
Clears both the pinme CLI session and ~/.local/share/pinme-share/appkey.json.
🧰 stdout / stderr contract
| Stream | Purpose |
|---|---|
| stdout | Always exactly one JSON object on the final line — safe to pipe into jq |
| stderr | Progress lines, privacy warnings, debug output — never breaks JSON parsing |
Example:
URL=$(python3 scripts/upload_to_pinme.py /tmp/foo.html | jq -r '.url')
📋 Error code reference (for agent routing)
error_type |
Trigger | Suggested handling |
|---|---|---|
auth_required |
AppKey missing / pinme reports login failure | Prompt user to run --set-appkey or grab an AppKey |
invalid_path |
Path missing / unreadable | Ask user to confirm the path |
oversize |
Single file > 200 MB or directory > 1 GB | Split or use different storage |
cli_missing |
pinme CLI install failed / not found |
Check Node.js / network / npm permissions |
network |
Timeout / DNS failure / connection refused / 5xx | Retry or verify outbound connectivity |
quota_exceeded |
PinMe quota / wallet empty | Top up via PinMe console or switch account |
url_not_found |
Upload OK but no parseable URL | Inspect raw output (CLI format may have changed) |
usage |
No operation specified | Show --help and ask the user what they w |
Установить Pinme Share в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Pinme Share?
Upload any local file or directory to PinMe (pinme.eth.limo) and instantly get a short shareable URL (*.pinit.eth.limo). Supports all file types: HTML pages, PDFs, images, audio, video, documents, or entire directories. PinMe uses public IPFS — uploaded content is publicly accessible; do NOT upload internal / private / credential data. AppKey persists to ~/.local/share/pinme-share/appkey.json (XDG-compliant), overridable via PINME_APPKEY env or --set-appkey CLI. Use when the user says "upload this file", "share this HTML", "host this page", "give me a public link", "deploy to pinme", "upload to IPFS", "get a shareable link", "show my upload history", or hands over any file / directory and wants a URL to share.
Как установить скилл Pinme Share?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Pinme Share запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic