Submitty / Pdf Annotate.js
Licence: mit
Annotation layer for pdf.js
Stars: ✭ 49
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Pdf Annotate.js
Cv Boilerplate
Programmatic generation of high-quality CVs
Stars: ✭ 967 (+1873.47%)
Mutual labels: pdf
Node Prince
Node API for executing PrinceXML via prince(1) CLI
Stars: ✭ 42 (-14.29%)
Mutual labels: pdf
Owasp Masvs
The Mobile Application Security Verification Standard (MASVS) is a standard for mobile app security.
Stars: ✭ 1,030 (+2002.04%)
Mutual labels: pdf
Markdown2pdf
A simple library to convert markdown to pdf using Java
Stars: ✭ 41 (-16.33%)
Mutual labels: pdf
Naps2
Scan documents to PDF and other file types, as simply as possible.
Stars: ✭ 1,018 (+1977.55%)
Mutual labels: pdf
Webpdf.js
Foxit webpdf.js provides a world-class JavaScript library for viewing PDF files in web browsers.
Stars: ✭ 31 (-36.73%)
Mutual labels: pdf
Cv Template
An easy way to create HTML and PDF versions of your resume, and automatically host them on GitHub Pages.
Stars: ✭ 41 (-16.33%)
Mutual labels: pdf
Mybox
Easy tools of document, image, file, network, location, color, and media.
Stars: ✭ 45 (-8.16%)
Mutual labels: pdf
Mkdocs With Pdf
Generate a single PDF file from MkDocs repository.
Stars: ✭ 39 (-20.41%)
Mutual labels: pdf
Reportbro Lib
PDF and Excel report generation library. Reports can be designed with reportbro-designer, a javascript plugin.
Stars: ✭ 43 (-12.24%)
Mutual labels: pdf
Mobius
Scripts to extract data from the COVID-19 Google Community Mobility Reports
Stars: ✭ 47 (-4.08%)
Mutual labels: pdf
Html2pdfrenderer
Take any HTML loaded in WKWebView and make PDF out of it.
Stars: ✭ 44 (-10.2%)
Mutual labels: pdf
pdf-annotate.js
Annotation layer for PDF.js.
Combined fork of archived instructure/pdf-annotate.js and deleted DynamicEnvironmentSystems/pdf-annotate.js. Under active development for usage within Submitty.
To report issues for pdf-annotate.js, please file them under the Submitty/Submitty repository.
Objectives
- Provide a low level annotation layer for PDF.js.
- Optional high level UI for managing annotations.
- Agnostic of backend, just supply your own
StoreAdapter
to fetch/store data. - Prescribe annotation format.
Example
import pdfjsLib from 'pdfjs-dist/build/pdf';
import PDFJSAnnotate from 'pdfjs-annotate';
const { UI } = PDFJSAnnotate;
const VIEWER = document.getElementById('viewer');
const RENDER_OPTIONS = {
documentId: 'MyPDF.pdf',
pdfDocument: null,
scale: 1,
rotate: 0
};
pdfjsLib.workerSrc = 'pdf.worker.js';
PDFJSAnnotate.setStoreAdapter(PDFJSAnnotate.LocalStoreAdapter);
pdfjsLib.getDocument(RENDER_OPTIONS.documentId).promise.then((pdf) => {
RENDER_OPTIONS.pdfDocument = pdf;
VIEWER.appendChild(UI.createPage(1));
UI.renderPage(1, RENDER_OPTIONS);
});
See /web for an example web client for annotating PDFs.
Documentation
Developing
# clone the repo
$ git clone https://github.com/Submitty/pdf-annotate.js.git
$ cd pdf-annotate.js
# intall dependencies
$ npm install
# start example server
$ npm start
$ open http://127.0.0.1:8080
# run tests
$ npm test
# lint the code
$ npm run lint
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].