contentai / main.py

Commit History

  1. Standardize WordPress writes on pull relay Running

    webmazta
    f21ca98

  1. Publish WordPress posts through pull relay

    webmazta
    fe9e90a

  1. Harden WordPress upload routing

    webmazta
    ad6287a

  1. Route WordPress bridge through verified IPv4 origin

    webmazta
    b6dd5e4
  2. Add authenticated WordPress upload bridge

    webmazta
    8fcbced

  1. Add WordPress media upload fallbacks

    webmazta
    3294c62

  1. Allow posts when original media upload is blocked

    webmazta
    3f204c0

  1. Add Facebook Page Story publishing

    webmazta
    e62f96a

  1. Add Facebook social publishing queue

    webmazta
    50fc739

  1. Fix string iteration bug in process_uploaded_video

    webmazta
    2c15f80
  2. Fix buggy frame shuffling during AI vision analysis causing redo images to stay the same

    webmazta
    73a093e
  3. Fix file path resolution for redone uploaded videos

    webmazta
    96f93b0

  1. Bypass cache and update vision AI prompt on redo jobs

    webmazta
    319d3b9
  2. Enhance Redo functionality with randomized frame selection

    webmazta
    f829051

  1. fix: ensure output directory exists before saving featured images

    webmazta
    00785d3
  2. fix: use absolute paths for all runtime directories (downloads/, output/, cache files)

    webmazta
    22f0ecf

  1. feat: replace OpenRouter/Groq with Gemma 4 as single AI engine

    webmazta
    b21e6da
  2. fix: wrap all numpy values in float/int to avoid ambiguous truth errors

    webmazta
    08e73b4
  3. fix: numpy ambiguous truth value error in frame scorer

    webmazta
    42cee42
  4. feat: replace AI vision analysis with local OpenCV heuristic scorer

    webmazta
    fcb35a9

  1. feat: auto-calculate frame extraction as 1 frame per second

    webmazta
    f5a9d32
  2. fix: switch WP uploads to multipart/form-data encoding

    webmazta
    b17cd81
  3. perf: slash cooldowns to absolute minimum

    webmazta
    80adb7f
  4. fix: switch WP upload from auth tuple to Authorization header

    webmazta
    2044729
  5. fix(main): add Origin/Referer headers to WP media uploads

    webmazta
    f7adcbf
  6. feat: add OpenRouter fallback chain to main.py (social media → WP pipeline)

    webmazta
    565ce60
  7. perf: aggressive cooldown reduction with OpenRouter credits

    webmazta
    23e071a
  8. perf: reduce all cooldowns by 70% for Gemma models

    webmazta
    939a9ef

  1. debug: add response logging and cache-busting to video upload

    webmazta
    276a8ca
  2. debug: add credential logging to video upload

    webmazta
    a9a9cc5
  3. fix(main): read WP credentials at call time, not import time

    webmazta
    725e3e8
  4. fix: validate WP_URL early and fix aiohttp None header crash

    webmazta
    ea9eea2
  5. feat(optimizations): reduce frames, add proactive spacing, caching, and project guide

    webmazta
    636ec54
  6. feat(llm): add 90s cooldown + auto-retry on OpenRouter rate limit (429)

    webmazta
    4b270d1

  1. fix(wp): handle bot verification blocks and fix SQLite database locking

    webmazta
    a8496a0
  2. fix(ai): use correct Groq model IDs and add detailed API error logging

    webmazta
    17e56e5
  3. fix(content): resolve duplicate JSON parsing bug and add detailed API error logging

    webmazta
    ad852ef
  4. feat(media): increase AI frame analysis scope to 60 candidate frames

    webmazta
    a8869f8
  5. fix(ai): resolve silent AI skips by dynamically reading API keys in worker thread context

    webmazta
    bf884f0
  6. fix(wp): add robust json error handling for media uploads

    webmazta
    b11d68e
  7. Add Redo button and UI improvements (manual tab switching and initiation toasts)

    webmazta
    cd67bfc
  8. Enhance smarter frame selection for collages and unify frame extraction

    webmazta
    7afaaab

  1. fix: publish_post extra_image_urls -> extra_media, sequential job processing

    webmazta
    57f3387
  2. feat: implement Grouped Media feature and refactor app.py

    Webmazta
    50aa7df
  3. Fix security vulnerabilities, optimize performance, and improve error handling⁠

    Webmazta
    5554638

  1. UI: Increase title length to 100, add Original article link to review queue. DNS: Implement DNS Rescue via Apify for Facebook/Instagram

    Webmazta
    1f3a22f
  2. Systemic DNS fix: Force IPv4 monkeypatch for all requests/socket resolution to bypass Hugging Face Meta domain blocks

    Webmazta
    f5f6762
  3. Fix DNS resolution on Hugging Face (Force IPv4 & add libnss3) and cleanup Gemini requirements

    Webmazta
    11f4e48
  4. Enable OpenRouter reasoning (thinking) for high-quality content

    Webmazta
    5946f09
  5. Enhance error logging for OpenRouter/Groq fallbacks

    Webmazta
    836d1e0