Libraries that required their members to pay fees did in fact exist historically. It's how many libraries in the US got started. They were private enterprises meant to make money (or at least be self-sustaining non-profits relying on a mix of donations and fees), not government-run projects.
Libraries are an obvious workaround for the western copyright system[1]. Because this system lets us share existing book copies without the permission of the author, but doesn't allow us to print new ones for free even when the capability exists, the obvious way to make books cheaper is to serially share them across many readers and have each pay the fraction of the price. This is essentially what these libraries did, with fees as a stand-in for the price sharing that simplified their operation.
[1] Yes, I'm aware that copyright isn't exactly necessary for libraries to exist; high printing costs would do it too. I do think that they would be entirely unnecessary and almost extinct (in well-functioning 21st-century democracies) if not for copyright, given our printing costs.
Any pointers? Been looking for these elsewheres.
Public libraries were invented in 1830s, and a few existed (notably Boston's), but the proliferation of tax-supported public libraries is entirely a capitalist scheme, implemented privately by Andrew Carnegie, a steelmaking magnate.
Fire departments are 100% socialist. That does not change depending on who supports or opposes them.
Carnegie was an interesting character. Certainly a capitalist as a person, but his support of tax-funded libraries does not transform public libraries into capitalist institutions.
But there are good examples of technology for public benefit, and the more I pay attention, I see people are making efforts in various corners, not just in technology but a variety of social activism on collective and personal level.
The Internet, the web, and personal computers were miraculous for that historical period, it liberated the creative energy of following generations. The accelerating enshittification of our present time has managed to capture a lot of that value and cultural relevance, but the cutting edge has moved on elsewhere to find fresh expression.
That is to say, I believe there is hope as long as people continue to engage with meaningful projects creating value for the commons, and even the toxic atmosphere of global exploitation may turn out to be the wake-up call and challenge to humanity to manifest social changes, including socially beneficial technological innovations, for a better future.