Convert your PDFs into interactive flipbooks using the Pdf flipbook converter powered by turnjs and pdfjs libraries.
-
Node.js and npm:
- Make sure you have Node.js and npm installed. You can download them from here.
-
Install http-server:
- Open your terminal and run the following command to install
http-server
globally:npm install -g http-server
- Open your terminal and run the following command to install
-
Navigate to Your Project Directory:
- Open the terminal and go to the directory where your index.html, CSS, and JS files are located:
cd /path/to/your/project
- Open the terminal and go to the directory where your index.html, CSS, and JS files are located:
-
Start http-server:
- Run the following command to start the server:
http-server
- The server will provide you with a URL (e.g., http://127.0.0.1:8080) where your project is being served.
- Run the following command to start the server:
-
Access Your Project:
- Open your web browser and navigate to the provided URL.
-
Stop http-server:
- To stop the server, go back to the terminal where it is running and press
Ctrl+C
.
- To stop the server, go back to the terminal where it is running and press
to define the src, open pdfjs/viewer.js and change to line 30.
var DEFAULT_URL = "compressed.tracemonkey-pldi-09.pdf";