Skip to content

[Feature] Add Real-time Progress Indicators with SSE (#328)#339

Open
BhakktiGautam wants to merge 3 commits into
Durgeshwar-AI:mainfrom
BhakktiGautam:feature/progress-indicator
Open

[Feature] Add Real-time Progress Indicators with SSE (#328)#339
BhakktiGautam wants to merge 3 commits into
Durgeshwar-AI:mainfrom
BhakktiGautam:feature/progress-indicator

Conversation

@BhakktiGautam

Copy link
Copy Markdown

📌 Closes Issue

Closes #328

🚀 Feature Description

Add real-time progress indicators for long-running PDF to PNG conversions using Server-Sent Events (SSE).

✨ What's New?

  • Real-time progress updates (0% → 100%)
  • Shows current page being processed
  • Elapsed time display
  • Animated progress bar
  • Auto-fallback to client-side if server unavailable

📁 Files Changed

  • backend/blueprints/progress.py (New)
  • backend/utils/progress_manager.py (New)
  • frontend/src/hooks/useSSE.js (New)
  • frontend/src/components/ProgressBar.jsx (New)
  • frontend/src/components/ProgressBar.css (New)
  • frontend/src/pages/PdfPng.jsx (Modified)
  • backend/main.py (Modified)

Ready for review! 🚀

- Add ProgressManager for tracking long-running tasks
- Add SSE endpoint for streaming progress updates
- Add useSSE custom hook for frontend
- Add ProgressBar component with animations
- Integrate with PDF to PNG conversion
- Add fallback to client-side conversion

Closes Durgeshwar-AI#328
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

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

A member of the Team first needs to authorize it.

@BhakktiGautam

Copy link
Copy Markdown
Author

@Durgeshwar-AI

Gentle follow-up on this PR (#337) for PDF Embedded Images Extractor (Closes #327).

✅ Feature complete
✅ No temp files (pure memory processing)
✅ Preview + ZIP download working

Requesting your review when you get a chance.

Thank you! 🙏

@Durgeshwar-AI

Copy link
Copy Markdown
Owner

@BhakktiGautam ok I am testing the pr but I am not able to see the progress bar. If possible can you please attach a screenshot or screen recording? And how it works?

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.

[Feature] Add real-time progress indicators for long-running conversions

2 participants