All Projects → rcmoutinho → ebook-with-asciidoctor

rcmoutinho / ebook-with-asciidoctor

Licence: MIT license
Free and Open Source code to automate your ebook! Get your .pdf, .epub, and .mobi in seconds running a single command! Clone this project and start your eBook today!

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to ebook-with-asciidoctor

Asciidoctor Epub3
📘 Asciidoctor EPUB3 is a set of Asciidoctor extensions for converting AsciiDoc to EPUB3 & KF8/MOBI
Stars: ✭ 166 (+295.24%)
Mutual labels:  ebook, asciidoctor
Laravel Book
Up to date Epub, Mobi and PDF versions from the official Laravel Docs
Stars: ✭ 221 (+426.19%)
Mutual labels:  ebook
Make
📖📖📖📖📖 写给软件工程师看的硬件编程指南
Stars: ✭ 170 (+304.76%)
Mutual labels:  ebook
Learn gnugrep ripgrep
Example based guide to mastering GNU grep and ripgrep
Stars: ✭ 204 (+385.71%)
Mutual labels:  ebook
Ficsave
This is the repo for FicSave, an open-source online fanfiction downloader.
Stars: ✭ 172 (+309.52%)
Mutual labels:  ebook
Growth In Action
全栈增长工程师实战
Stars: ✭ 2,411 (+5640.48%)
Mutual labels:  ebook
Awesome Computer Science Ebook
Leading source of ebooks, with a vast range of ebooks from academic, popular and professional publishers.
Stars: ✭ 165 (+292.86%)
Mutual labels:  ebook
hands-on-elixir-and-otp-cryptocurrency-trading-bot-source-code
Resources related to the "Hands-on Elixir & OTP: Cryptocurrency trading bot" book
Stars: ✭ 70 (+66.67%)
Mutual labels:  ebook
Ultimate Go
The Ultimate Go Study Guide
Stars: ✭ 14,661 (+34807.14%)
Mutual labels:  ebook
Bitcoin On Nodejs
《Node.js区块链开发》,注:新版代码已开源!请star支持哦-^-:
Stars: ✭ 2,321 (+5426.19%)
Mutual labels:  ebook
Libmobi
C library for handling Kindle (MOBI) formats of ebook documents
Stars: ✭ 197 (+369.05%)
Mutual labels:  ebook
Spring Boot Book
Spring Boot 开源电子书
Stars: ✭ 178 (+323.81%)
Mutual labels:  ebook
Pandoc Book Template
A simple Pandoc template to build documents and ebooks.
Stars: ✭ 214 (+409.52%)
Mutual labels:  ebook
React Book
From apprentice to master (CC BY-NC-ND)
Stars: ✭ 2,021 (+4711.9%)
Mutual labels:  ebook
Regex For Regular Folk
🔍💪 Regular Expressions for Regular Folk — A visual, example-based introduction to RegEx [BETA]
Stars: ✭ 242 (+476.19%)
Mutual labels:  ebook
Migration
《系统重构与迁移指南》手把手教你分析、评估现有系统、制定重构策略、探索可行重构方案、搭建测试防护网、进行系统架构重构、服务架构重构、模块重构、代码重构、数据库重构、重构后的架构守护
Stars: ✭ 2,753 (+6454.76%)
Mutual labels:  ebook
Webpack Book
From apprentice to master (CC BY-NC-ND)
Stars: ✭ 2,372 (+5547.62%)
Mutual labels:  ebook
onesync-reader-app
Cross-platform ebook reader built using Xamarin.Forms
Stars: ✭ 33 (-21.43%)
Mutual labels:  ebook
Open Publisher
Using Jekyll to create outputs that can be used as Pandoc inputs. In short - input markdown, output mobi, epub, pdf, and print-ready pdf. With a focus on fiction.
Stars: ✭ 242 (+476.19%)
Mutual labels:  ebook
Kepubify
Fast, standalone EPUB to KEPUB converter CLI app / library (and a few other utilities).
Stars: ✭ 225 (+435.71%)
Mutual labels:  ebook

Launch your best content today! Free and Open Source code to automate your ebook!

Travis (.com) GitHub release GitHub issues GitHub License

To create your own ebook is super simple: clone this project and start writing!

Note

And now you don’t need to worry about the release process because it’s fully automated! Follow all the instructions from automated-release project and config your onw project.

This configuration optional. You can stay releasing manually your ebook if you want.

Basically you only need to configure you GitHub Personal Access Token and enable Travis-CI. Ok! Now you are going to need Node.js installed to make sure you are respecting conventional-commits pattern. But again, the automated versioning is optional.

Take a look at all the automated releases generated by those Pull Requests and the good looking release page. You only need to write good commits to have all this. 😄

The latest release (or maybe the first one o/) of this project is already automated.

Getting Started in One Minute

  1. Clone the project

    git clone https://github.com/rcmoutinho/ebook-with-asciidoctor.git
  2. Generate the eBook

    docker-compose run --rm ebook

DONE!

Project Files
Figure 1. Check your eBook on the book-release folder.
Overview from this automated eBook
Figure 2. Overview from PDF format

Configure Your eBook

Although the project has lots of configuration, you just need to focus on the following topics:

  1. Fill the file automated-ebook.asc with the right information. Here you will need to change the book name, author, and maybe the number of levels on the table of contents (:toclevels:, the default is configured to 3).

  2. At the same file, adjust chapters file names. You can add, remove or rename. You are in charge here.

  3. Last but not least, create your chapters! The first chapter has lots of tips about how to deal with Asciidoctor syntax, but you can also check the documentation to get more details.

You can also change the file cover.png with your own book cover. The size of this image is 1050x1600. You can use canva.com to create your design. It’s FREE. But the default size there is 1410x2250, so you will need to resize and fit after downloading (not a problem).

Generate Your eBook

To simplify things, let’s use Docker to automate book generation. Make sure you have it installed.

Each file from the eBook (HTML, Epub, Mobi e PDF) will be generated by using the image oficial image of Asciidoctor. Super easy!

Execute one of the following commands, according to your OS, on the project’s root folder:

# linux / unix
docker run --rm -v $(pwd):/documents/ asciidoctor/docker-asciidoctor scripts/docker-startup.sh

# others (change <path> with the full path of the current directory)
docker run --rm -v <path>:/documents/ asciidoctor/docker-asciidoctor scripts/docker-startup.sh

Or use Docker Compose command to be able to type faster and avoid all parameters (already configured on docker-compose.yml):

docker-compose run --rm ebook

More about Asciidoctor

Projects Using This Format

Send a Pull Request with your project’s URL that uses this project 😄

References

The project progit2 was used as a reference to create this step-by-step process to automate this ebook. The reference’s ebook is available at git-scm.com/book.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].