Projects

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

Source code

https://github.com/ancreat/pdf-to-txt

Trending Tags