Leanpub Header

Skip to main content

How to Make Money with AI (If You Already Know How to Code)

Finding, building and selling software with coding agents

How to Make Money with AI (If You Already Know How to Code)
This book is 100% completeLast updated on 2026-11-23

Coding agents took away the parts of a project where side projects used to die. This is a practical guide for experienced developers who want to turn that into income: finding problems worth solving, building and shipping products, pricing them and finding clients, with real case studies and a 30-day plan.

Minimum price

$19.00

$29.00

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
WEB
APP
About

About

About the Book

Coding agents now handle the parts of a project where side projects used to die: auth, settings screens, billing, deployment, the fifteenth form. If you already know how to build and ship software, that changes what one person can take on.

On 1 January 2026 I promised myself I'd ship more. By November I'd launched a Three.js water kit, a rich text editor, two native desktop apps written in Rust, a resume app for the Mac, a WooCommerce search plugin and a handful of other products, on top of a day job, contract work and two kids. This book covers how I found those ideas, how I built them, what I charged and what went wrong.

It's written for developers who have been doing this professionally for a while. You don't need to know how language models work. You do need to be able to read a diff and tell when it's wrong.

Inside:

  • Why experience matters more now, and why the code was never the hard part of making money
  • Finding problems worth solving: where people complain in public, how to read bad reviews and how to judge an idea before you spend a month on it
  • Choosing a business model that suits your life
  • Setting up your workshop: tools, instruction files, MCP servers and templates
  • Prompting like a senior engineer, building an MVP and catching the agent when it goes off the rails
  • Security, building AI features into what you sell, and everything between "it works on my machine" and the first sale
  • Pricing, launching, cold email and delivering client work
  • The rescue market: fixing apps that other people built with AI
  • Recurring revenue, case studies of real products with real prices (including the misses) and a 30-day plan to get your first thing out the door
  • A prompt library and checklists you can copy straight into your projects

This isn't a get-rich-quick book. There's no secret prompt and no promised income, and most new products still fail. Trying is just much cheaper than it used to be, so you can afford to try more than once.

Author

About the Author

Dwayne Charrington

Dwayne Charrington is a software developer from Australia who builds and sells software products alongside a day job. In 2026 alone that meant a Three.js water kit, a rich text editor, two native desktop apps written in Rust, a resume app for the Mac, a free screen recorder, WooCommerce and Froala plugins, and a delivery service for guitar preset sellers.

Dwayne also takes on client work, including auditing and rescuing apps that were built with AI, and is the author of several books on the Aurelia framework, including The Aurelia 2 Book and Enterprise Aurelia 2.

Contents

Table of Contents

Preface

  1. Who it’s for
  2. Who it isn’t for
  3. What I won’t promise
  4. How it’s organised
  5. A note on tools
  6. Conventions
  7. Part I: The Shift

Power Tools

  1. Nail guns
  2. The bottleneck moved
  3. Where my side projects used to die
  4. What a year looks like now
  5. The tools are not magic
  6. The skills that got more valuable
  7. Holding out
  8. Why now

Experience

  1. Demos
  2. What the money bugs taught me
  3. What a non-developer can’t see
  4. In the prompt
  5. The rescue market
  6. Taste and leaving things out
  7. You probably undervalue this
  8. Back to that Sunday

The Real Barrier

  1. Why we build the same things
  2. The invoice tool, worked through
  3. What a problem looks like
  4. Examples
  5. Reading a pricing page for pain
  6. About AI wrappers
  7. Signals and noise
  8. Small is fine
  9. Before you open the editor
  10. Part II: Opportunity

Finding Problems

  1. Keep an irritation log
  2. Your own work
  3. Your hobbies
  4. Public complaints
  5. Reddit
  6. Bad reviews
  7. Resented incumbents
  8. Gaps in paid platforms
  9. Job ads
  10. Abandoned products
  11. Businesses still running on spreadsheets
  12. Asking strangers
  13. Integrations
  14. Rescue work as research
  15. Family and friends
  16. Using AI as a research assistant
  17. A week of looking
  18. When you’ve found one

Evaluating Ideas

  1. The scorecard
  2. Scoring two hypotheticals
  3. Scoring products
  4. Competition
  5. Counting buyers
  6. Talk to ten people
  7. Put a price on it early
  8. The weekend test
  9. Kill criteria
  10. Getting AI to argue with you
  11. Commit, then stop scoring

Business Models

  1. One-off licences
  2. Annual licences
  3. Freemium with a free edition
  4. Source-code kits
  5. Subscriptions and SaaS
  6. Credits and usage
  7. Free products
  8. Desktop apps
  9. Mobile apps
  10. Contract work
  11. Productised services
  12. Content
  13. What you actually keep
  14. Choosing for your life
  15. Part III: Building

Your Workshop

  1. Pick one agent
  2. Pay for the plan
  3. Instruction files
  4. Working files
  5. Git
  6. Permissions
  7. Context
  8. A normal evening

MCPs, CLIs and Templates

  1. Code is half the job
  2. What MCP is
  3. CLI first
  4. Domains
  5. GitHub
  6. Hosting
  7. Payments
  8. Verification
  9. Browser automation
  10. Design
  11. Template everything
  12. Keep it safe

