Flask, PyMuPDF, Groq, and a lot of jugaad engineering
Every student has been there. It's 11 PM. You need to compress a PDF before submitting it, convert a JPEG to PDF for a form, or quickly summarize a 40-page document before an exam. You open some sketchy website, it watermarks your file, asks you to pay, and uploads your documents to who-knows-where.
I got tired of it. So I built my own.
DocFlask is an all-in-one document toolkit built with Flask. It handles PDF merging, splitting, conversion, compression, image conversion, and even AI-powered summarization and quiz generation — all for free, hosted on the internet for other broke students.
Here's the honest story of how it got built, the problems I ran into, and the "good enough" solutions I used to ship it anyway.
What It Does
Before the war stories, here's the feature set:
Merge & Split PDFs — combine multiple PDFs or split by page ranges
Convert — PDF ↔ DOCX and DOCX ↔ PDF
Compress — reduce file size for both PDFs and DOCX files
AI Summarize…