jhubert

u/jhubert


r/rails•

I'm working on a project that needs PDF viewing and the ability to add annotations. I tried using all of the available open source gems I could find but found them all pretty clunky and hard to use / modify.

PDF.js was the best open source viewer available, but they don't want you using their viewer and they ask you to write your own.

I ended up paying for PDF.js Express ($699 / month) and then got into a conversation with the company that bought that company where they were trying to sell me a PDF viewer with limited views for thousands of dollars a year.

I got fed up and over the holiday break I decided to just write my ideal PDF viewer using Stimulus, PDF.js, and pdf-lib. Claude Opus 4

5413



You've reached the end of this feed.