Projects
Project: PDF-To-TXT Converter
A modern web application that converts PDF files to text format with batch processing capabilities.
π Demo
Try it out: Live Demo
β¨ Key Features
- π Single/Batch PDF text extraction
- π Copy extracted text to clipboard
- πΎ Download text as
.txt
files - π Process history tracking
- π Light/Dark theme support
- π± Responsive design
- π Real-time progress tracking
Tech Stack
- React.js
- Next.js
- TypeScript
- Tailwind CSS
- Zustand for state management
- HeroUI for UI components
- Vitest for component testing
- Cypress for end-to-end testing
ποΈ Source Code Structure
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
src/
βββ app/ # Next.js pages and layouts
β βββ result/
β βββ page.test.tsx # Vitest example
β
βββ components/ # Reusable UI components
β
βββ hooks/ # Custom React hooks
β βββ useFileProcessing.ts # PDF processing logic
β
βββ store/ # Zustand for state management
β βββ file-history-store.ts # Manages the state of processed file history
β
βββ utils/ # Utility functions
βββ file-utils.ts
cypress/
βββ e2e/ # End-to-end tests
βββ *.cy.ts