Most library websites allow you to request books for pickup. They'll do the work of finding it for you, and put it in a designated area for pickup.
If they don't have the book, you can donate a copy or request that they buy it.
I think @jimmysong donated a bunch of copies of Programming Bitcoin to the Austin Library because they have like 5. It might just also be that frequently requested ... when I was looking for a copy they were all checked out.
For the record, I did not donate any copies to any libraries. I didn't even know they were available there!
reply