https://github.com/agentcooper/pdf2html-server
https://github.com/agentcooper/pdf2html-server
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/agentcooper/pdf2html-server
- Owner: agentcooper
- Created: 2016-08-04T14:40:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-10T10:01:41.000Z (almost 10 years ago)
- Last Synced: 2025-03-02T18:28:42.033Z (over 1 year ago)
- Topics: pdf
- Language: JavaScript
- Size: 855 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### pdf2html-server
Proof of concept: finding alternatives to [PDF.JS](https://mozilla.github.io/pdf.js/).
This repo contains:
- Server which provides PDF to HTML/CSS conversion (using [pdf2htmlex](https://github.com/coolwanglu/pdf2htmlEX))
- React components to communicate with the server and render the result
- Experimental selection rendering with React
#### Installation
```bash
brew install pdf2htmlex
npm install
```
#### Run
In different terminal tabs:
`npm run start-service` (backend)
and
`npm start` (frontend)
#### Credits
- `src/external/base.min.css` comes from [coolwanglu/pdf2htmlEX](https://github.com/coolwanglu/pdf2htmlEX)
- `src/external/rangefix.js` comes from [edg2s/rangefix](https://github.com/edg2s/rangefix)
- Example PDF is taken from http://elm-lang.org/papers/concurrent-frp.pdf