Skip to content

🧾 Turn any PDF into a realistic, interactive flipbook using React, Vite & TypeScript – with smooth animations and sound effects

Notifications You must be signed in to change notification settings

Shaswatchoudhary/page

Repository files navigation

πŸ“– FlipReader

FlipReader is a sleek frontend web application that transforms your PDF files into an interactive, book-style flipbook reader. Built using React, Vite, and TypeScript, it offers a fast, smooth, and realistic reading experience β€” complete with page-flipping animations and sound effects.

✨ Features

  • πŸ“„ Upload any PDF file
  • πŸ“˜ Converts PDF pages into a flipbook-style reader
  • πŸ”Š Realistic page-flipping sound effects
  • ⚑ Built with React + Vite + TypeScript for performance and scalability
  • 🎨 Clean and responsive user interface

πŸ› οΈ Tech Stack

πŸ“‚ Project Structure

flipreader/
β”œβ”€β”€ public/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   └── Flipbook.tsx
β”‚   β”œβ”€β”€ utils/
β”‚   β”‚   └── pdfToImages.ts
β”‚   β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ App.tsx
β”‚   └── main.tsx
β”œβ”€β”€ index.html
β”œβ”€β”€ tsconfig.json
β”œβ”€β”€ package.json
└── vite.config.ts

πŸš€ Getting Started

1. Clone the repository

git clone https://github.com/your-username/flipreader.git
cd flipreader

2. Install dependencies

npm install

3. Start the development server

npm run dev

4. Build for production

npm run build

🎬 Demo / Preview

(Insert your preview image or GIF below)
FlipReader Preview

🧠 How It Works

  1. User uploads a PDF file.
  2. FlipReader converts each page into a canvas or image using PDF.js.
  3. Pages are rendered inside a flipbook UI with animation and optional sounds.
  4. Enjoy flipping through your PDF like a real book!

πŸ’‘ Future Enhancements

  • Add mobile swipe gestures
  • Save reading progress
  • Theme customization (dark/light mode)
  • Bookmark/favorite pages

🀝 Contributing

Pull requests and suggestions are welcome! If you find a bug or have an idea, feel free to open an issue.

πŸ“„ License

Released under the MIT License.


Crafted with ❀️ using React + TypeScript β€” by Shaswat Choudhary & Ubed Moumin

About

🧾 Turn any PDF into a realistic, interactive flipbook using React, Vite & TypeScript – with smooth animations and sound effects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages