TOKREPO · ARSENAL
New · this week

Book Author Self-Publishing — One Person, One Book, Shipped

Ten picks for the solo writer who plans, drafts, edits, covers, formats, and publishes a book without an agent or a publisher: outline tools, AI co-writers, a long-form Markdown editor, a cover-art pipeline, Pandoc + Calibre for EPUB/MOBI, an AI narrator for the audiobook, and a Ghost/Substack-style home for serialized long-form. Editorial — no royalty fairy tales.

10 assets

What's in this pack

You are one person writing one book. There is no agent, no publishing house, no production editor. You are also the cover designer, the EPUB technician, the audiobook narrator, the launch marketer, and the person who reads the KDP terms of service at midnight. Every existing "AI for authors" listicle is either (a) a vendor's affiliate page or (b) a generalist tool wall with 50 picks and no order.

This pack is the opinionated ten-tool rig across the six layers a self-publishing author actually crosses:

  • Outline — book structure, chapter beats, scene cards
  • Draft — AI co-writer + long-form editor for daily wordcount
  • Edit — second-pass tooling for prose-level revision
  • Cover — AI image generation tuned for book covers (not Instagram art)
  • Format — Markdown → EPUB / MOBI / print-ready PDF via Pandoc + Calibre
  • Publish — Amazon KDP for paperback + Kindle, plus a Ghost/Substack-style home for serialised long-form

Everything here is open-source or self-hostable. The two paid alternatives commonly named in this space — Scrivener and Sudowrite — are good products; this pack just covers the OSS-first path so you don't end up with five subscriptions for a book that pays $40/month.

Install in this order (outline → draft → edit → cover → format → publish)

  1. Novel — Notion-Style AI Editor Component (outline + draft) — Start here. A clean WYSIWYG block editor with slash-commands and a Notion feel, plus an embedded AI completion that's good enough to ghostwrite the boring connective sentences. Use it to lay down a chapter outline and the first 500 words of each section before you go anywhere near a heavier editor.
  2. Claude Code Agent: Technical Writer (AI co-draft) — The agent originally tuned for API docs, but the prose-tightening it does is the single most useful thing AI can do for a long manuscript: cut padding, enforce voice consistency, surface contradictions between chapter 2 and chapter 11. Drop it in .claude/agents/ and run it on each chapter once before human edit.
  3. Zettlr — Open-Source Markdown Editor for Academic Writing (daily writing surface) — Distraction-free long-form Markdown editor with Pandoc baked in, citation manager, and a manuscript-aware sidebar (chapters, word count per file, project totals). This is where you put in the 1,500-words-a-day grind.
  4. MarkText — Simple and Elegant Open-Source Markdown Editor (edit pass) — Lightweight WYSIWYG-Markdown hybrid for the second pass. Open one chapter at a time, edit prose without the file-tree noise of a manuscript app. Pair with Zettlr (Zettlr for writing, MarkText for revision) rather than picking one.
  5. Stable Diffusion Web UI by AUTOMATIC1111 (cover, first draft) — Local Stable Diffusion install for cover concepting. Generate 50 covers in an hour at zero per-image cost. Use SDXL or Flux models, not the 1.5 defaults — covers need photographic detail.
  6. InvokeAI — Professional Creative Engine for Stable Diffusion (cover, finishing) — Professional canvas with layer-based inpainting and ControlNet. When you've found a concept in AUTOMATIC1111 but the title text needs to sit in a specific dead-zone of the image, this is where you finish it. Treat #5 as ideation and #6 as composition.
  7. Pandoc — Universal Document Format Converter (format) — The Markdown-to-everything converter. One command turns your chapter .md files into a valid EPUB, a print-ready PDF (via LaTeX), and a Word .docx for the editor you might still hire. Learn --reference-doc and --epub-cover-image early.
  8. Calibre-Web-Automated — Self-Hosted eBook Library with Auto Import and Conversion (format, EPUB QA) — Self-hosted Calibre wrapper. The killer use here is EPUB QA: import the Pandoc output, view it in three reader engines, fix the table-of-contents and CSS bugs before you ever upload to KDP. Also: it auto-converts EPUB → MOBI for legacy Kindle.
  9. F5-TTS — Flow Matching Text-to-Speech (audiobook narration) — Open-source, zero-cost TTS that's good enough to read non-fiction chapters and bad enough that you'll still want a human pass on dialogue-heavy fiction. The legal point matters: Audible/ACX accepts AI-narrated audiobooks but requires explicit disclosure as of 2025. Don't omit it.
  10. Ghost — Professional Publishing Platform for Modern Journalism (publish + serialised long-form) — Self-hosted Ghost is the open alternative to Substack for serialising chapters as a newsletter while the manuscript is still in progress. Free tier of readership beats a paywalled launch. Substack is fine too; pick Ghost if you want to own the email list and the URL.

