Coder Social home page Coder Social logo

mastersatish / pdf-flipbooks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erayakartuna/pdf-flipbook

0.0 0.0 0.0 2.23 MB

Browse PDF document like a book turning its pages

License: MIT License

JavaScript 5.92% Java 83.34% CSS 7.59% HTML 3.15%

pdf-flipbooks's Introduction

PDF Flipbook

Convert your PDFs into interactive flipbooks using the Pdf flipbook converter powered by turnjs and pdfjs libraries.

Installation

  1. Node.js and npm:

    • Make sure you have Node.js and npm installed. You can download them from here.
  2. Install http-server:

    • Open your terminal and run the following command to install http-server globally:
      npm install -g http-server

Usage

  1. 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
  2. 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.
  3. Access Your Project:

    • Open your web browser and navigate to the provided URL.
  4. Stop http-server:

    • To stop the server, go back to the terminal where it is running and press Ctrl+C.

Source File

Define PDF Src

to define the src, open pdfjs/viewer.js and change to line 30.

var DEFAULT_URL =  "compressed.tracemonkey-pldi-09.pdf";

pdf-flipbooks's People

Contributors

erayakartuna avatar raowaqasakram avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.