jzillmann / pdf-to-markdown

A PDF to Markdown converter
https://pdf2md.morethan.io
MIT License
1.14k stars 184 forks source link

Added opening PDFs from URL #27

Closed darkcheftar closed 3 years ago

darkcheftar commented 3 years ago

Addressing #25 I used cors-anywhere and hosted it at Heroku at This Proxy link following This tutorial. And taking the URL to be opened using prompt and opening the URL using the above proxy. Taking link using prompt: image Opening pdf: image

darkcheftar commented 3 years ago

I cleared the minor inconveniences

jzillmann commented 3 years ago

Ok, I was curious about the large changes of package-lock.json and played a bit with it and run in trouble. Seems like the newest version of pdfjs broke something with the worker setup so I pinned all production libs for now!

jzillmann commented 3 years ago

Merged, thanks for digging in!

darkcheftar commented 3 years ago

Ok, I was curious about the large changes of package-lock.json and played a bit with it and run in trouble. Seems like the newest version of pdfjs broke something with the worker setup so I pinned all production libs for now!

I didn't noticed that. Can I do something about it? Any suggestions?

jzillmann commented 3 years ago

👆 if you want you could investigate. Just upgrade to the latest pdfjs and see if it works.

darkcheftar commented 3 years ago

👆 if you want you could investigate. Just upgrade to the latest pdfjs and see if it works.

sure, I take a look into it sire.

darkcheftar commented 3 years ago

👆 if you want you could investigate. Just upgrade to the latest pdfjs and see if it works.

sire @jzillmann , actually I wanted to do this but I didn't understood what to do exactly. do I just need to update pdfjs or do I need to run npm update or something. could you please explain what to do in detail if possible?

jzillmann commented 3 years ago

So since this is totally different issue I created #28 for it! I put more details into it. If somethings missing, let me know!

darkcheftar commented 3 years ago

So since this is totally different issue I created #28 for it! I put more details into it. If somethings missing, let me know!

sure, sire