I just came across this amazing website:

Created by the Institute of Historical Research and the History of Parliament Trust, British History Online is a digital library containing some of the core printed primary and secondary sources for the medieval and modern history of the British Isles.

A lot of free resources and a full-text search of all the sources in the website!