

Flipbook PDF Viewer with AI SummaryFlipbook PDF Viewer with AI Summary
Realistic flipbook viewer with animated PDF pages and built-in AI summarization using HuggingFace.
Flipbook PDF Viewer with AI Summary
Realistic flipbook viewer with animated PDF pages and built-in AI summarization using HuggingFace.
Overview
Flipbook PDF Viewer with AI Summary is a modern, responsive HTML/CSS/JavaScript plugin that displays PDF files like a realistic book with page-flip animations. It also integrates an AI-powered summarization tool using Hugging Face's BART model through a PHP backend.
This viewer is perfect for digital magazines, books, reports, or documentation. It works entirely in-browser and allows users to upload their own PDFs and generate summaries of selected text live demo https://hamzadevepic.infy.uk/i...
---
✔️ Features:
- Animated PDF page flip like a real book
- First page shows as a single cover, then double pages
- Built-in AI text summarization via Hugging Face (PHP)
- Optional API key field (or use default token)
- Mobile responsive and lightweight
- Zoom in/out with buttons
- Easy integration in any web project
- Clean code, easy customization
---
📦 What’s included:
- HTML/CSS/JS files for viewer
- PHP file for AI summarization
- Readme documentation
- Demo with working summary
---
⚠️ Note:
The PHP file (`local_summarize.php`) includes a default token. Users can replace it with their own Hugging Face token if needed.
Features
- Realistic flipbook animation for PDFs
- Starts with single page cover, then shows two-page spreads
- Built-in AI summarizer using Hugging Face BART model
- Optional Hugging Face token support
- Zoom in/out feature with controls
- Responsive layout, works on all modern browsers
- No database required
Requirements
- Any PHP-enabled web host (InfinityFree, Hostinger, etc.)
- Hugging Face API key (free to get)
- Modern browser (Chrome, Firefox, Edge)
Instructions
- Upload the entire project to your PHP web host
- Edit
local_summarize.php
to add your Hugging Face token (optional) - Open
index.html
to start using the viewer - Select text and click "Summarize" to get an AI summary
Category | Scripts & Code / JavaScript / Miscellaneous |
First release | 14 July 2025 |
Last update | 14 July 2025 |
Files included | .php, .css, .html, Javascript .js |
Tags | css3, html5, Javascript, ebook, php backend, flipbook, pdf viewer, document reader, ai summary, huggingface, animated flip, page turn |