In support of Z-Library

Z-Library has been taken down by the feds.

It’s been a while since I’ve written here, and it is with great sadness that I return, not with yet another long-form narrative at the intersection of science, art, and obscure memes, or a diss of Facebook losing millions, but with a desire to report on something I have recently discovered, to spread the word to like-minded people, and to add my voice to everyone else’s in this movement: the movement of Open Access to Knowlegde.

The section what’s up has links to open library websites which are still online and working, if that’s what you came here for.

Caution: Sharing copyrighted written material is illegal. Whatever you do, DO NOT use the websites I link, DO NOT read this article, and DO NOT listen to me.


Z-library has been taken down by the feds.

This all started when I hit one of my browser key combinations to do a search for a physics textbook not in my university’s library, only to see the dreaded badge:

Since the beginning of this month (Nov 2022), many Z-Library domains were seized by the U.S. Department of Justice and FBI. And yesterday, November 16, U.S. Attorneys charged two Russians for operating the site.

About Z-library

If you don’t know about Library Genesis, or its most popular mirror today, Z-library, hopefully it is not too late to be introduced to it now. It is a shadow library, the largest open digital library in the world, since, unlike the Internet Archive or Project Gutenberg, it also contains titles that are protected by copyright or owned by publishers, most importantly recent titles, especially relevant in academia and journalism.

It has a great history too, linked to the samizdat culture in the Soviet Union, which consisted in illegal underground networks of homebrewn publishing and information sharing. These people didn’t have access to printers or typewriters without official registration, and would go through great risks to find, hide, and share these banned books, these censored ideas. An archive which was later to become LibGen/ZLib started as an expression of this culture on RuNet, the early 90s Russian internet.

When LibGen was first taken down, people created a new mirror in the form of Z-Library. Versions of LibGen are still available, as well as other open access platforms like SciHub, the latter being started in particular to combat predatory academic publishers.

Lumped in with torrent websites, these sites have accumulated bad rep in the public forum, but regardless of the attempts to shut them down (which have been successful in the case of many torrent hubs, music and film sharing sites etc), they are still going strong, allowing millions of people all around the world to learn for free.

Well, a few Mickey Mouses later (or a few Elseviers later, depending on your favourite unit of copyright opression), we find ourselves with yet another cease-and-desist against an open library, and, even worse, with two of the people who started the site arrested less than 10 hours ago in Argentina, at the request of the FBI.

If you do know what Z-Library is, and have been using it without VPN or (well-configured) Tor, don't worry. In most countries, distribution of copyrighted content is what is illegal, and not its use. Moreover, ZLib has millions of users, and it would be unfeasible for the FBI to go after every user. Even if you're a donor (like me), in their view, we are victims - for giving our money to these thieving Russians. So even though you may lose sleep over another defeat in the war for internet freedom, I hope you don't lose sleep over them coming after you.


Investigation

And now, a classic internet investigation. Let’s see how we can use free tools to query the internet infrastructure about what happened, but also to check which aliases and mirrors of the sites that are left (if any) are actually good to use.

The tools I refer to are terminal utilities whois, nslookup and host, for looking at DNS records and autonomous systems mostly, as well as some IP geolocation online. Online alternatives exist for each tool: who.is, nslookup.io, as well as the oldskool website network-tools.com.

But first, let’s see what happened to the domains, and if there is any left, and any IP address where we can still find the site.

The results shown below are the same for all the defunkt sites, z-lib.org, b-ok.cc, booksc.org, 3lib.net, and b-ok.org.

$ whois z-lib.org | grep -i 'name server'
    Name Server: NS1.SEIZEDSERVERS.COM
    Name Server: NS2.SEIZEDSERVERS.COM
Name Server: ns1.seizedservers.com
Name Server: ns2.seizedservers.com

$ host z-lib.org
z-lib.org has address 66.212.148.115
Host z-lib.org not found: 2(SERVFAIL)
Host z-lib.org not found: 2(SERVFAIL)

