1.0.3 • Published 4 years ago

thumbnail-creator-pdf v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

PDF-Thumbnail-Creator

NPM package for creating thumbnails for uploaded files(PDFs).

As you might have observed, when a file is uploaded to Google Drive, it is shown in the form of a thumbnail. So in this project we will at first create the thumbnail for any uploaded pdf and then convert that node server to a NPM package.

Guidelines

  • Clone the repo and run the node server, replacing the file source in the app.js file.

  • Currently the project containes code which extract the first page of the pdf into an array buffer.

  • You can either continue to work on the same code or you can suggest a totally different approach to achieve the same.

  • Work on building a node server. Converting it into a package is not so complex.

System requirements:

  • Make sure node version 12 or higher is installed on your system.

  • Make sure yarn version 1.19.1 or higher is installed on your system.

How to Contribute

Note 1: If you've never made a pull request before, or participated in an open-source project, we recommend taking a look at this wonderful video tutorial. And if you want a more complete tutorial on using github, creating branches etc. , here's a detailed video series.Once you've got your feet wet, you're ready to come back and dive into Hacktoberfest fun!

Note 2: Super Important Only the pull requests created between October 1st, 2020 and October 31st, 2020 will be counted!

  1. Star this repository. :stuck_out_tongue:

  2. And then you have to fork (make a copy) of this repo to your Github account.

  3. Clone (download) your fork to your computer.

  4. Set your streams so you can sync your clone with the original repo (get the latest updates)

  5. Create a branch with your name (for e.g: if your name is John Wick, create a branch named John_Wick).

  6. Make the changes in your branch.

  7. Commit and push the code to YOUR fork.

  8. Create a pull request to have the changes merged into the origin.