Depending on your technical know how, a personal cloud storage solution like nextcloud or own cloud might be a good option. I run nextcloud in a docker container with the storage mounted in my home directory and it lets me easily search, organize, and store hundreds of Ttrpg PDFs and I can give players access to books when needed.