I self-published a learn-to-code book and made nearly $5,000 in pre-orders

On May 4th, my book Hello Web App was released. Since then, hundreds of people used it to learn how to build web apps using Python and Django.

Today I share a breakdown of all my sales numbers across all the platforms I used, and some of the lessons I learned:

  • Sales by package: eBook vs Physical Book vs Complete Video Package
  • Sales by platform: Amazon vs Gumroad vs Leanpub
  • Sales by news aggregator: Reddit vs Hacker News vs Product Hunt

First, a bit of background — I taught myself how to code and in the process I was constantly annoyed at tutorials. Once I finally figured a step out, I'd think, "why the hell do they teach it this way when they could teach it that way?" After four years, not much changed in the Django tutorial eco-system, so I decided to write my ideal tutorial myself. A tutorial that teaches that way.

I made $4,612.38 in pre-orders plus the launch day (not including the Kickstarter, see below). My ideal readers are folks who are thinking about building web apps, but haven't learned how yet — a fairly small amount of people. So that number might not be as large as other self-published authors who post their stats, but I am still very, very happy with how the book is doing.

Being real about the process and my results

All of my projects (my startup and this book) stem from a love of helping and supporting folks working for themselves. I started WeddingLovely to help those who run wedding-related local/small-businesses, and I wrote Hello Web App so I can help people learn how to launch web apps and build their own online businesses.

I'm publishing these results because I'd love to support those who are thinking of writing their own book — I've learned a lot and this process was super enjoyable, and I hope these notes help others make the leap into authorship.

Note about the Kickstarter campaign

I wrote a little bit about the Kickstarter process:

However, other than some revenue runway, the biggest contribution that the Kickstarter campaign had were emails of interested buyers. By the time I was ready to launch, my email list for Hello Web App was around 800 potential readers, which definitely contributed to the pre-order and launch day sales.

Breakdown of pricing and sales numbers


I ended up selling Hello Web App on three different platforms with a few different pricing tiers:

  • Gumroad
  • $79 videos + eBook (.mobi, .ePub, and PDF) package
    • $10 option to add the paperback book (plus shipping for international sales)
  • $29.95 paperback + eBook package (plus shipping for international)
  • $14.95 eBook package
  • Amazon
  • $19.95 Paperback book
  • $9.95 Kindle eBook
  • Leanpub
  • $9.95 minimum price, $19.95 suggested price (all Leanpub formatted files.)

A lot of advice articles for self-publishers recommend choosing Amazon or Gumroad, not doing both — since selling on Amazon is going to require a lower price, and you can sell less books for more money on Gumroad. I decided to do both for this release just to test it out, and the jury is still out on whether that was a good decision or not. It certainly means I have to update and track a bunch of different platforms.


