{"id":13961586,"url":"https://github.com/crowdagger/books","last_synced_at":"2025-03-16T18:31:58.305Z","repository":{"id":147373125,"uuid":"86297219","full_name":"crowdagger/books","owner":"crowdagger","description":"Tries to provide PDF and EPUB versions of various (maybe) Rust books","archived":false,"fork":false,"pushed_at":"2018-08-14T18:10:38.000Z","size":26691,"stargazers_count":99,"open_issues_count":8,"forks_count":14,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-02-27T12:16:45.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crowdagger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"lise_henry"}},"created_at":"2017-03-27T06:05:28.000Z","updated_at":"2024-03-05T21:42:55.000Z","dependencies_parsed_at":"2023-05-21T08:30:40.095Z","dependency_job_id":null,"html_url":"https://github.com/crowdagger/books","commit_stats":null,"previous_names":["crowdagger/books","lise-henry/books"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crowdagger%2Fbooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crowdagger%2Fbooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crowdagger%2Fbooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crowdagger%2Fbooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crowdagger","download_url":"https://codeload.github.com/crowdagger/books/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826783,"owners_count":20354220,"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":[],"created_at":"2024-08-08T17:01:16.995Z","updated_at":"2025-03-16T18:31:53.284Z","avatar_url":"https://github.com/crowdagger.png","language":"Shell","funding_links":["https://github.com/sponsors/lise_henry"],"categories":["Shell"],"sub_categories":[],"readme":"# Some Rust books conversion \n\nThe purpose of [this repository](https://github.com/lise-henry/books)\nis to try to provide PDF and EPUB vesions of Rust books. Currently,\nthere is only an early attempt at converting the [*The Rust\nProgramming Language*](https://github.com/rust-lang/book), which you\ncan look at here:\n\n## Second edition\n\n(Last updated: 2017-06-11)\n\n* PDF: [A4](http://lise-henry.github.io/books/trpl2-a4.pdf), [Letter](http://lise-henry.github.io/books/trpl2-letter.pdf), [A5](http://lise-henry.github.io/books/trpl2.pdf)\n* [EPUB](http://lise-henry.github.io/books/trpl2.epub)\n\n## First edition\n\n(Last updated: 2017-06-11)\n\n* PDF: [A4](http://lise-henry.github.io/books/trpl1-a4.pdf), [Letter](http://lise-henry.github.io/books/trpl1-letter.pdf), [A5](http://lise-henry.github.io/books/trpl1.pdf)\n* [EPUB](http://lise-henry.github.io/books/trpl1.epub)\n\n## Why?\n\nBecause these books are great but I personally prefer to read on a\nereader than on computer screen. Plus my\npet project is building [yet another converter from Markdown books to\nPDF, EPUB and HTML](https://github.com/lise-henry/crowbook) converter from Markdown books to PDF, EPUB and HTML, so I wanted to know if it could work on this kind\nof books.\n\n## Status and what's next\n\nThe PDF and EPUB files are existing, so it somewhat works. They could be better,\nthough. Inner links don't work. The toc is quite messy. There are\nprobably a ton of quirks.\n\nI'd also like to try to see how this works on other books. Later. Maybe.\n\n## How? \n\nI used [Crowbook](https://github.com/lise-henry/crowbook), yet another\nconverter from Markdown books to PDF, EPUB and HTML. The [book\nconfiguration file](https://github.com/lise-henry/books/blob/master/trpl2.book) is\nhere. \n\nIf you want to play with that too, you'll need the Github version of\ncrowbook, since I had to do some tweaking to get The Rust Lang Book to\nwork under it.\n\n```\n$ git clone https://github.com/lise-henry/crowbook\n$ cargo install\n```\n\nThen\n\n```\n$ git clone https://github.com/lise-henry/books/\n$ cd books\n$ crowbook trpl2.book\n$ crowbook trpl1.book\n```\n\nSince the source files are in a git submodule you might need to do\nsome git magic. Honestly, I am not sure of how that works so I won't\nbe able to help you on that.\n\nKeeping these versiong up to date should not be too difficult, as long\nas the structure of the `Summary.md` file in\nthe [source repository](https://github.com/rust-lang/book) is mirrored\nto the `trpl2.book` file here.\n\n## License\n\n[*The Rust Programming Language*](https://github.com/rust-lang/book)\nbooks are dual licensed under the Apache 2 and MIT License. \n\n## Other EPUB/PDF versions of Rust books\n\nOther people have converted Rust books to PDF and EPUB:\n\n* [Killercup provides PDF and EPUB versions of *The Rust Programming\n  Language* and of *The rustonomicon*](https://killercup.github.io/trpl-ebook/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrowdagger%2Fbooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrowdagger%2Fbooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrowdagger%2Fbooks/lists"}