Novel Studio: Offline Creative Writing Assistance Inspiration

The inspiration for this project came from reading the book The 1000 Year Old Boy by Ross Welford. The story deeply fascinated me — its imagination, emotional depth, and timeless themes made me want to create my own stories. However, while writing, I often faced many distractions that broke my focus and flow.

That’s when the idea struck — what if I could build a private, offline space to write creatively, powered by AI, without needing the internet? Thus, Novel Studio was born.

How I Built It

I developed Novel Studio as a progressive, on-device writing assistant that uses the Gemini Nano AI APIs built directly into Chrome. The project was built entirely with:

HTML, CSS, and JavaScript — for simplicity and offline capability

Gemini Nano’s Writer, Rewriter, and Proofreader APIs — to help users write, refine, and perfect their creative work

Origin trial tokens — to securely enable experimental AI APIs during offline or limited connectivity usage

The system is fully functional even when users are disconnected from the internet, allowing private, distraction-free writing sessions.

What I Learned

Through this project, I learned about:

Integrating on-device AI models using browser APIs

Handling API origin trials and feature detection

Designing clean, minimal UI/UX for offline-first apps

Understanding the balance between AI assistance and human creativity

Challenges Faced

Some of the major challenges were:

Getting the origin trial tokens to work properly across all APIs

Managing proofreading and rewriting tone parameters (which were case-sensitive)

Testing the application in offline mode to ensure it remained functional

Keeping the user experience minimal and intuitive while maintaining advanced AI features

Conclusion

Novel Studio is not just a writing tool — it’s a digital sanctuary for creators. It allows anyone to write, rephrase, and refine their ideas with the help of local AI, free from distractions and privacy concerns.

It started as a personal need for focus and creative freedom, and it has grown into something that can empower many writers like me.

Built With

Share this project:

Updates