How they fit together

Outline (Novel #1)
   │
   ├── chapter structure + first 500 words per section
   │
Draft loop:
   Zettlr (#3)  ⟵──── daily writing
      │
      └── Technical Writer agent (#2) ── prose-tightening pass per chapter
           │
           └── MarkText (#4) ── human revision pass
                 │
                 ▼
           Final Markdown manuscript
                 │
                 ├── Pandoc (#7) ───► EPUB / PDF / DOCX
                 │       │
                 │       └── Calibre-Web-Automated (#8) ─ EPUB QA, MOBI conversion
                 │
                 ├── SD WebUI (#5) ─► concept ─► InvokeAI (#6) ─► final cover PNG
                 │
                 └── F5-TTS (#9) ──► audiobook WAV/MP3 per chapter
                 │
   Publish:
      ├── Amazon KDP upload (EPUB + cover + paperback PDF)
      ├── Audible/ACX upload (audiobook + AI-narration disclosure)
      └── Ghost (#10) ── serialise chapters as newsletter for ARC readers

The load-bearing trio is Zettlr + Pandoc + Calibre-Web-Automated: writing surface, format converter, QA viewer. Without all three, you spend launch week fighting EPUB validator errors instead of marketing.

Tradeoffs you'll hit

  • AI co-writer vs human-only draft — Letting AI write paragraph one of a chapter saves time. Letting AI write the whole chapter produces second-chapter-quality-dropoff: the model loses tone consistency around the 4,000-word mark. Best practice: AI for connective tissue and outlines, human for every scene that carries emotion or argument.
  • KDP vs traditional publishing — KDP gets you to readers in 72 hours with full rights retained. Traditional gets you bookstore placement and a print run you don't have to fund, but expects a 12-18 month timeline and exclusivity. For non-fiction with a defined audience, KDP almost always wins on time-to-revenue. For literary fiction looking for prestige reviews, the calculus differs.
  • Paperback vs eBook-only — KDP print-on-demand makes paperback nearly free to add, and a physical book on Amazon dramatically improves the eBook's credibility. Default to both unless your topic is so niche that no one will browse the physical edition.
  • Substack vs self-hosted Ghost — Substack: zero ops, instant audience cross-promotion, takes 10% of paid revenue. Ghost (#10): you own the list, no platform cut, you run the server. Pick Substack to start, migrate to Ghost when the list crosses ~1,000 paid.
  • AI cover (#5/#6) vs Fiverr designer — A $35 Fiverr cover is competent and forgettable. A 6-hour AI session can be either striking or amateurish. The rule: if you can describe your book's tone in three concrete visual references, AI wins. If you can't, hire someone.

Common pitfalls

  • AI chapter-two quality dropoff — The first chapter the model writes is fresh and on-voice. Chapter two onwards drifts. The fix: re-prime the agent with a one-paragraph style sheet (voice: skeptical / second person / no semicolons) at the start of every chapter session, and run #2 over the whole manuscript at the end to catch drift.
  • EPUB formatting chaos — Pandoc-generated EPUBs are valid but ugly out of the box. Custom CSS via --css and a --reference-doc style template are mandatory, not optional. Always preview in Calibre-Web-Automated AND on a real Kindle before upload — the web preview lies.
  • Cover violates KDP guidelines — KDP rejects covers with cropped text, AI-watermarks left in by mistake, or trim-line bleed in the wrong place. Read the KDP cover spec once, save it as a checklist, and check every export. Rejections cost 48 hours.
  • No ARC (advance reader copy) program — Launching with zero reviews is the single biggest self-publishing mistake. Use Ghost (#10) to serialise the last three chapters to a closed list 30 days pre-launch and ask for honest Amazon reviews on launch day. Twenty real reviews beat any ad spend.
  • Audiobook royalty math wrong — Audible/ACX pays 40% royalty on exclusive contracts, 25% on non-exclusive. AI narration is allowed but must be disclosed as of 2025, and some authors report lower discoverability for disclosed AI titles. Don't assume audiobook revenue without running the math against your actual list price and runtime.
INSTALL · ONE COMMAND
$ tokrepo install pack/book-author-self-publishing
hand it to your agent — or paste it in your terminal
What's inside

10 assets in this pack

Prompt#01
Novel — Notion-Style AI Editor Component

WYSIWYG editor with AI autocompletion, slash commands, and bubble menu. Drop into any React app. 16K+ GitHub stars.

by Prompt Lab·84 views
$ tokrepo install novel-notion-style-ai-editor-component-1f0b3eee
Skill#02
Claude Code Agent: Technical Writer

Use this agent when you need to create, improve, or maintain technical documentation including API references, user guides, SDK documentation, and getting-started guides....

by TokRepo精选·29 views
$ tokrepo install claude-code-agent-technical-writer-8550fc7e
Skill#03
Zettlr — Open-Source Markdown Editor for Academic Writing

Zettlr is a cross-platform Markdown editor designed for researchers and writers, combining distraction-free writing with citation management, Zettelkasten note-linking, and academic export via Pandoc.

by AI Open Source·145 views
$ tokrepo install zettlr-open-source-markdown-editor-academic-writing-ae682a86
Skill#04
MarkText — Simple and Elegant Open-Source Markdown Editor

MarkText is a free and open-source Markdown editor for Linux, macOS, and Windows. It features real-time preview, multiple editing modes, and a distraction-free writing experience built with Electron.

by Script Depot·37 views
$ tokrepo install marktext-simple-elegant-open-source-markdown-editor-eeaffe32
Skill#05
Pandoc — Universal Document Format Converter

Pandoc is a universal document converter that reads and writes dozens of markup formats. It converts between Markdown, LaTeX, HTML, DOCX, EPUB, PDF, and many more with a single command.

by Script Depot·128 views
$ tokrepo install pandoc-universal-document-format-converter-303b73e0
Skill#06
Calibre-Web-Automated — Self-Hosted eBook Library with Auto Import and Conversion

An enhanced fork of Calibre-Web that adds automatic book importing, format conversion, and metadata enrichment for a fully hands-off eBook management experience.

by Script Depot·100 views
$ tokrepo install calibre-web-automated-self-hosted-ebook-library-auto-import-e55e6c06
Skill#07
Stable Diffusion Web UI by AUTOMATIC1111 — The Definitive Local AI Image Generator

AUTOMATIC1111's Stable Diffusion Web UI is the most popular interface for running Stable Diffusion locally. It supports text-to-image, image-to-image, inpainting, ControlNet, LoRA, embeddings, extensions, and every model variant — all in a self-hosted browser UI.

by Script Depot·124 views
$ tokrepo install stable-diffusion-web-ui-automatic1111-definitive-local-ai-b0727fbf
Skill#08
InvokeAI — Professional Creative Engine for Stable Diffusion

A leading open-source creative engine for Stable Diffusion and Flux models with a polished WebUI, node-based workflows, and production-grade image generation.

by Script Depot·129 views
$ tokrepo install invokeai-professional-creative-engine-stable-diffusion-4d4c2b85
Skill#09
F5-TTS — Flow Matching Text-to-Speech

F5-TTS is a diffusion transformer TTS system with flow matching. 14.3K+ GitHub stars. Multi-speaker, voice chat, Gradio UI, CLI inference, 0.04 RTF on L20 GPU. MIT code.

by Script Depot·188 views
$ tokrepo install f5-tts-flow-matching-text-speech-093755c4
Skill#10
Ghost — Professional Publishing Platform for Modern Journalism

Ghost is an open-source publishing platform built for professional publishers. It bundles a blazing-fast Node.js CMS, Substack-style paid memberships, email newsletters, and SEO — everything a modern publication needs, self-hosted.

by AI Open Source·194 views
$ tokrepo install ghost-professional-publishing-platform-modern-journalism-300e919c
FAQ

Frequently asked questions

Is Sudowrite good enough for novel writing?

For genre fiction with established beats (romance, thriller, cozy mystery), Sudowrite is genuinely useful — it knows the conventions and can generate workable scene drafts faster than most humans type. For literary fiction or anything with a distinctive voice, it pushes you toward the genre mean and you'll spend the saved time fighting it back to your style. This pack covers the open-source path with Novel (#1) and the Technical Writer agent (#2) which together do most of what Sudowrite charges $19-$59/month for, with the tradeoff that you do more of the prompting yourself. Try both; pick the one that produces fewer sentences you have to rewrite.

What does Amazon KDP actually require to publish a book?

A KDP account (free, takes ~10 minutes), tax interview (W-9 for US, W-8BEN for non-US authors, takes 20 minutes), bank account for royalty deposits, and three files: an EPUB or DOC manuscript (this pack: produced by Pandoc #7 from your Markdown), a cover image at the exact spec for your trim size (produced by Stable Diffusion WebUI #5 → InvokeAI #6), and a paperback interior PDF if you're doing print (Pandoc again, with --pdf-engine=lualatex). Plus metadata: title, subtitle, 7 categories, 7 keywords, and a sub-4000-character description. Total active setup time once files are ready: 90 minutes. Approval usually arrives within 72 hours.

Can AI-narrated audiobooks be sold on Audible?

Yes as of 2025 — ACX (the Audible upload portal) accepts AI-narrated audiobooks, but with mandatory disclosure: the title must declare AI narration, and some authors have reported reduced discoverability for disclosed AI titles. F5-TTS (#9) produces quality good enough for non-fiction and educational books; dialogue-heavy fiction still sounds noticeably AI-narrated and tends to underperform reviews. The economics: AI lets you publish an audiobook for ~$0 in production cost vs $200-$400/finished-hour for human narration, but expect lower royalty per sale than a professionally-narrated equivalent. Run the math on your specific genre.

Can I commercially use covers made with Stable Diffusion or InvokeAI?

Generally yes — the model weights for Stable Diffusion 1.5, SDXL, and most community Flux variants are released under licenses that permit commercial use of the outputs. KDP does not currently prohibit AI-generated covers but does ask you to disclose AI use during the upload flow. The remaining risks are: trademark (don't recreate copyrighted character likenesses), style mimicry (don't generate "in the style of [living artist]" for commercial covers), and embedded watermarks (some models leave faint marks — check at 100% zoom before submitting). Read the specific model card for whatever checkpoint you use; community Flux models occasionally have non-commercial license restrictions.

Can you actually make money self-publishing?

Honest answer: most self-published books earn under $1,000 lifetime. The median monthly KDP royalty for an active author is in the low three figures. Authors who clear five figures monthly almost always have either (a) a series in a hot genre with consistent monthly releases, (b) an existing audience they're selling into, or (c) a non-fiction book that sells alongside a paid course or service. This pack will not magically change that. What it will do: cut your production cost from $2,000-$5,000 (cover + editor + formatting + ISBN + narrator) to under $200, so a modest-selling book is still profitable. Treat the first book as a learning project and the third or fourth as the one with revenue expectations.

MORE FROM THE ARSENAL

12 packs · 80+ hand-picked assets

Browse every curated bundle on the home page

Back to all packs