Skip to content

Improve Violet Web 6#901

Draft
violet-dev wants to merge 6 commits intodevfrom
improve-violet-web-6
Draft

Improve Violet Web 6#901
violet-dev wants to merge 6 commits intodevfrom
improve-violet-web-6

Conversation

@violet-dev
Copy link
Member

No description provided.

violet-dev and others added 6 commits February 18, 2026 14:50
- Hot page with period selector (daily/weekly/monthly/all time),
  ranked article display with view count badges, search bar,
  tag chips, and view mode toggle
- Developer Settings section in Settings (HMAC salt, server host)
  hidden behind developer mode toggle
- HMAC authentication via Web Crypto API (SHA-512)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Thumbnails are now stored in the existing images store with page=-1,
sharing the same size limit, LRU eviction, and stats as viewer images.

- Add optional onLoad prop to LazyImage
- Add useCachedThumbnail hook (mirrors useCachedImage, fetches proxy URL internally)
- Replace useThumbnail with useCachedThumbnail in ArticleCard

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…erlap

- Extract make_ocr_config(), create_ocr_pool(), save_ocr_result() from
  ocr_article.py for reuse across scripts
- Replace per-article subprocess calls in run.py with a single Pool shared
  across all articles (GPU model loaded once per worker)
- Pipeline preprocessing (ThreadPoolExecutor) and OCR (ProcessPool) using
  add_done_callback so each image enters OCR immediately after conversion
- Add Semaphore(workers*2) backpressure to prevent OCR queue flooding and
  excessive VRAM pressure
- Print per-image progress via apply_async callback as results arrive

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant