自动化数字内容变现工具
简介
基于Govilo Bot API的自动化文件变现方案,一键将本地文件转为USDC付费解锁链接,实现内容创作到加密收款的无缝衔接。
原始描述
Upload files to Govilo and generate unlock links via Bot API. Use when: (1) Creating a Govilo unlock link from a ZIP, folder, or individual files, (2) Automating file upload to Govilo R2 storage with presigned URLs, (3) Managing Govilo Bot API interactions (presign → upload → create item). Requires GOVILO_API_KEY and SELLER_ADDRESS env vars. If missing, guides user to register at https://govilo.xyz/.
通过你的 Agent 添加
安装目录:gen-paylink-govilo/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: gen-paylink-govilo description: > Upload files to Govilo and generate unlock links via Bot API. Use when: (1) Creating a Govilo unlock link from a ZIP, folder, or individual files, (2) Automating file upload to Govilo R2 storage with presigned URLs, (3) Managing Govilo Bot API interactions (presign → upload → create item). Requires GOVILO_API_KEY and SELLER_ADDRESS env vars. If missing, guides user to register at https://govilo.xyz/. metadata: author: hau823823@gmail.com version: "1.0" openclaw: requires: env: - GOVILO_API_KEY - SELLER_ADDRESS primaryEnv: GOVILO_API_KEY homepage: https://github.com/hau823823/gen-paylink-govilo
Govilo To Go
Turn any file into a paid unlock link — one command to package, upload, and collect crypto payments. The last mile of automation: from creation to monetization.
Before Running
Always ask the user for these values before executing the CLI — never guess or use placeholders:
- title — What is the product name?
- price — How much to charge (in USDC)?
- description — Short description of the product (optional, but always ask)
CLI Command
Requires uv. See references/setup-guide.md for install instructions.
Run from this skill's base directory. Use a dedicated env file containing only GOVILO_API_KEY (and optionally SELLER_ADDRESS). Never point --env-file at a project .env that contains unrelated secrets.
cd <skill_base_directory>
uv run --env-file <path_to>/.env.govilo create-link \
--input <path> \
--title "Product Name" \
--price "5.00" \
--address "0x..." \
--description "optional"
If no .env.govilo exists, create one before running:
GOVILO_API_KEY=sk_live_xxx
SELLER_ADDRESS=0x...
--input accepts ZIP file, folder, or individual files (repeatable). Non-ZIP inputs are auto-packaged.
All output is JSON {"ok": true/false, ...} with exit code 1 on failure.
Parameters
| Param | Required | Source | Description |
|---|---|---|---|
--input |
Yes | CLI (repeatable) | ZIP, folder, or file paths |
--title |
Yes | CLI | Product title |
--price |
Yes | CLI | Price in USDC |
--address |
No | CLI > SELLER_ADDRESS env |
Seller EVM wallet |
--description |
No | CLI | Product description |
Workflow
- Validate config (API Key + seller address)
- Package inputs → ZIP (if not already ZIP)
POST /api/v1/bot/uploads/presign→ get upload_url + session_idPUT upload_url→ upload ZIP to R2POST /api/v1/bot/items→ get unlock_url
File Limits
- Max ZIP size: 20 MB
- Max files in ZIP: 20
Setup
Two values are required:
| Variable | Required | Description |
|---|---|---|
GOVILO_API_KEY |
Yes | Bot API key from govilo.xyz |
SELLER_ADDRESS |
Yes* | EVM wallet address on Base chain |
*SELLER_ADDRESS can also be passed via --address CLI parameter.
See references/setup-guide.md for step-by-step registration and wallet setup instructions.
API Reference
See references/bot-api-quick-ref.md for Bot API endpoints and error codes.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。