Library Genesis

Library Genesis is a Russian project to create a free online library of ebooks. They currently have about 4 million of them. The project is in blatant violation of copyright, and their domain name is blocked in some countries.
== Collections ==
Libgen consists of 3 collections:
* Libgen (sci-tech)
** academic monographs, reference books, encyclopedias, conference proceedings, collected works, textbooks, or popular-level expositions on mathematics, science, engineering, medicine, linguistics, economics, history, philosophy, social sciences, and other academic disciplines
** books on contemporary topics that discuss controversial issues of contemporary society, politics, economics, history, etc.
** "Teach yourself woodworking" and other self-teaching books
** books about art or music, history or analysis of art 
** Size: around 32TB
** Count: 2447977 
** Last torrent: r_2105000.torrent (up to 2105999) 
* Foreign fiction
** Non-Russian fiction.
** Size: around 2TB
** Count: 2189439 
** Last torrent: f_1890000.torrent (up to 1890999) 
* Scimag
** Scientific papers.
** Size: around 68TB 
** Count: 78935529 
** Last torrent: sm_65900000-65999999.torrent 
== Database dumps ==
Database dumps can be downloaded from:
* http://gen.lib.rus.ec/dbdumps/ - automatically generated
* https://lgdumps.xyz/dumps/
The repository (the actual .pdf/.epub/.djvu files) can be downloaded from:
* http://gen.lib.rus.ec/repository_torrent/ - sci-tech, torrent
* http://gen.lib.rus.ec/foreignfiction/repository_torrent/ - foreign fiction, torrent
* http://gen.lib.rus.ec/scimag/repository_torrent/ - scimag, torrent
* http://gen.lib.rus.ec/repository_nzb/ - sci-tech, usenet
== Sci-Hub ==
Sci-Hub stores papers in Library Genesis as secondary repository. The repository torrents can be downloaded from:
* http://gen.lib.rus.ec/scimag/repository_torrent/
The database is available together with the others under /dbdumps/.
== Torrent structure ==
=== Scimag torrents ===
Each torrent contains 100 ZIP files, each with 1000 PDFs distributed in directories by their DOI prefix, like:
Archive: 66400000/libgen.scimag66499000-66499999.zip
 Length Date Time Name
--------- ---------- ----- ----
 6459290 09-18-2017 07:35 10.1109/cybconf.2017.7985822.pdf
 631217 09-17-2017 12:01 10.1109/dt.2017.8024325.pdf
...
 1047522 09-17-2017 12:02 10.1111/1365-2435.12984.pdf
 313688 09-18-2017 07:36 10.1111/1365-2478.12569.pdf
 4475172 09-17-2017 08:57 10.1111/1365-2656.12756.pdf
 630038 09-16-2017 12:00 10.11120/ened.2013.00008.pdf
...
 362678 09-17-2017 12:01 10.11124/JBISRIR-2016-2538.pdf
 286640 09-18-2017 07:32 10.1112/jlms%2Fjdw055.pdf
 613931 09-16-2017 11:59 10.1112/topo.12000.pdf
 176652 09-17-2017 08:58 10.1113/EP086344.pdf
 1624320 09-18-2017 07:31 10.1113/JP274736.pdf
 1325647 09-18-2017 07:32 10.1113/JP274837.pdf
 101628 09-16-2017 12:16 10.1113/JP275085.pdf
 472949 09-18-2017 07:35 10.1113/JP275114.pdf
 475696 09-16-2017 12:03 10.1113/JP275171.pdf
 36566 09-16-2017 12:14 10.1115/1.1410937.pdf
...
--------- -------
972242341 1000 files
== Mirrors ==
There are various unofficial mirrors of libgen, such as libgen.pw , BookFI , and B-OK .
== Archival Status ==
The Library Genesis Seeding Project is a group effort on Reddit with The-Eye.eu that aims to seed the entire Library Genesis non-fiction collection. Users are actively being recruited to help preserve the library by seeding any parts of the torrent collection they can (each torrent containing 1,000 books is about 10 GB). 
Internet Archive has darked (hidden/unindexed) collections.
* scimag: up to 64000000-64099999
* foreignfiction: up to 1600000
* libgen: up to 2092000