项目
在 GitHub 查看
erayakartuna/pdf-flipbook
关于
像翻书一样浏览 PDF 文档
效率与自动化实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文PDF Flipbook
Convert your PDFs into interactive flipbooks using the Pdf flipbook converter powered by turnjs and pdfjs libraries.
Installation
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-serverglobally:npm install -g http-server
- Open your terminal and run the following command to install
Usage
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
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";
探索相关项目
加载中…