Sarah MVP Launch
π Just shipped my first personal project from the Boot.dev curriculum β and what started as a simple idea quickly evolved into a full-fledged SaaS concept.
π GitHub: github.com/pbrazeale/sarah
Meet Sarah β an AI-powered editing assistant for fiction authors. She helps break down manuscripts into chapters, analyze beat structure, perform line edits, and deliver developmental feedback β all tailored to your genre, tense, and point of view.
Along the way, I learned a ton:
- π§ AI can (and should) be your code review partner β Gemini saved me more than once from invisible bugs and variable mismatches.
- β³ Handling long API calls? I used
threading
+itertools.cycle()
to add a CLI loading spinner β no more checking web dashboards or racking up surprise bills. - π Starting over isnβt failure. Itβs a natural part of development. Rewriting code with hard-earned clarity is worth it.
- β Oh β and plan for twice the time and three times the caffeine. Always!
Now I’m diving into web design and interfaces using FastAPI, Jinja, and Tailwind CSS to take this idea even further. Excited to keep building and sharing!
β¨ Key Features
β Manuscript Upload & Processing
- Accepts .docx files.
- Extracts title and creates project directories for organized outputs.
- Splits manuscripts into chapters based on Heading 1 structure.
- Preserves rich text formatting (bold, italics, underline).
π Editing Options
- Line Editing tailored to:
- Genre & subgenre
- Tense (past/present)
- Point of View (1st, 3rd limited, 3rd omniscient)
- Developmental Editing providing deep, actionable feedback:
- Full novel analysis
- Beat sheet creation
- Act-level and chapter-level developmental edits
β‘ Output & Downloads
- Generates clean .md files for each chapter.
- Saves Beat Sheets, Manuscript Developmental Edits, and Chapter Edits.
- Designed for easy conversion back to .docx, .epub, or print-ready formats.
π§ Project Status
Sarah is under active development with core functionality in place:
- β .docx upload and chapter splitting
- β Beat Sheet generation
- β Manuscript Developmental Editing
- β Chapter Developmental Editing
- π οΈ CLI-based workflow (GUI planned for future)
- π¦ Export features to organized directories
β οΈ Note on Prompts & Guidelines
This project uses a modular prompting system. You must provide your own:
- guidelines.py This file defines your editing guidelines and examples to guide the LLM according to your editorial style or genre expectations.
π οΈ Project Structure
Sarah/
βββ main.py
βββ requirements.txt
βββ functions/
β βββ process_chapter.py
β βββ openrouter_call.py
βββ prompts/
β βββ prompt.py
β βββ guidelines.py*
βββ working_dir/
β βββ import/
β βββ export/
β βββ markdown/
βββ .env
βββ README.md
π Roadmap
- GUI-based interface for easier usage
- EPUB export integration
- Enhanced error handling and validation
- Author-focused SaaS deployment
π License
This project is currently proprietary to Aconite Cafe for internal author tooling. Licensing terms for external use are pending.
π‘ Credits
Sarah is developed by Aconite Cafe, combining AI editing expertise with indie author publishing experience to create tools that empower storytellers.
βHelping authors tell better stories, one AI edit at a time.β