Borges imagined a library holding every possible book: 25 symbols Γ 410 pages Γ 40 lines Γ 80 glyphs. Ours are larger β 262144 pages (4321) of 40 lines Γ 80 glyphs β with an alphabet of 95 glyphs: the printable base-ASCII characters. So this library holds 95838,860,800 β 5.1Γ101,659,034,805 books, shelved fifty to a shelf, six shelves to a wall, four walls to a gallery, and so on up through corridors, wings, buildings, campuses, libraries, and organisations.
The trick is the catalog number. Every book opens with a unique line, and a book's number is that opening line written as a base-95 integer. So whatever you type, there is exactly one book whose first line is your string β search it, and the shelves give it up. A linebreak is not a glyph of the library: type \n to start a new line, and the rest of the 80-glyph line is filled with spaces β every page stays a solid block of text. Everything after the opening is deterministic gibberish seeded by the book and page, so a book is always identical on a second visit. Copy a babel:// location and paste it back to reopen the same shelf β the catalog number in it is obfuscated, so a copied location doesn't shout its number.