{"id":18768427,"url":"https://github.com/doc-han/libgenesis","last_synced_at":"2025-04-13T06:32:41.327Z","repository":{"id":44139155,"uuid":"189534094","full_name":"doc-han/LibGenesis","owner":"doc-han","description":"An API workaround the library genesis platform to enable query search","archived":false,"fork":false,"pushed_at":"2023-01-04T17:20:07.000Z","size":69,"stargazers_count":51,"open_issues_count":4,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T14:55:47.315Z","etag":null,"topics":["ebooks","free","free-book","genesis","libgen","library","library-genesis","paid","pdf"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doc-han.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-31T05:39:56.000Z","updated_at":"2025-04-04T00:05:05.000Z","dependencies_parsed_at":"2023-02-02T19:17:03.468Z","dependency_job_id":null,"html_url":"https://github.com/doc-han/LibGenesis","commit_stats":null,"previous_names":["doc-han/libgen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doc-han%2FLibGenesis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doc-han%2FLibGenesis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doc-han%2FLibGenesis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doc-han%2FLibGenesis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doc-han","download_url":"https://codeload.github.com/doc-han/LibGenesis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248674677,"owners_count":21143760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ebooks","free","free-book","genesis","libgen","library","library-genesis","paid","pdf"],"created_at":"2024-11-07T19:12:37.836Z","updated_at":"2025-04-13T06:32:40.804Z","avatar_url":"https://github.com/doc-han.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LibGenesis\n\n[![Build Status](https://travis-ci.com/Doc-Han/LibGen.svg?branch=master)](https://travis-ci.com/Doc-Han/LibGen)\n![GitHub package.json version](https://img.shields.io/github/package-json/v/doc-han/libgen.svg?color=%2328a745)\n![npm](https://img.shields.io/npm/dm/libgenesis.svg)\n![npm](https://img.shields.io/npm/v/libgenesis.svg)\n![GitHub](https://img.shields.io/github/license/doc-han/libgen.svg)\n![npm bundle size](https://img.shields.io/bundlephobia/min/libgenesis.svg?color=orange)\n\nA simple module for getting and downloading paid books or PDF's for free. This module is based on Library Genesis and works by getting books straight from the portal. More features will be integrated soon. \n## How it works\n\n1. Install and require the package\n\n```javascript\n    const libgen = require('libgenesis');\n```\n\n2. Pass your search query. \n\nThe function returns a promise, Hence, you are to wait for response as below\n\n```javascript\n    libgen(\"book name here\").then(function(books){\n        //do something with books\n        console.log(books);\n    }).catch(function(error){\n        //throw error\n        throw error;\n    })\n``` \n\n3. The returned array of objects contains the various fields as in the example below \u003cbr\u003e\nA **null** value is returned when no book was found for the search term. And download of books is possible by a simple **GET** request to the link in the donwload property in the response.\n\n```javascript\n    [\n        { \n            id: '2348853',\n            title: 'From Cave Man to Cave Martian: Living in Caves on the Earth, Moon and Mars',\n            author: 'Manfred \"Dutch\" Von Ehrenfried',\n            language: 'English',\n            filesize: '13.32MB',\n            extension: 'pdf',\n            download: 'http://download.library1.org/main/2348000/31d6ee634d383579863137448c347b67/Manfred \"Dutch\" Von Ehrenfried - From Cave Man to Cave Martian: Living in Caves on the Earth, Moon and Mars-Springer Praxis Books (2019).pdf',\n            bookImage: 'http://library1.org/covers/2348000/31d6ee634d383579863137448c347b67-d.jpg' },\n        { \n            id: '2348854',\n            title: 'From Cave Man to Cave Martian: Living in Caves on the Earth, Moon and Mars',\n            author: 'Manfred \"Dutch\" Von Ehrenfried',\n            language: 'English',\n            filesize: '74.75MB',\n            extension: 'epub',\n            download: 'http://download.library1.org/main/2348000/b628824068dd80a12773e43e8fd93bac/Manfred \"Dutch\" Von Ehrenfried - From Cave Man to Cave Martian: Living in Caves on the Earth, Moon and Mars-Springer Praxis Books (2019).epub',\n            bookImage: 'http://library1.org/covers/2348000/b628824068dd80a12773e43e8fd93bac-d.jpg' \n        }\n    ]\n```\n\n### If you've been waiting for long for this. [Please star the project on GitHub](https://github.com/Doc-Han/LibGen.git)\n\nHence you can do what you want with it. Thank You\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoc-han%2Flibgenesis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoc-han%2Flibgenesis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoc-han%2Flibgenesis/lists"}