1) I had very similar idea, How are you planning to monetize it ?
2) 10 years back I made a similar site using manuals online.com,
3) did you look at react-pdf ?
is it possible for us to talk ? @bitgur ?
I have done very similar things and i am not sure if its really worth the effort.
make sure u use nextjs ( static rendering ) and cloud-flare to at-least make things, fast and useable.
Also, go mobile first on day 1, as google is moving to mobile 1st to rank web users,