gumroad-analytics
安全地提取每日 Gumroad 产品/销售分析(默认情况下没有原始 PII 持久性)。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~vladchatware-gumroad-analyticscURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~vladchatware-gumroad-analytics/file -o vladchatware-gumroad-analytics.md## 概述(中文)
安全地提取每日 Gumroad 产品/销售分析(默认情况下没有原始 PII 持久性)。
## 原文
# Gumroad Analytics
Collect Gumroad analytics in a privacy-conscious way.
## What this skill does
- Fetches **sales** and **products** from Gumroad API
- Produces a **daily summary JSON** (counts + revenue totals)
- **Does not store raw API payloads by default**
## Credentials
Expected file: `~/.config/gumroad/credentials.json`
Example:
```json
{
"access_token": "YOUR_GUMROAD_ACCESS_TOKEN"
}
```
Harden permissions:
```bash
chmod 600 ~/.config/gumroad/credentials.json
```
## Run
```bash
bash skills/gumroad-analytics/scripts/fetch_metrics.sh
```
Optional raw storage (explicit opt-in):
```bash
bash skills/gumroad-analytics/scripts/fetch_metrics.sh --store-raw
```
## Output
Summary file (default):
- `memory/metrics/gumroad/YYYY-MM-DD-summary.json`
Raw files (only with `--store-raw`):
- `memory/metrics/gumroad/YYYY-MM-DD-raw-sales-redacted.json`
- `memory/metrics/gumroad/YYYY-MM-DD-raw-products.json`
## Notes
- Sales raw output is redacted before writing (`email` and buyer name fields removed).
- If you do not need raw data, avoid `--store-raw`.