All the domains now point at the IP address 66.212.148.115, wich has been used before to shut down sites (https://for example, see this article about the seizure of torrent-finder.com in 2010)

But there is one official Z-Library domain I didn’t see in the news: singlelogin.me, the webpage for logging in to various ZLib mirrors and aliases, is still up and going, with the homepage urging users to use Tor or I2P.

Z-Library website is currently available only in Tor and I2P network. You can find out more and download Tor or I2P browser.

There are two sites mentioned in online discussions, zlib.ink and 1lib.ink, but as they are more similar LibGen instances than to ZLib they will be discussed in its dedicated section.

You may stumble online over libcats.org, but unfortunately it looks like is only an index without any of the books.

Unfortunately, the Z-Library Telegram bot was already shut down.


What’s up?

Below is a list of online libraries with working aliases and mirrors, all checked by me today.

Unsponsored Ad: If you live in a place without freedom of speech, of if you are worried that your government or university may be cracking down on illegal downloads, you should use a VPN. Mullvad VPN are amazing. They use the newer, seamless, Wireguard VPN protocol, so it won't fail when you change network, you won't even notice it's on. It's the best VPN for privacy asking for 0 contact information, it's open source, it's 5 euro a month for 5 devices, and you can pay in Bitcoin or even cash by sending them an envelope with money in it.


Z-Library

The only official clearnet ZLib site online is singlelogin.me which links to Tor and I2P instances.

I won’t link the sites because they should not be accessed via clearnet. Before using any of these sites, please inform yourself about Tor or I2P.

Sometimes clones of ebook sites are used by malicious actors. For example, they may invite you to install browser extensions, or to download Tor or I2P browser from an unofficial source. It's likely that this takedown of ZLib may cause a lot of these sites to mushroom so be careful and only use verified links. Similarly, some people are sending around Android APKs to install ZLib. Do not install any unofficial unverified app on your phone or program on your computer! It is likely malware or Trojan.

Also do not use z-lib.is, it’s broken and it asks you to download a browser extension.

UPDATES (22/11/22)

A glorious community member published a flow chart for how to access Z-Library via I2P and Tor, which I reproduce here:

Note that the Tor version was down recently, causing lots of distress in the community, but the I2P version was available all day yesterday, so if the Tor one fails for you, use the other.


Library Genesis

Established 2008, LibGen is the library ZLib spawned from, and it is still online and a great alternative to ZLib. It has a non-fiction library, a fiction library, and a scientific articles and magazine library, as well as a very thorough advanced search engine that accepts title, author, ISBN, DOI etc. Albeit some books from Z-Library are missing in LibGen, fortunately, in the last couple of years the community have been working assiduously on using the epically-named Interplanetary File System, a distributed means of information storage, to preserve their catalogue. Hopefully this will make the library more resilient to takedowns, and their catalogue will only grow from here.

Official mirrors:

  • gen.lib.rus.ec, and alias www.ec.library.bz. Been using this site since I was, don’t know, in middle school, and it still works.
  • libgen.rs, with aliases libgen.is and libgen.st, which are all hosted on what appears to be a Ukrainian IP. Thanks Ukraine!
  • listed on the subreddit is also libgen.fun, which has a slightly different front-end, with less controls for advanced search

There seem to be a few alternative domains, there also correspond to at least two other mirrors of the library, and I’ve checked them and they work:

  • libgen.li, libgen.gs, libgen.lc, all hosted in the same IP block 89.248.179.* that seems to be based in Seychelles, and these sites, as advertised on each homepage, are likely mirrors of each-other. The only difference from the above official mirrors is the site is called LibraryGenesis+.
  • libgen.ee and libgen.rocks, which are hosted on Cloudflare and link to the mirrors above

I’m currently not sure about libgen.pw, which redirects to libgen.me, which is odd as they are hosted on totally different IPs and IP blocks. It also has a different front-end with less advanced search controls.

There are still two more sites I’ve seen mentioned heavily in online discussions so I decided to investigate them too. One is 1lib.ink, which like *.rocks and *.ee is hosted on Cloudflare IPs and links to the other LibraryGenesis+ mirrors. Then there is zlib.ink, which is hosted on a private IP that seems to belong to Tencent. It works, but I cannot seem to link it to other instances, and I am not sure I trust it.

A great resource is the LibGen wiki hosted by the Reddit community.


SciHub

SciHub, the youngest of these sites, focuses mostly on scientific articles, and it’s extremely useful to many academics. It was created by Alexandra Elbakyan (who sometimes smiles and waves at us on the SciHub site!) I checked all the official mirrors and they work:

You may be interested to find out (like I did!) they have a Telegram bot too, t.me/scihubot, a Zotero plugin, and a Reddit community.


Anna’s Archive

UPDATE (22/11/22)

Anna’s Archive has just been launched in response to the takedown of ZLib, sometime this month! Anna’s Archive is to the three sites above what metager.de is to other seacrh engines. It is a catalogue, that aims to cataogue and link to every book, without actually hosting any of the material. The group creating the site claims to be a lot more serious about security and leaving no trace - so I’m looking forward to them never getting caught. Maybe the best way to hit the shadow library links I presented above is to just use this site.


Why is this important?

I am not going to launch myself into a philosophical tirade as to why information piracy increases exposure and engagement with the paid material aswell (just look at Photoshop and Windows), and just limit myself to saying that ZLib was a crucial resource for the development of our, humanity’s, shared body of knowledge, and show it with specific, quantifiable examples:

Knowledge and poverty

First, for students attending universities that do not have contracts with the publishers, who don’t have $40 to spend on an article or $100 to spend on a textbook. An article about the takedown mentions stories of students and academics from Africa and India who need to spend their monthly stipend to buy a single book and who were entirely dependent on ZLib to study or research.

For a visual aid, here’s a screenshot of a student poverty rate map 1, in the US, in 2016:

And here’s a screenshot of a global poverty map 2, based on data by the World Bank. If I wasn’t so in a rush to write this, I’d actually make a data visualisation, trying to see how many journal articles fit in a country’s monthly median household salary (since coffins per White House can be a valid unit of measurement, then why not meals per Elsevier article?).

Maybe some academics think that institutions like universities, research institutes and hospitals should have contracts with publishers. But academics still often change jobs; they need something to keep in touch with research between jobs, when they don’t have institutional access anymore. And since they are between jobs they likely don’t afford to pay, even in the first world.

I don’t want to dwelve in the discussion on academic publishers, their outrageous fees, the lack of pay for peer reviewers, but you can find relevant information, with references, in this Open Letter.

Knowledge and censorship

My Mum, who grew up in the totalitarian Socialist Republic of Romania, tells me how there used to be books that you’d be arrested for owning, and that you could hardly trust anyone with that knowledge, as anyone you shared the book with, or even the knowledge of its existence with, could be a secret police informer. Nonetheless, even with the huge risks involved, people still shared knowledge. This culture was very real, and these websites come from a good place: a desire to be free to think in a world that is too controlling.

But today, anyone living in a country with authoritarian or totalitarian rulers, or living under censorship, who can get to a computer and use VPN or Tor, can have unlimited access to knowledge.

To get a perspective for how important that is to the world, here’s another of my favourite maps, accompanied by the 2022 Internet Censorship report data, and available to explore interactively at FreedomHouse:

Knowledge and power

I’ll finish with a sad but extremely important internet story.

In 2010, Aaron Swartz, Internet legend, co-creator of RSS, Markdown, and Creative Commons, was driven to suicide follwoing a harsh prison sentence at the age of 26.

The synopsis below is from his wiki page:

In 2011, Swartz was arrested by Massachusetts Institute of Technology (MIT) police on state breaking-and-entering charges, after connecting a computer to the MIT network in an unmarked and unlocked closet, and setting it to download academic journal articles systematically from JSTOR using a guest user account issued to him by MIT. Federal prosecutors, led by Carmen Ortiz, later charged him with two counts of wire fraud and eleven violations of the Computer Fraud and Abuse Act, carrying a cumulative maximum penalty of $1 million in fines, 35 years in prison, asset forfeiture, restitution, and supervised release. Swartz declined a plea bargain under which he would have served six months in federal prison. Two days after the prosecution rejected a counter-offer by Swartz, he was found dead in his Brooklyn apartment.

What the Wiki synopsis doesn’t say, is that the closet was already setup with cameras and bugs, to catch him in the act, and that the MIT campus police itself was involved. Last but not least, he never uploaded any of the articlies anyplace else or distributed them in any way. It was a conspiracy if I’ve ever seen one, to teach him and people like him a lesson, to make an example of him.

Why was it necessary to “make an example out of” someone like Aaron? Because knowledge is power, and offering free access to knowledge terrifies the power structures who want to control it.

(and if you want to learn more, you can watch the documentary The internet’s own boy which is available for free on the Internet Archive or on Youtube).

How can you help?

Don’t be complacent, be angry. Spread the word to the world. If you’re American, contact your local authorities and express support for ZLib, LibGen, or SciHub.

Talk to your grandma about information freedom. The next jury member in a trial condemning internet freedom may be someone who has learned why open access to knowledge is so important, may be someone who has heard of Aaron Swartz, may be someone who understands the absurd costs of knowledge development.

Catalogue! Contribute to any of these open libraries by helping them build a catalogue of all books.

Vote Pirate! If you can’t, start a pirate party in your constituency! Sweden was first, founding it in 2006, the US have one founded in the same year, now most EU contries have them, and there’s a European Pirate Party, and Pirates without borders!

(That being said, I live in the UK, where the Pirate party est 2009 was dissolved in 2020. Work always begins in one’s back yard.)

I am looking into a way to help the actual founders and community, but can’t see anything. Unfortunately, the Reddit discussion about how to help immediately turned to people attacking ZLib founders for ‘stealing’. We have a long way yet to sail…

Finally, I invite you to read and share the open letter “In solidarity with library genesi and Sci-Hub”, available currently at custodians.online.

I’ll leave you with their closing paragraph:

We find ourselves at a decisive moment. This is the time to recognize that the very existence of our massive knowledge commons is an act of collective civil disobedience. It is the time to emerge from hiding and put our names behind this act of resistance. You may feel isolated, but there are many of us. The anger, desperation and fear of losing our library infrastructures, voiced across the internet, tell us that. This is the time for us custodians, being dogs, humans or cyborgs, with our names, nicknames and pseudonyms, to raise our voices. Share this letter - read it in public - leave it in the printer. Share your writing - digitize a book - upload your files. Don’t let our knowledge be crushed. Care for the libraries - care for the metadata - care for the backup. Water the flowers - clean the volcanoes.

Footnotes and references

Aaron Swartz is also the author of the Guerrilla Open Access Manifesto which you should read here.

  1. The student poverty rate map is taken from an interactive dataviz by a research company called EdBuild. Census.gov explains median household income.

    The World Bank also has an interesting article and dataset regarding the relationship between poverty and education. They observe that in recent years the gap between school enrollment rates between lower and higher-income countries has been reducing, which only further supports the need of free educational resources to actually support all these children going to school in economically challenged places. 

  2. The worldwide median income map is from an interactive dataviz by the website and based on data from the World Bank.

    I am, of course, aware that it isn’t easy to construct these maps, and that there are plenty statistics that can go wrong. I am not claiming to put numbers to someone’s human condition, but rather to show how much of a spread there is in income, and how it is easy to forget in the first world how many people still need free access to knowledge because they simply cannot afford it otherwise