gen-paylink-govilo
بواسطة hau823823
Coding Agents & IDEsموجز
Upload files to Govilo and generate unlock links via Bot API.
الوصف
ما الذي تفعله هذه المهارة
Packages local files into a ZIP and uploads them to Govilo's R2 storage via presigned URLs, then creates a paid unlock link through the Govilo Bot API. Accepts ZIPs, folders, or individual files. Payment is collected in USDC on the Base chain.
Collapses file packaging, cloud upload, and crypto payment link creation into a single CLI command instead of requiring separate tools for each step.
متى تستخدمها
- Selling a folder of design assets as a one-time download
- Charging for access to a packaged software release
- Creating a crypto-gated download link for a template pack
- Distributing source code files behind a USDC paywall
- Turning a collection of PDFs into a paid product listing
مثال على سير العمل
User asks: Create a pay link for my UI kit folder at ./ui-kit, price 12 USDC, title 'UI Kit Pro'
- 1
Validate GOVILO_API_KEY and SELLER_ADDRESS are set
- 2
Package ./ui-kit folder into a ZIP
- 3
Request presigned upload URL from POST /api/v1/bot/uploads/presign
- 4
Upload ZIP to Govilo R2 via PUT to the presigned URL
- 5
Create item via POST /api/v1/bot/items and retrieve unlock_url
{"ok": true, "unlock_url": "https://govilo.xyz/unlock/abc123"}
المتطلبات
- GOVILO_API_KEY environment variable (Bot API key from govilo.xyz)
- SELLER_ADDRESS environment variable (EVM wallet address on Base chain)
- Govilo account registered at https://govilo.xyz/
التثبيت
clawhub install hau823823/gen-paylink-goviloشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.