How hynanhat/autoblog works
AutoBlog is a desktop tool that automates Shinobi Blog account setup and HTML publishing, with an optional local Hiragana CAPTCHA OCR service. Its main workflow runs from account and article configuration in the GUI through browser automation to per-account publication results; CAPTCHA solving can use OCR or fall back to manual input. The graph also preserves the OCR service’s queue, recognition, web-review, and evaluation capabilities. Relationships are based on the README and shown source/index references; unsampled implementation details are not inferred.
Main entry points: ninja_worker.py Browser runner · ocr_service.py Gemini recognition · app.py Desktop GUI · hiragana_hook.py Captcha solver
Components 21
Blog automation
- Desktop GUI
app.py - Input parsers
parsers.py - Browser runner
ninja_worker.py - Captcha capture
ninja_hiragana.py - Account setup
ninja_worker.py - Domain selection
ninja_worker.py - Article publishing
ninja_worker.py
CAPTCHA integration
- Captcha solver
hiragana_hook.py - OCR HTTP client
ocr_client.py
OCR service
- Image inbox
ocr/folder_ocr.py - OCR API server
ocr/server.py - Job store
ocr/folder_ocr.py - Gemini recognition
ocr/ocr_service.py - Image preprocessing
ocr/preprocess.py - Hiragana formatter
ocr/formatter.py - API key pool
ocr/key_pool.py
OCR tools
- OCR review UI
ocr/ocr_ui.py - OCR evaluation
ocr/evaluate.py
Other components
- Operator
- Shinobi Blog
- Google Gemini
Connections 25
- Operator → Desktop GUI: configures jobs
README.md - Desktop GUI → Input parsers: parses inputs
app.py - Desktop GUI → Browser runner: starts worker
app.py - Browser runner → Captcha capture: captures captcha
ninja_worker.py - Browser runner → Account setup: creates accounts
README.md - Browser runner → Domain selection: selects domain
README.md - Browser runner → Article publishing: publishes HTML
ninja_worker.py - Account setup → Shinobi Blog: registers on
README.md - Domain selection → Shinobi Blog: checks domains
README.md - Article publishing → Shinobi Blog: publishes to
README.md - Browser runner → Captcha solver: requests solution
ninja_worker.py - Captcha solver → OCR HTTP client: tries OCR
hiragana_hook.py - Captcha solver → Operator: falls back to
hiragana_hook.py - OCR HTTP client → Image inbox: writes images
README.md - OCR HTTP client → OCR API server: polls results
README.md - OCR API server → Job store: reads jobs
ocr/server.py - OCR API server → Gemini recognition: runs recognition
ocr/server.py - Gemini recognition → API key pool: uses keys
ocr/ocr_service.py - Gemini recognition → Google Gemini: recognizes with
README.md - Gemini recognition → Hiragana formatter: formats output
ocr/ocr_service.py - Image inbox → Image preprocessing: processes images
README.md - OCR review UI → Gemini recognition: tests readings
ocr/ocr_ui.py - OCR review UI → Image preprocessing: previews cleanup
ocr/ocr_ui.py - OCR evaluation → Gemini recognition: compares readings
ocr/evaluate.py - OCR evaluation → Image preprocessing: compares variants
ocr/evaluate.py