{"id":19837368,"url":"https://github.com/e-e-e/bookcovers","last_synced_at":"2026-03-09T17:37:07.046Z","repository":{"id":40707319,"uuid":"213885117","full_name":"e-e-e/bookcovers","owner":"e-e-e","description":"A federated search API for finding image thumbnails for book covers.","archived":false,"fork":false,"pushed_at":"2023-01-06T02:13:17.000Z","size":681,"stargazers_count":100,"open_issues_count":3,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-18T13:00:39.825Z","etag":null,"topics":[],"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/e-e-e.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-10-09T10:10:16.000Z","updated_at":"2025-08-10T07:27:02.000Z","dependencies_parsed_at":"2023-02-05T02:30:27.690Z","dependency_job_id":null,"html_url":"https://github.com/e-e-e/bookcovers","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/e-e-e/bookcovers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Fbookcovers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Fbookcovers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Fbookcovers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Fbookcovers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-e-e","download_url":"https://codeload.github.com/e-e-e/bookcovers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Fbookcovers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30304743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T17:35:44.120Z","status":"ssl_error","status_checked_at":"2026-03-09T17:35:43.707Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-12T12:14:13.741Z","updated_at":"2026-03-09T17:37:07.016Z","avatar_url":"https://github.com/e-e-e.png","language":"JavaScript","readme":"# bookcovers\n\nA federated search API for finding image thumbnails for book covers.\n\nPerforms a combined search of _Amazon_, _Google Books_ and _Open Library_ to find thumbnails corresponding to isbn numbers.\n\n_bookcovers_ is node library and cli tool. It currently does not work in browser environments.\n\n## Install\n\n```\nnpm i -g bookcovers\n```\n\n## Example Usage\n\nAs a library within a node application:\n\n```js\nconst bookcovers = require(\"bookcovers\");\n\nbookcovers\n  .withIsbn(\"9781570273148\")\n  .then(results =\u003e ...);\n```\n\nAs a cli:\n\n```bash\nbookcovers \u003cisbn\u003e;\n# logs out book cover data in the form \"\u003csource\u003e \u003csize\u003e \u003curl\u003e\"\n```\n\nSpecify which service to use:\n\n```bash\nbookcovers \u003cisbn\u003e --type amazon;\n# only searches Amazon\n```\n\n## API\n\n#### bookcovers.withIsbn(isbn: string, options?: { ... });\n\nReturns a promise that resolves to an object containing urls from each of the sources.\n\n```js\n{\n  amazon: {\n    '1x': 'https://m.media-amazon.com/images/I/51z2HY7kn4L._AC_UY218_ML3_.jpg',\n    '1.5x': 'https://m.media-amazon.com/images/I/51z2HY7kn4L._AC_UY327_FMwebp_QL65_.jpg',\n    '2x': 'https://m.media-amazon.com/images/I/51z2HY7kn4L._AC_UY436_FMwebp_QL65_.jpg',\n    '2.2935x':'https://m.media-amazon.com/images/I/51z2HY7kn4L._AC_UY500_FMwebp_QL65_.jpg'\n  },\n  google: {\n    smallThumbnail: 'http://books.google.com/books/content?id=wDVV6y-8YHEC\u0026printsec=frontcover\u0026img=1\u0026zoom=5\u0026source=gbs_api',\n    thumbnail: 'http://books.google.com/books/content?id=wDVV6y-8YHEC\u0026printsec=frontcover\u0026img=1\u0026zoom=1\u0026source=gbs_api'\n  },\n  openLibrary: {\n    small: 'http://ia801606.us.archive.org/zipview.php?zip=/26/items/olcovers36/olcovers36-S.zip\u0026file=369091-S.jpg',\n    medium: 'http://ia801606.us.archive.org/zipview.php?zip=/26/items/olcovers36/olcovers36-M.zip\u0026file=369091-M.jpg',\n    large: 'http://ia801606.us.archive.org/zipview.php?zip=/26/items/olcovers36/olcovers36-L.zip\u0026file=369091-L.jpg'\n  }\n}\n```\n\n### Options\n- `type` - Specify a service: `'amazon' | 'google' | 'openLibrary'`. Default: `null` (all).\n- `amazon` - Specify additional options for puppeteer amazon scraper\n- `google` - Specify additional options for request google scraper\n- `openLibrary` - Specify additional options for request open library scraper\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-e-e%2Fbookcovers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-e-e%2Fbookcovers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-e-e%2Fbookcovers/lists"}