{"id":29552783,"url":"https://github.com/timursevimli/epubconverter","last_synced_at":"2025-10-13T08:36:04.835Z","repository":{"id":151163387,"uuid":"623332874","full_name":"timursevimli/epubconverter","owner":"timursevimli","description":"A Node.js script for converting PDF files to EPUB format using the ebook-convert tool from Calibre.","archived":false,"fork":false,"pushed_at":"2025-07-09T01:35:04.000Z","size":1194,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-11T16:10:06.113Z","etag":null,"topics":["conversion","converter","ebook","epub","pdf"],"latest_commit_sha":null,"homepage":"","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/timursevimli.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-04T06:55:20.000Z","updated_at":"2025-08-05T13:35:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5d71502-7337-45df-86fa-e58943d87935","html_url":"https://github.com/timursevimli/epubconverter","commit_stats":null,"previous_names":["timursevimli/epubconverter","timursevimli/epubconventer"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/timursevimli/epubconverter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timursevimli%2Fepubconverter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timursevimli%2Fepubconverter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timursevimli%2Fepubconverter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timursevimli%2Fepubconverter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timursevimli","download_url":"https://codeload.github.com/timursevimli/epubconverter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timursevimli%2Fepubconverter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009266,"owners_count":26084570,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["conversion","converter","ebook","epub","pdf"],"created_at":"2025-07-18T05:40:48.521Z","updated_at":"2025-10-13T08:36:04.818Z","avatar_url":"https://github.com/timursevimli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Epub Converter\n\n[![ci Status](https://github.com/timursevimli/epubconventer/workflows/CI/badge.svg)](https://github.com/timursevimli/epubconventer/actions?query=workflow%3A%22CI%22+branch%3Amaster)\n[![snyk](https://snyk.io/test/github/timursevimli/epubconventer/badge.svg)](https://snyk.io/test/github/timursevimli/epubconventer)\n[![npm downloads/month](https://img.shields.io/npm/dm/epubconventer.svg)](https://www.npmjs.com/package/epubconventer)\n[![npm downloads](https://img.shields.io/npm/dt/epubconventer.svg)](https://www.npmjs.com/package/epubconventer)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/timursevimli/epubconventer/blob/master/LICENSE)\n\nA Node.js script for converting PDF files to EPUB format using the ebook-convert tool from Calibre.\n\n## Installation\n\nBefore using this script, you need to have the `ebook-convert` tool installed on your machine. You can download the latest version of Calibre, which includes the `ebook-convert` tool, from the Calibre website.\n\nOnce you have `ebook-convert` installed, you can install this script using npm:\n\n```bash\nnpm install -g epubconverter\n```\n\n## CLI Usage\n\nAfter installation, you can use the `epubconverter` command from the terminal to convert PDF files to EPUB format.\n\n### Example\n\n```bash\nepubconverter --target=\"./path/to/pdf/files\" --output=\"./path/to/output/directory\"\n```\n\n### Options\n\n- `--target` (required): The path to the directory containing the PDF files you want to convert.\n- `--output` (optional): The path to the output directory where the converted EPUB files will be saved. If not specified, the converted files will be saved in the target directory.\n\n### Examples\n\n```bash\nepubconverter --target=\"./pdfs\" --output=\"./epubs\"\n```\n\nThis will convert all the PDF files in the ./pdfs directory and save the resulting EPUB files in the ./epubs directory\n\n## Programmatic Usage\n\nYou can also use this script programmatically in your Node.js projects.\n\n```javascript\nconst EpubConverter = require('epubconverter');\nconst converter = new EpubConverter(\n  '/path/to/pdf/files',\n  '/path/to/output/directory',\n);\n\n// convert all the PDF files in the target directory to EPUB format\nconverter.convert().finally(() =\u003e {\n  console.log('All done!');\n});\n```\n\nThe convert method returns a Promise that resolves when all the conversions have completed.\n\n## Requirements\n\n- Node.js v16.18 or higher\n- `ebook-convert` tool from Calibre\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/timursevimli/epubconventer/blob/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimursevimli%2Fepubconverter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimursevimli%2Fepubconverter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimursevimli%2Fepubconverter/lists"}