A web application that allows users to selectively remove vector graphics from PDF files while preserving text and links.
- Upload PDF files
- Preview PDF pages with vector graphics highlighted
- Select/deselect vector graphics to keep or remove
- Download modified PDF with selected changes
- Preserves text content and hyperlinks
- Temporary file storage (files are automatically deleted after 60 seconds)
- Next.js 13+ with App Router
- TypeScript
- Tailwind CSS
- Docker containerization
- FastAPI (Python)
- PyMuPDF for PDF processing
- MongoDB for temporary file storage
- Docker containerization
- Clone the repository
- Create a
.env
file in the root directory using.env.example
as a template - Start the application using Docker Compose
docker compose up --build
- Access the application
- Frontend: http://localhost/
- Backend API: http://localhost:3000/docs
- MongoDB: mongodb://localhost:27017
cd frontend
npm install
npm run dev
cd backend
pip install -r requirements.txt
uvicorn main:app --reload --port 3000