shizukuichi / pdf-editor Goto Github PK
View Code? Open in Web Editor NEWOffline PDF editor. Add images, signatures, text to PDF in your browser. π
Home Page: https://pdf-editor.now.sh
License: MIT License
Offline PDF editor. Add images, signatures, text to PDF in your browser. π
Home Page: https://pdf-editor.now.sh
License: MIT License
A very nice project, well done! One problem that I saw is that for some PDF files, the added elements are mis-placed. It looks as if they're rotated by 90 degrees.
Here's an example for such a file:
example-vertical-bug.pdf
Can I use this as a library?
I was hoping this had the possibility to redact sensitive information
I tried using the freetext to create a black block, but it was too hard to place it over the sensitive information because the scale was locked to it's scaling proportions
This editor is awsome! I have tried to run the index.html in the browser directly but it seems cannot work. May I know how to build it from the source?
I hope they add Arial or Calibri fonts as well as white color in draw feature. Like applying white color to hide corrections, etc.
Nothing really happens here anymore.
@ShizukuIchi @realdennis maybe you would like to add another collaborator/maintainer for this project?
when i type
npm i
npm run dev
i get
[!] Error: Package subpath './compiler.js' is not defined by "exports" in C:\Project\pdf-editor\node_modules\svelte\package.json
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './compiler.js' is not defined by "exports" in C:\Project\pdf-editor\node_modules\svelte\package.json
at throwExportsNotFound (internal/modules/esm/resolve.js:299:9)
at packageExportsResolve (internal/modules/esm/resolve.js:522:3)
at resolveExports (internal/modules/cjs/loader.js:449:36)
at Function.Module._findPath (internal/modules/cjs/loader.js:489:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:875:27)
at Function.Module._load (internal/modules/cjs/loader.js:745:27)
at Module.require (internal/modules/cjs/loader.js:961:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.<anonymous> (C:\Project\pdf-editor\node_modules\rollup-plugin-svelte\index.js:11:4)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `rollup -c -w`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\kevin\AppData\Roaming\npm-cache\_logs\2021-12-14T03_00_51_014Z-debug.log
Failed to add pdf.
app.component.ts:37 TypeError: Cannot read property 'getDocument' of undefined
at readAsPDF (asyncReader.js:38)
I am getting this on console
here is complete code
https://github.com/princ09/PdfEditor
I would like to just:
So I basically have a standard PDF people have to sign. Not I need a processor which can paste the signature on a coordinate (x, y) in the PDF and before this let people sign online.
Is this possible with this tool?
Best regards
Why page is blank?
Great tool, thank you for your effort.
One basic operation that is missing, in addition to adding images, text and free shapes, is a rectangle. I'm thinking about using this project, and one of my use cases is letting users mask personal information from a document. Adding a black rectangle would be a good solution for that.
The application is encountering an "Uncaught Error: Cannot find module '../utils/common'" when trying to execute the makeTextPDF.js file. This error suggests that the makeTextPDF.js file is unable to locate the ../utils/common module, which it likely depends on.
Steps to Reproduce:
Run the application that includes the makeTextPDF.js file.
Observe the "Uncaught Error: Cannot find module '../utils/common'" error in the console or logs.
Expected Behavior:
The makeTextPDF.js file should be able to successfully locate and import the necessary ../utils/common module to execute its functionality.
Actual Behavior:
The application is unable to execute the makeTextPDF.js file due to the inability to find the ../utils/common module.
Environment:
Operating System: macOS
Node.js version: 18
Additional information
I'm placing myself over the variable utils and clicking f12 in vscode to locate the file, but is not there.
hi gays
πππ
just to thank you for this amazing app. saved my life.
πππ
Hello and congratulations, I try to fill out a form with Hebrew and when you save the form everything gets messed up :(
For example, try inserting the following words and saving the file: "Χ©ΧΧΧ ΧΧΧ¨ΧΧ".
Thank you.
I cannot build the dev version. Can anyone help me build the dev version?
How to make the image resize scale in fixed ratio just like the free hand draw?
how to install in local with laragon ?
without localhost:5000 ? thank you
I have setup this dependency on a VPS server.
Run the following commands :
git clone
inside pdf-editor
> npm install
> npm run build
> npm run start
After npm start, this is the response :
Your application is ready~! π
- Local: http://localhost:5000
ββββββββββββββββββ LOGS ββββββββββββββββββ
My first question is why there is localhost in place of domain name?
Second this is not working, why?
---------------- Update
I've been trying to change the host from 'localhost' to 'myDomain' from the following file:
Line 57 in f3aea5c
But seems like changing here doesn't effect anything.
Any help?
When using the font "ζ¨ζ₯·ι«", the simplified Chinese text is wrong
ζδΉδΈθ½θ£εͺ
Hey @ShizukuIchi I love this small Tool :) to edit and sign some exist PDF files, but sometimes my added Text is missing after saving the PDF, so I have to reopen and readded it and this helps to finish my progress. ππ»
I use your Tool after a Reverse Proxy with NGINX but seems not the problem because Tool/Code is clientside only and the used Browser is Firefox latest stable for me.... so I havn't any idea why sometimes the Text is missing. ^^
how to open pdf from url with cors configuration ?
Hello,
How can I install your script in centos7?
Can you develop a similar effect to this product based on this? https://www.geekersoft.com/geekersoft-pdf-editor.html
Can I sign PDFs with a digital certificate directly in the browser and send them to the server?
haii, i try to running at local but i get error 403 Forbidden, how to fix this issue?
better to point at the location of the signature on the place i want instead of dragging it through all pages.
also it's better to enable dragging the signature cross pages. because in this solution it's only enable drag inside one page
I had two issues when trying to use this tool on a multi page document:
I tested this on Firefox 100.0
Besides that, thanks a lot for this great tool!
Is there any way we can replace text/ create a template and prefill it and geneate this pdf from background
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.