- สร้างระบบ automation สำหรับ Facebook status draft - Two-pass system: sessions → filter → compare → draft - Ban list สำหรับกิจกรรมซ้ำทุกวัน - Compare กับ 10 โพสย้อนหลัง (ไม่โพสซ้ำ) - Draft style: คนทั่วไปอ่านเข้าใจ ไม่ใช้ technical jargon - Cron: รันทุกวัน 20:00 น. Components: - facebook-status-generator.py (script) - SKILL.md (Hermes skill) - README.md (docs)
129 lines
3.2 KiB
Markdown
129 lines
3.2 KiB
Markdown
# Moreminimore Personal System
|
|
|
|
ระบบอัตโนมัติส่วนตัวสำหรับ Kunthawat — เครื่องมือและ automation workflows
|
|
|
|
## 📦 Components
|
|
|
|
### 1. Facebook Status Automation
|
|
|
|
สร้าง Facebook status draft จาก Hermes sessions ใน 24 ชม. ย้อนหลัง
|
|
|
|
**วัตถุประสงค์:** สร้าง personal brand ผ่านการอัพเดทสิ่งที่ทำให้คนเห็น (แต่ไม่โพสซ้ำ)
|
|
|
|
**ดูเพิ่มเติม:** [`facebook-status-automation/README.md`](./facebook-status-automation/README.md)
|
|
|
|
**Files:**
|
|
- `facebook-status-automation/facebook-status-generator.py` — script หลัก
|
|
- `facebook-status-automation/SKILL.md` — Hermes skill
|
|
- `facebook-status-automation/README.md` — เอกสาร
|
|
|
|
**Cron:** รันทุกวัน 20:00 น.
|
|
|
|
---
|
|
|
|
## 🚀 Setup
|
|
|
|
### 1. Clone
|
|
|
|
```bash
|
|
cd ~/Gitea
|
|
git clone https://git.moreminimore.com/kunthawat/moreminimore-personal-system.git
|
|
```
|
|
|
|
### 2. Install Skills
|
|
|
|
```bash
|
|
# Link skill ไป Hermes
|
|
ln -s ~/Gitea/moreminimore-personal-system/facebook-status-automation/SKILL.md \
|
|
~/.hermes/skills/productivity/facebook-status-automation/SKILL.md
|
|
```
|
|
|
|
### 3. Create Log File
|
|
|
|
```bash
|
|
# สร้างไฟล์ log ตั้งต้น
|
|
cat > ~/vault/.facebook-status-log.json <<'JSON'
|
|
{
|
|
"settings": {
|
|
"lookback_posts": 10,
|
|
"ban_list": [
|
|
"ai-news-reading",
|
|
"morning-news-briefing",
|
|
"daily-planning",
|
|
"start-my-day",
|
|
"end-my-day",
|
|
"evening-wrapup",
|
|
"cron-model-update",
|
|
"cookie-renewal",
|
|
"news-curation",
|
|
"product-launches-digest"
|
|
]
|
|
},
|
|
"posts": [],
|
|
"milestones": {}
|
|
}
|
|
JSON
|
|
```
|
|
|
|
### 4. Setup Cron
|
|
|
|
```bash
|
|
# รันทุกวัน 20:00 น. (8 โมงเย็น)
|
|
hermes cron create \
|
|
--name "Facebook Status Draft" \
|
|
--schedule "0 20 * * *" \
|
|
--prompt "รัน facebook-status-automation skill เพื่อสร้าง Facebook status draft จากสิ่งที่ทำวันนี้" \
|
|
--skills facebook-status-automation \
|
|
--deliver telegram
|
|
```
|
|
|
|
---
|
|
|
|
## 🛠️ Development
|
|
|
|
### Test Run
|
|
|
|
```bash
|
|
cd ~/Gitea/moreminimore-personal-system/facebook-status-automation
|
|
python3 facebook-status-generator.py
|
|
```
|
|
|
|
### Update Skill
|
|
|
|
แก้ไข `facebook-status-automation/SKILL.md` แล้วรัน:
|
|
|
|
```bash
|
|
# Reload skill
|
|
hermes skills reload facebook-status-automation
|
|
```
|
|
|
|
---
|
|
|
|
## 📂 Project Structure
|
|
|
|
```
|
|
moreminimore-personal-system/
|
|
├── README.md # เอกสารนี้
|
|
├── .gitignore
|
|
└── facebook-status-automation/
|
|
├── README.md # เอกสารโมดูล
|
|
├── SKILL.md # Hermes skill
|
|
└── facebook-status-generator.py # Script (สำหรับ test/debug)
|
|
```
|
|
|
|
---
|
|
|
|
## 🔮 Future Components
|
|
|
|
- [ ] Blog content automation
|
|
- [ ] Email newsletter automation
|
|
- [ ] Client report generation
|
|
- [ ] Analytics dashboard
|
|
- [ ] Ad campaign monitor
|
|
|
|
---
|
|
|
|
## 📝 License
|
|
|
|
MIT © 2026 Kunthawat
|