Table of Contents
Financial Returns
Advantages and Disadvantages of Self-Publishing
Book or Course?
Home Web Front-end CSS Tutorial So you want to self-publish books and courses on programming

So you want to self-publish books and courses on programming

Mar 21, 2025 am 09:19 AM

So you want to self-publish books and courses on programming

Recently, John Resig and I independently published our GraphQL book. While many resources detail how to self-publish books and online courses, guidance on the why and whether is scarce. This post shares my experiences, revenue data, and insights from others who've successfully self-published tech content, weighing the pros and cons of this approach.

Financial Returns

Let's address the elephant in the room: profitability. Initially, I pitched my book to traditional publishers. However, John and I ultimately chose self-publishing. His prior experience with two successful JavaScript books and a blog post critiquing traditional publishing for programming books influenced this decision. His post highlighted:

  • Low sales for programming books: Most rarely exceed 4,000 copies.
  • Modest earnings: He earned $7,500 from his first 4,000 copies, with a 10% royalty on print and 20% on digital sales.

Randall Kanna's perspective on traditional publishing revenue is blunt: "Nothing comes from a tech book. Just the credibility." While exceptions exist, they're rare. Martin Kleppmann's highly successful machine learning book (O'Reilly's second best-seller in 2019) generated $478,000 in its first three years (108,000 copies sold, 10% print royalty, 25% digital royalty).

The Pragmatic Bookshelf stands out with its 50% gross profit royalty structure. In their first decade, 42% of their authors earned over $50,000, and 12% exceeded $100,000.

Self-publishing offers significantly higher royalty rates:

  • Amazon: 70% (e-books); 60% minus printing costs (print books)
  • Leanpub: 80%
  • Gumroad: 96.5% ($10 monthly membership fee)
  • Personal Website: 97%

This potential for higher earnings is evident in successful examples. Discover Meteor generated approximately $500,000 (9,000 copies) between 2013 and 2018 (before becoming free). This success stemmed from significant marketing efforts (detailed in their Gumroad case study) and its status as the go-to resource within the Meteor community. Refactoring UI by Adam Wathan and Steve Schoger is another standout, reportedly surpassing $2 million in sales by 2020. Their success is attributed to effective marketing and addressing a widespread need among front-end developers.

Video courses present different avenues:

  • Publisher platforms (e.g., O'Reilly)
  • YouTube (e.g., Florin Pop's $4,500 first-year ad revenue from 1.6 million views and 74,000 subscribers)
  • Video course platforms (e.g., Egghead, Frontend Masters, Pluralsight, LinkedIn Learning, Udemy – Udemy offers a 97% royalty rate on referred customers and 37% on platform-referred customers)
  • Individual services (e.g., Wes Bos's WBaaS model)
  • Self-hosting (paywalled content on your own site)

Self-published courses also demonstrate substantial earning potential. While Level Up Tutorials, Kent C. Dodds, and Wes Bos don't publicly share revenue figures, their significant reach (Wes Bos, for example, has sold to over 140,000 individuals) suggests considerable income.

However, these are exceptional cases. Most self-published resources generate significantly less. Consider the comparatively lower earnings of other self-published GraphQL books.

The potential for high returns exists, but it's not guaranteed.

Advantages and Disadvantages of Self-Publishing

The pros and cons discussed below apply primarily to books, but are largely relevant to self-published courses as well, given the shared opportunities and challenges.

Book or Course?

Choosing between a book and a course is highly dependent on individual circumstances.

Reasons to Self-Publish:

  • Income Generation: Create a passive income stream.
  • Positive Impact: High leverage; a single creation benefits many learners.
  • Reputation Enhancement: Boosts credibility and career prospects.
  • Personal Learning: Deepens understanding of the subject matter.
  • Personal Fulfillment: Enjoyment of the creative process.

Factors Influencing the Decision:

  • Writing Proficiency: Clear, concise explanation of complex topics is crucial.
  • Marketing Commitment: Active promotion is essential.
  • Personal Value: Align the effort with personal motivations and goals.
  • Opportunity Cost: Consider alternative uses of time and resources.

My experience demonstrates that while writing the book involved an opportunity cost (lower income compared to consulting), it yielded positive impact, increased knowledge, reputational benefits, and personal satisfaction. The positive feedback from readers is incredibly rewarding.

Acknowledgements: Chris Coyier, Geoff Graham, Sacha Greif, Robin Wieruch, Mandi Wise, Sebastian Grebe, Julian Mayorga, and Rachel Lake provided valuable input for this article.

The above is the detailed content of So you want to self-publish books and courses on programming. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1269
29
C# Tutorial
1248
24
How to Create an Animated Countdown Timer With HTML, CSS and JavaScript How to Create an Animated Countdown Timer With HTML, CSS and JavaScript Apr 11, 2025 am 11:29 AM

Have you ever needed a countdown timer on a project? For something like that, it might be natural to reach for a plugin, but it’s actually a lot more

HTML Data Attributes Guide HTML Data Attributes Guide Apr 11, 2025 am 11:50 AM

Everything you ever wanted to know about data attributes in HTML, CSS, and JavaScript.

While You Weren't Looking, CSS Gradients Got Better While You Weren't Looking, CSS Gradients Got Better Apr 11, 2025 am 09:16 AM

One thing that caught my eye on the list of features for Lea Verou's conic-gradient() polyfill was the last item:

A Proof of Concept for Making Sass Faster A Proof of Concept for Making Sass Faster Apr 16, 2025 am 10:38 AM

At the start of a new project, Sass compilation happens in the blink of an eye. This feels great, especially when it’s paired with Browsersync, which reloads

A Comparison of Static Form Providers A Comparison of Static Form Providers Apr 16, 2025 am 11:20 AM

Let’s attempt to coin a term here: "Static Form Provider." You bring your HTML

How to Build Vue Components in a WordPress Theme How to Build Vue Components in a WordPress Theme Apr 11, 2025 am 11:03 AM

The inline-template directive allows us to build rich Vue components as a progressive enhancement over existing WordPress markup.

The Three Types of Code The Three Types of Code Apr 11, 2025 pm 12:02 PM

Every time I start a new project, I organize the code I’m looking at into three types, or categories if you like. And I think these types can be applied to

PHP is A-OK for Templating PHP is A-OK for Templating Apr 11, 2025 am 11:04 AM

PHP templating often gets a bad rap for facilitating subpar code — but that doesn't have to be the case. Let’s look at how PHP projects can enforce a basic

See all articles