How limhyunwoo97/bolgdraftagent works
Blog Draft Agent is a Windows desktop app for turning photos, factual notes, and saved writing samples into a reviewable blog outline and then a finished, copyable or downloadable post; it does not publish to Naver. The main workflow runs from the Tkinter UI through image analysis and themed/style-aware drafting, with local template fallbacks when NVIDIA is unavailable. Separate branches manage local theme samples and optional Naver profile login. Relationships are based on the shown excerpts and README; unsampled UI behavior and storage wiring are not expanded beyond documented capabilities.
Main entry points: app.py Blog editor UI · naver_oauth.py Naver OAuth · nvidia_client.py NVIDIA client · draft_service.py Outline stage
Components 16
Desktop experience
- Blog editor UI
app.py - Photo inputs
app.py - Photo previews
app.py
Draft creation
- Outline stage
blog_agent/draft_service.py - Body stage
blog_agent/draft_service.py - Theme and style
blog_agent/style.py
Local data
- App settings
blog_agent/config.py - Theme samples
blog_agent/profiles.py
External integrations
- NVIDIA client
blog_agent/nvidia_client.py - Naver OAuth
blog_agent/naver_oauth.py
Other components
- NVIDIA API
- Naver authorization
- Naver profile API
- Author
- Post files and clipboard
- Web browser
Connections 20
- Author → Blog editor UI: enters content
README.md - Blog editor UI → Photo inputs: selects photos
app.py - Photo inputs → Photo previews: renders previews
app.py - Blog editor UI → Outline stage: requests outline
README.md - Blog editor UI → Body stage: submits reviewed plan
README.md - Outline stage → NVIDIA client: analyzes and drafts
blog_agent/draft_service.py - Body stage → NVIDIA client: analyzes and drafts
blog_agent/draft_service.py - Outline stage → Theme and style: builds style context
blog_agent/draft_service.py - Body stage → Theme and style: builds style context
blog_agent/draft_service.py - Blog editor UI → Theme samples: loads and saves samples
README.md - Blog editor UI → App settings: loads and saves settings
app.py - Blog editor UI → Naver OAuth: starts login
app.py - NVIDIA client → App settings: reads credentials
blog_agent/nvidia_client.py - NVIDIA client → NVIDIA API: sends API requests
blog_agent/nvidia_client.py - Naver OAuth → App settings: reads OAuth settings
blog_agent/naver_oauth.py - Naver OAuth → Web browser: opens authorization
blog_agent/naver_oauth.py - Web browser → Naver authorization: requests consent
README.md - Naver authorization → Naver OAuth: redirects callback
README.md - Naver OAuth → Naver profile API: fetches profile
blog_agent/naver_oauth.py - Blog editor UI → Post files and clipboard: copies or saves
README.md