Project Story: The Birth of Bwriter Inspiration For centuries, writing a book has been a solitary, agonizingly slow process. Modern authors are constantly on the move, yet traditional publishing tools remain chained to desktop environments and clunky word processors. As an author trying to produce high-quality books efficiently, I realized that mobile devices were being treated as consumption tools rather than production powerhouses. Furthermore, while Large Language Models like Gemini have revolutionized ideation, existing tools treat AI as a gimmicky chatbot rather than a structured engine for drafting. I built Bwriter to fix this—creating a mobile-first, collaborative studio designed to 10x an author’s drafting speed and turn ideas into published works on the go. What It Does Bwriter is an Android-native authoring environment that transforms mobile devices into full-fledged publishing studios.

  • Seamless Onboarding: Authenticates users instantly using their Google accounts.
  • Granular Collaboration: Allows authors to invite collaborators via their Google email addresses, assigning specific roles as Editors or Contributors to review, edit, or co-write manuscripts.
  • AI-Accelerated Studio: Deeply integrates Gemini LLM workflows to help authors scaffold outlines, resolve writer’s block, and rapidly generate drafts without leaving the workspace.
  • Mobile-First Pipeline: Built from the ground up to compile, store, and manage book projects seamlessly from a handheld device. How We Built It
  • Frontend & UI: Designed natively for Android to deliver a fast, responsive interface tailored for long-form text editing on high-density mobile screens.
  • Authentication & Access: Leveraged Google Identity for seamless single sign-on (SSO) and access management across workspace boundaries.
  • AI Engine: Integrated Gemini APIs to handle contextual prompt engineering, structured story generation, and dynamic chapter expansion.
  • DevOps & CI/CD: Configured automated build pipelines using GitHub Actions to continuously compile, sign, and distribute release-ready Android APK artifacts. Challenges We Ran Into
  • State & Sync Synchronization: Decoupling book storage from local device memory to enable multi-user collaboration via Google accounts required completely rethinking data access boundaries and conflict resolution.
  • Mobile Compilation Constraints: Managing low-level dependencies and building an APK pipeline directly from terminally restricted environments demanded careful control over memory and build flags.
  • AI Output Integration: Structuring Gemini’s generation logic so that it outputs actionable, book-ready prose rather than generic chatbot responses required rigorous prompt architecture and UI state integration. Accomplishments That We're Proud Of
  • Successfully built a mobile studio that turns an Android device into a professional-grade publishing tool.
  • Created a clean, friction-free integration with Gemini that genuinely accelerates drafting speed up to 10x without sacrificing the author's voice.
  • Developed an end-to-end continuous integration pipeline that automatically packages signed APKs ready for testing and distribution. What We Learned
  • Mobile Power User Dynamics: Mobile authoring requires a drastically different UI paradigm than desktop processors—focusing on fluid navigation and zero-friction input.
  • Collaboration Infrastructure: Architecting access control lists (ACLs) around federated identities (like Google OAuth) simplifies collaborator management and eliminates manual account setup. What's Next for Bwriter
  • Real-time Co-Editing: Implementing Operational Transformation (OT) or CRDTs for sub-second, multi-cursor live collaboration inside the same chapter.
  • Direct Store Export: Adding one-click export pipelines to format manuscripts directly into ePub, PDF, and Kindle formats for immediate self-publishing.
  • Offline-First Sync: Hardening local offline caching so authors can write uninterrupted without cellular coverage, automatically syncing when reconnected.

Built With

Share this project:

Updates