feat: upstream v3.2.1 기반으로 업그레이드 + eli 블로그 커스터마이징

- upstream sinmb79/blog-writer v3.2.1 코드 베이스 적용
- config_resolver, CLI, writer_bot, shorts pipeline 등 신규 기능 포함
- load_dotenv Windows 경로 → Docker 호환 load_dotenv() 변경 (25개 파일)
- runtime_guard.py Docker 환경 bypass 추가
- config/blogs.json: eli-ai 블로그 정체성 (8개 카테고리)
- config/sources.json: 38개 RSS 소스 유지
- config/engine.json: writing provider → gemini (2.5-flash)
- config/safety_keywords.json: 모든 글 수동 승인 (score 101)
- bots/scheduler.py: 시스템 프롬프트 eli 블로그 기준으로 업데이트
- bots/publisher_bot.py: .env refresh token OAuth 폴백 로직 추가
- requirements.txt: google-generativeai, groq 활성화
- Dockerfile + docker-compose.yml: NAS Docker 배포 설정
- CLAUDE.md: 프로젝트 메타데이터

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
JOUNGWOOK KWON
2026-03-30 09:21:14 +09:00
parent 66be55ba8a
commit 3e2405dff9
36 changed files with 3380 additions and 84 deletions
+15 -10
View File
@@ -2,7 +2,7 @@
"_comment": "The 4th Path 블로그 자동 수익 엔진 — 엔진 설정 (v3)",
"_updated": "2026-03-29",
"writing": {
"provider": "openclaw",
"provider": "gemini",
"_comment_provider": "openclaw=ChatGPT Pro(OAuth), claude_web=Claude Max(웹쿠키), gemini_web=Gemini Pro(웹쿠키), claude=Anthropic API키, gemini=Google AI API키",
"options": {
"openclaw": {
@@ -26,7 +26,7 @@
},
"gemini": {
"api_key_env": "GEMINI_API_KEY",
"model": "gemini-2.5-pro",
"model": "gemini-2.5-flash",
"max_tokens": 4096,
"temperature": 0.7
}
@@ -78,8 +78,13 @@
"provider": "smart_router",
"options": {
"smart_router": {
"priority": ["kling_free", "veo3", "seedance2", "ffmpeg_slides"],
"daily_cost_limit_usd": 0.50,
"priority": [
"kling_free",
"veo3",
"seedance2",
"ffmpeg_slides"
],
"daily_cost_limit_usd": 0.5,
"prefer_free_first": true,
"fallback": "ffmpeg_slides"
},
@@ -191,11 +196,11 @@
"analytics": "22:00"
},
"brand": {
"name": "The 4th Path",
"sub": "Independent Tech Media",
"by": "by 22B Labs",
"url": "the4thpath.com",
"cta": "팔로우하면 매일 이런 정보를 받습니다"
"name": "AI? 그게 뭔데?",
"sub": "eli의 쉽고 재미있는 이야기",
"by": "by eli",
"url": "eli-ai.blogspot.com",
"cta": "구독하면 매일 쉽고 재미있는 정보를 받습니다"
},
"optional_keys": {
"KLING_API_KEY": "Kling 3.0 AI 영상 생성 (66 무료 크레딧/일)",
@@ -204,4 +209,4 @@
"GEMINI_API_KEY": "Google Gemini 글쓰기 / Veo 영상",
"RUNWAY_API_KEY": "Runway Gen-3 AI 영상 생성"
}
}
}