Git Product home page Git Product logo

files_pdfviewer's Introduction

files_pdfviewer

This application integrates the PDF.js library into Nextcloud's Viewer. You can view PDF files as well as Adobe Illustrator files (.ai)

๐Ÿ— Development setup

  1. โ˜ Clone this app into the apps folder of your Nextcloud: git clone https://github.com/nextcloud/files_pdfviewer.git
  2. โ˜ Clone the viewer app into the apps folder of your Nextcloud: git clone https://github.com/nextcloud/viewer.git
  3. ๐Ÿ‘ฉโ€๐Ÿ’ป In the folder of the files_pdfviewer app, run the command npm ci && npm run dev to install dependencies and build the Javascript.
  4. โœ… Enable the app through the app management of your Nextcloud (viewer should be enabled by default)
  5. ๐ŸŽ‰ Partytime! Help fix some issues and review pull requests ๐Ÿ‘

๐Ÿง™ Advanced development stuff

To build the Javascript whenever you make changes, you can also use npm run build. Or npm run watch to automatically rebuild on every file save.

You run all tests by using make test.

๐Ÿ“ฆ Update pdf.js

When a new release of pdf.js is available on https://github.com/mozilla/pdf.js/releases, update the version number on https://github.com/nextcloud/files_pdfviewer/blob/master/pdfjs-get.js#L8 and compile the app again.

โ™ฅ How to create a pull request

This guide will help you get started:

โœŒ Code of conduct

The Nextcloud community has core values that are shared between all members during conferences, hackweeks and on all interactions in online platforms including Github and forums. If you contribute, participate or interact with this community, please respect our shared values. ๐Ÿ˜Œ

files_pdfviewer's People

Contributors

andreasjacobsen93 avatar bartv2 avatar brenard avatar butonic avatar christophwurst avatar danxuliu avatar deepdiver1975 avatar dependabot-preview[bot] avatar dependabot[bot] avatar djcrashdummy avatar georgehrke avatar grigorii-horos avatar henni avatar hirschrobert avatar icewind1991 avatar jancborchardt avatar juliushaertl avatar kesselb avatar lukasreschke avatar mariusbluem avatar morrisjobke avatar nextcloud-bot avatar nickvergessen avatar przybylski avatar pvince81 avatar rullzer avatar schiessle avatar skjnldsv avatar szaimen avatar tanghus avatar

Watchers

 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.