Prompting Like a Senior Engineer

  1. Context
  2. Explore before you edit
  3. Plan, then approve
  4. Constraints and non-goals
  5. Tests as the definition of done
  6. Ask before assuming
  7. Specs for bigger work
  8. Debugging
  9. Reviewing
  10. Refactoring
  11. Asking for evidence
  12. Don’t let it make things up
  13. How long a prompt should be
  14. Starting cold
  15. Bad prompt, better prompt

Building the MVP

  1. Minimum product, normal standards
  2. What you don’t skip
  3. What you skip
  4. Choose tech you can judge
  5. The loop
  6. A worked example
  7. Testing with AI
  8. Done

When AI Goes Off the Rails

  1. Read the diff, not the summary
  2. Fixing the symptom
  3. Gaming the tests
  4. Inventing things
  5. The rewrite
  6. The loop
  7. Losing the plot
  8. Features nobody asked for
  9. Two places, two answers
  10. Mocking the thing you’re testing
  11. Over-engineering
  12. Making things up in copy
  13. The confident explanation
  14. When the tool itself changes
  15. The scary parts
  16. Recovery toolkit

Security

  1. Why AI code is weak here
  2. Authorisation on every request
  3. Don’t build your own auth
  4. Never trust the client
  5. Database rules left open
  6. Secrets
  7. Injection
  8. Leaks between tenants
  9. Cookies and CSRF
  10. Rich text and user HTML
  11. Webhooks
  12. Payment flows
  13. Uploads, fetching and rate limits
  14. Dependencies
  15. Licences and keys in your own products
  16. Desktop apps and credentials
  17. Logs and personal data
  18. Agents with real access
  19. A security review workflow
  20. Paid security work

AI Features

  1. Does it need a model
  2. Sometimes wrong
  3. Structured output
  4. Evals
  5. Cost
  6. Speed and failure
  7. Untrusted input
  8. Their data
  9. Models change
  10. Answering from documents
  11. Tools
  12. A worked example
  13. Selling it

Shipping

  1. Settle the name first
  2. The sales site
  3. Hosting the app itself
  4. Email that arrives
  5. Checkout
  6. Licence keys
  7. Updates
  8. Changelogs
  9. Release builds
  10. Signing and notarising
  11. Refunds
  12. Legal pages
  13. Support
  14. Analytics and privacy
  15. The launch check
  16. The template
  17. Part IV: Selling

Pricing

  1. Price against what they pay now
  2. Price the outcome, not the effort
  3. One-off or recurring
  4. Pricing AI features
  5. Where the cheap prices fit
  6. Business buyers pay differently
  7. Tiers and free editions
  8. Major versions
  9. Launch pricing and raising prices
  10. Refunds are part of the price
  11. Pricing client work
  12. Put a number on it

Launching

  1. Nobody is waiting
  2. What the page needs
  3. Proof
  4. Show the setup
  5. A worked page outline
  6. Limits
  7. The launch post
  8. Drafting with AI without sounding like AI
  9. The design trap
  10. Docs are marketing
  11. Where to announce
  12. Before you press publish
  13. After launch day

The Rescue Market

  1. Why this market exists
  2. What you’ll find
  3. App review
  4. Payments
  5. A launch-readiness audit
  6. What to sell
  7. You don’t have to be a mobile developer
  8. Talking to these clients
  9. Why this won’t last forever

Finding Clients

  1. Who’s hiring
  2. Don’t sell AI
  3. Be a specialist
  4. Where clients come from
  5. Spotting the wrong client
  6. The first call
  7. Sell an assessment first
  8. Writing the proposal
  9. Drafting proposals with AI
  10. Saying no

Delivering Client Work

  1. Before you open the code
  2. Getting your head around someone else’s code
  3. Changing the code
  4. Integrations
  5. Keeping the client in the loop
  6. The handover
  7. Support limits

Recurring Revenue

  1. Kinds of recurring money
  2. Showing the value
  3. Renewals
  4. Keeping maintenance cheap
  5. The support tax
  6. Platform risk
  7. Knowing when to stop
  8. Part V: Proof and Plan

Case Studies

  1. Tidewater
  2. Better Rich Text
  3. Shortlist
  4. Preset Bridge
  5. Query Anvil and Offset
  6. RangeSearch and RangeMenu
  7. PostShelf and Koala
  8. The billing audit
  9. Misses
  10. What they have in common

Your First 30 Days

  1. Before day one
  2. Week 1: find the problem
  3. Week 2: decide what to build
  4. Week 3: make it real
  5. Week 4: put it out there
  6. If you only have five hours a week
  7. A worked example

Go Build

  1. What you already have
  2. What you need to add
  3. Small is fine
  4. Keep your standards
  5. Timing
  6. Start

Appendix A: Prompt Library

  1. Finding problems
  2. Evaluating ideas
  3. Working with an agent
  4. Specs and implementation
  5. Debugging and review
  6. When it goes off the rails
  7. Security
  8. AI features
  9. Shipping and launching
  10. Rescue work
  11. Client work
  12. Maintenance and templates

Appendix B: Checklists

  1. Idea scorecard
  2. Problem sources
  3. Before you build
  4. MVP must-haves
  5. Security review
  6. AI feature review
  7. Payments review
  8. App Store pre-submission
  9. Launch
  10. Client onboarding
  11. Handover

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub