{"id":21071846,"url":"https://github.com/mawkler/rust-book-to-epub","last_synced_at":"2025-05-16T05:32:03.774Z","repository":{"id":245127620,"uuid":"817324986","full_name":"mawkler/rust-book-to-epub","owner":"mawkler","description":"Rust Book to EPUB converter","archived":false,"fork":false,"pushed_at":"2024-06-20T12:16:16.000Z","size":30,"stargazers_count":12,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T05:44:01.994Z","etag":null,"topics":["cli","converter","epub","rust"],"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/mawkler.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}},"created_at":"2024-06-19T13:21:11.000Z","updated_at":"2025-04-09T01:34:21.000Z","dependencies_parsed_at":"2024-06-20T00:47:23.456Z","dependency_job_id":"476e0a92-d5b1-4705-89df-46561213f786","html_url":"https://github.com/mawkler/rust-book-to-epub","commit_stats":null,"previous_names":["mawkler/rust-book-to-epub"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mawkler%2Frust-book-to-epub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mawkler%2Frust-book-to-epub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mawkler%2Frust-book-to-epub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mawkler%2Frust-book-to-epub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mawkler","download_url":"https://codeload.github.com/mawkler/rust-book-to-epub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254474457,"owners_count":22077286,"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":["cli","converter","epub","rust"],"created_at":"2024-11-19T18:54:24.380Z","updated_at":"2025-05-16T05:32:02.890Z","avatar_url":"https://github.com/mawkler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Book To EPUB Converter\n\nCLI tool to conveert a Rust book to EPUB based on the book's URL.\n\n## Installation\n\nClone this repo, and then run `npm install` from inside the repo.\n\n## Usage\n\n```\nUsage: convert [options] \u003curl\u003e\n\nConvert Rust book to EPUB format\n\nArguments:\n  url                        URL of the Rust book\n\nOptions:\n  -V, --version              output the version number\n  -o, --output \u003coutputFile\u003e  EPUB filename\n  -h, --help                 display help for command\n\nExample usage:\n  ./convert.js https://doc.rust-lang.org/stable/book/\n```\n\n### To download multiple books at once\n\nYou can use the UNIX command [parallel](https://linux.die.net/man/1/parallel) to download multiple books at once:\n\n```sh\necho 'https://rust-unofficial.github.io/patterns/\nhttps://rust-hosted-langs.github.io/book\nhttps://wubingzheng.github.io/build-lua-in-rust/en/' | parallel ./convert.js\n```\n\nMake sure to not have any blank lines. Note the placement of `'`s.\n\n## Credit\n\nI built this script from [this Gist](https://gist.github.com/peterbartha/54708ae739478a45b52612311d49717c) and a lot of proompting. Thanks to https://github.com/peterbartha for creating the original gist! Compared to the original, this version also downloads images and embeds them into the EPUB as well.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmawkler%2Frust-book-to-epub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmawkler%2Frust-book-to-epub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmawkler%2Frust-book-to-epub/lists"}