Walkthrough for Self-Published Authors: How To Write and Publish A Book Using Leanpub’s Git and GitHub Writing Mode

Use Leanpub to Write a Book and Create Ebook Files Using Git and GitHub

Getting Started

Creating Your Book’s GitHub Repository

Creating a Book in Leanpub’s Git and GitHub Writing Mode

Getting Started

Adding Leanpub As A Collaborator on Your Book’s GitHub Repository

Adding Default Content to Your GitHub Repository

Creating a Preview

Writing in Your Book

How Book.txt Works

Writing In Your Book

Renaming a File and Updating Book.txt

Deleting a File and Creating a New File

Adding an Image to Your Book

Committing and Pushing Your Changes

Creating a New Preview of Your Book

Creating a Sample Book

Publishing Your Ebook

Writing Your Book Description

Adding a Book Cover Image

Creating a Book Cover Image

Uploading Your Book Cover Image

Pricing Your Book

Setting Up Your Author Profile

Publishing Your Book on the Leanpub Bookstore

Updating Your Book

Next Steps

--

--

Leanpub is the best way in the world to write, publish, and sell ebooks. Publish in-progress, serial and complete ebooks in PDF, EPUB and MOBI.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Leanpub

Leanpub is the best way in the world to write, publish, and sell ebooks. Publish in-progress, serial and complete ebooks in PDF, EPUB and MOBI.