gen-paylink-govilo
hau823823 tarafından
Coding Agents & IDEsÖzet
Upload files to Govilo and generate unlock links via Bot API.
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
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"}
Gereksinimler
- 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/
Kurulum
clawhub install hau823823/gen-paylink-goviloCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.