https://github.com/azu/mu-pdf-viewer
PDF viewer on electron.
https://github.com/azu/mu-pdf-viewer
electron pdf viewer
Last synced: about 1 year ago
JSON representation
PDF viewer on electron.
- Host: GitHub
- URL: https://github.com/azu/mu-pdf-viewer
- Owner: azu
- License: mit
- Created: 2016-08-21T06:34:57.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-10-09T07:17:08.000Z (over 2 years ago)
- Last Synced: 2025-05-06T22:44:34.833Z (about 1 year ago)
- Topics: electron, pdf, viewer
- Language: JavaScript
- Homepage:
- Size: 6.59 MB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mu-pdf-viewer [](https://travis-ci.org/azu/mu-pdf-viewer)
PDF viewer on electron
## Features
- [PDF.js](https://github.com/mozilla/pdf.js "PDF.js") based
- [Frequently Asked Questions · mozilla/pdf.js Wiki](https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions "Frequently Asked Questions · mozilla/pdf.js Wiki")
- Improve scroll by J, K
- Drag and Drop support
- Ctrl + Shift + C: Copy current page and text

## Install
Install with [npm](https://www.npmjs.com/):
npm install mu-pdf-viewer -g
## Usage
### CLI
Open app with pdf file.
$ mu-pdf-viewer
### App
Download binary from latest release
- https://github.com/azu/mu-pdf-viewer/releases/latest
Build by yourself
yarn dist
## Architecture
- Apply keyboard patch for public/pdfjs
- Use old pdfjs version for `file://`
## Development
Watch change and launch app.
npm start
## Changelog
See [Releases page](https://github.com/azu/mu-pdf-viewer/releases).
## Running tests
Install devDependencies and Run `npm test`:
npm i -d && npm test
## Contributing
Pull requests and stars are always welcome.
For bugs and feature requests, [please create an issue](https://github.com/azu/mu-pdf-viewer/issues).
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## Author
- [github/azu](https://github.com/azu)
- [twitter/azu_re](https://twitter.com/azu_re)
## License
MIT © azu