Skip to content

Add dependency health checks and warning banner#335

Draft
saurabhhhcodes wants to merge 1 commit into
Durgeshwar-AI:mainfrom
saurabhhhcodes:fix/dependency-health-banner
Draft

Add dependency health checks and warning banner#335
saurabhhhcodes wants to merge 1 commit into
Durgeshwar-AI:mainfrom
saurabhhhcodes:fix/dependency-health-banner

Conversation

@saurabhhhcodes

Copy link
Copy Markdown

What changed

  • Added a backend /health/dependencies endpoint that reports whether native tools like poppler-utils, tesseract-ocr, and optional ghostscript are present.
  • Added a frontend warning banner in the shared tool layout so users see missing-server-dependency guidance before using the converters.
  • Documented the manual install commands in the repo README.

Why

When native conversion tools are missing from the server image, PDF and OCR flows can fail in ways that are hard for users to interpret. This makes the dependency gap visible and gives a direct install path.

Validation

  • python3 -m py_compile backend/main.py backend/app/__init__.py backend/utils/dependency_checker.py
  • git diff --check
  • npm run build in frontend/
  • Manual browser check of /pdf-to-png with the warning banner rendered above the tool card

Closes #329

@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Durgeshwar's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[BUG] PDF processing fails silently when poppler-utils is missing

1 participant