Initial commit: moreminimore-service content pipeline

- 9 mm* skills (orchestrator, article, social, publish, analytics)
- 6 dependency skills (content-writer, geo-optimizer, etc.)
- 3 analytics scripts (GSC, Google Ads, Meta Ads)
- Config template + setup guide
- SOUL-MM.md persona extension
- OrbitOS integration reference
This commit is contained in:
Kunthawat Greethong
2026-07-02 10:01:53 +07:00
commit 7b5af16f6d
36 changed files with 7803 additions and 0 deletions

47
config/README.md Normal file
View File

@@ -0,0 +1,47 @@
# Config Setup Guide
## 1. Copy template
```bash
cp config/clients-config.template.json ~/vault/99_System/clients-config.json
```
## 2. Fill in global credentials
### Google (for GSC + Google Ads)
- `service_account_key` — path to service account JSON key file
- `developer_token` — from Google Ads → Tools → API Center
- `manager_account_id` — MCC account ID (format: 123-456-7890)
### Meta (for Facebook/Instagram Ads)
- `app_id` — from developers.facebook.com → App Settings
- `app_secret` — from developers.facebook.com → App Settings → Basic
- `system_user_token` — Business Settings → System Users → Generate Token
## 3. Add clients
Each client needs:
- `id` — unique kebab-case identifier
- `display_name` — human-readable name
- `contact` — phone, email, line (browsed from website)
- `website` — type (astro/wordpress), url
- `social_platforms` — which platforms to use (e.g. ["facebook"])
- `analytics` — GSC property, GA ID, Google Ads ID, Meta Ads ID
## 4. Set up GSC access
Add service account email as user in each client's GSC property:
1. Go to https://search.google.com/search-console
2. Select client's property
3. Settings → Users and permissions → Add user
4. Email: [from service_account_key → client_email]
5. Permission: Full or Restricted
## 5. Verify
```bash
cd ~/Gitea/moreminimore-service-system/scripts
python3 mm_gsc.py --client <client-id> --days 7
python3 mm_google_ads.py --client <client-id> campaigns
python3 mm_meta_ads.py --client <client-id> campaigns
```

View File

@@ -0,0 +1,47 @@
{
"global": {
"google": {
"service_account_key": "~/.hermes/keys/google-service-account.json",
"developer_token": "",
"manager_account_id": ""
},
"meta": {
"app_id": "",
"app_secret": "",
"system_user_token": ""
}
},
"clients": [
{
"id": "example",
"display_name": "Example Client",
"contact": {
"phone": "",
"email": "",
"line": "",
"facebook_url": "",
"website_url": "https://example.com",
"address": "",
"cta_text": ""
},
"website": {
"type": "wordpress",
"url": "https://example.com",
"categories": [],
"categories_cached_at": null
},
"social": {
"facebook": { "page_id": "", "page_token": "" },
"instagram": { "user_id": "", "token": "" },
"x": { "username": "", "app": "" }
},
"social_platforms": ["facebook"],
"analytics": {
"gsc_property": "",
"ga_property_id": "",
"google_ads_customer_id": "",
"meta_ad_account_id": ""
}
}
]
}