Is there software, ideally open source that will allow me to visualise a pdf in a web browser and interact with the text?

I want to be able to have a list of words and highlight them in the browser.

The icing on the cake would be if I could also save the 'marked up' pdf.

I wish to have full control over the code and be able to modify or enhance it to suit my requirements.