Overall, I earned in pre-orders and launch day:

  • Gumroad: $3,618.74
  • Complete package: $1,788
  • Paperback package: $1,348.34
  • eBook package: $478.40
  • Amazon: $993.64
  • Kindle: $230.34
  • Paperbacks: $763.30
  • Leanpub: $0 (unfortunately since you can't sell pre-sell books.)

Which comes to $4,612.38 in total of pre-orders.



Analytics on Gumroad, from the creation of the pre-order page through launch day.

Gumroad is a platform for selling products, and their small fee (5% + $0.25) is their biggest advantage. My profit from selling my products on Gumroad is literally 10x than it is on Amazon. Of course, Gumroad doesn't sell your products for you like Amazon does, so marketing is up to you.

The giant spike in orders a few weeks into the campaign is my launch on Product Hunt (more on that below).

Overall, I've had nothing but good experiences using Gumroad to sell my book, and they've made selling a book even easier by adding features to sell physical products too, so I can easily sell both the digital and paperback versions of Hello Web App on one platform.


I love Leanpub — their platform for writing and creating eBooks is simply superb. In particular, they have a great attitude towards creating your book using their platform and reselling:

Leanpub authors can sell their books wherever they want. In particular, we encourage all Leanpub authors to also sell their books on Amazon KDP and Apple once the books are done... We want you to use our store in addition to any others that you use because it's better, not because you're forced to.

Instead of struggling through .mobi and .epub creation on my own or paying someone to make the files for me from my Markdown files (which sounds easy, but really, really wasn't), I used Leanpub to create my eBook files that I'm selling on Amazon and Gumroad (minus the PDF — Gumroad has my design-y one.)

Unfortunately Leanpub doesn't do "pre-orders" and instead allows visitors to indicate they're interested in the book without taking payment information. I've ended up selling ~$100 in orders since launch, but none day-of so I'm not including those numbers here.

Amazon Direct Publishing (Amazon Kindle)

33 pre-orders feels kind of low, and at $6.98 royalties per book, this lead to $230.34 revenue through Amazon Direct Publishing.

Amazon Advantage

Amazon Advantage (the interface for selling physical products through Amazon) is one of the worst interfaces I've ever used. Setting up the product listing, getting analytics from sales, getting orders from their automatic interface, trying to set up pre-orders — it's given me nothing but pain. Noticed how this is the only section that does not have a graph? I can't even figure out how to display a nice graph to show you my revenue. Ugh.

Amazon Advantage also has similar royalties to Kindle Direct Publishing: I keep only 45% of my sale price, meaning when I sell my paperback book for $19.95, I get $8.98. Each book costs me $3.60 to produce plus I also have to pay to ship the books to Amazon. So I keep very little of the sale price of the paperback through Amazon.

The number of pre-orders for Hello Web App is a little hard to calculate since there were a few books I bought through Amazon myself, but essentially I made $763.30 in revenue from the paperback book on Amazon (not counting some affiliate revenue I made), and my profit is that number minus shipping and printing costs.


Product Hunt

By far, the best results on marketing was through Product Hunt.

I didn't receive an astounding amount of traffic, but it still lead to a large chunk of the revenue from the pre-order:

The Product Hunt launch day is highlighted.

About a 1,000 visits for 17 sales isn't that much, but the majority of the buyers bought the video package for $79, leading to the high revenue numbers for that day.

Hacker News

Got a few points on Hacker News, nothing astounding. Probably since most of the readers on Hacker News already know the basics of web app development, so it's not the best audience.

16 points.


The second largest marketing boost was through various postings on Reddit, specifically /r/learnprogramming and /r/learnpython.

I reached out to one of the mod's of /r/learnprogramming first, since I knew my post would come across as "smarmy marketing" and there was a good chance the post would be downvoted to oblivion. The mod warned that if the post got too many flags, it would be removed but I otherwise got the go-ahead. Note to others: self-posts (text posts) on Reddit with personal stories are best when posting your product — directly linking to your product page will come across as too marketing-y and will be downvoted/removed.

What I ended up posting to the /r/learnprogramming subreddit.
About 1,000 page views overall over the days the post was at the top.

Still got a few comments accusing me of writing a bot to upvote my post, which have since been deleted (sigh).

Launch day until now

Sales have dropped off a fair bit:

This is total revenue through Gumroad over a period just longer than two months.
Kindle sales over the same period of time — a bit over two months. Selling 1-2 per day.

So, Hello Web App is definitely not paying the bills just yet.

Would I do it again? Definitely. The process of writing a book as a side project was surprisingly enjoyable. If I can write a few more books or improve the marketing of Hello Web App, it's possible I could support myself through writing. Not to mention the conference speaking, workshops, and travel benefits. For example, I just ran a workshop at DjangoCon EU in Wales and will be speaking and workshopping at DjangoCon US this September in Austin.

Overall: A nice chunk of change. Nothing mind-blowing. Worth it.

I'm considering "Hello Web App: Intermediate Concepts" or maybe "Hello Web Design" for engineers or "Hello Startup" as some next topics I could write about. Prefer one or have another idea? I'd love to hear your thoughts in the comments below!

I have quite a few other articles about the Hello Web App design and production process that you might want to read:

Of course, you should buy Hello Web App if you're interested in learning web app development. You can download a sample of the book by signing up for the newsletter at the bottom of this page.

See more discussion about this post on Hacker News.

You should follow me on Twitter for more fun self-publishing tidbits, startup whining, and dorkiness: @limedaring

Thanks for reading!