Phoenix LiveView pdf viewer

Hey All,

Building a Phoenix LiveView app that allows you to upload a file (currently only markdown supported) and advance through the pages one at a time, and I would like it to support pdf files. I have been looking for a package that can do this, but I can’t find one.

I’d love to be able to provide a pdf, and a page number and render that page of the pdf in my LiveView page.

Is there anything out there like this for Elixir/Phoenix?

1 Like

You will need hooks and pdf.js, or no hooks but an iframe.

1 Like

You probably won’t find an existing solution but it should be easy to build one yourself:

1 Like