The Library of Congress has put materials online for a number of years. American Memory was the first I became aware of:
https://memory.loc.gov/ammem/index.html
According to Wikipedia, it began in 1994.