Inspiration

Our inspiration for WordWeaverAI came from witnessing countless students struggle with essay writing - not because they lack ideas, but because they struggle with structure, organization, and getting started. As former students ourselves, we remember the anxiety of staring at a blank page, unsure how to transform scattered thoughts into a coherent essay. We wanted to create a tool that doesn't just write essays for students but empowers them by providing a strong foundation they can build upon, learn from, and make their own.

What it does

WordWeaverAI is a comprehensive essay assistant that helps users through the entire essay-writing process:

AI-Powered Generation: Users input a topic, optional thesis, and key arguments to generate a well-structured essay. Smart Editing Environment: A markdown editor with live preview allows users to refine the AI-generated content. Citations Management: The platform automatically tracks sources and generates formatted citations. Essay Review & Analysis: Users receive AI feedback on grammar, structure, substance, and overall quality. Targeted Essay Tweaking: Submit specific feedback (e.g., "strengthen the conclusion") and the AI makes targeted improvements. Multiple Export Options: Download essays as markdown or PDF documents.

How we built it

We built WordWeaverAI using a modern tech stack:

Frontend: Next.js 14 with React and TypeScript for a responsive, dynamic user interface Styling: TailwindCSS for custom gradient designs and responsive layouts Backend: Next.js API routes with serverless functions handling data processing Database: MongoDB with Mongoose for data persistence and modeling Authentication: Custom JWT-based authentication system AI Integration: Perplexity AI API for essay generation, reviews, and tweaking with custom prompting techniques

Challenges we ran into

Building WordWeaverAI presented several challenges:

AI Response Formatting: Ensuring consistently structured essays from the AI required extensive prompt engineering. Mobile Responsiveness: Creating a complex interface that works seamlessly on all devices required multiple UI iterations. PDF Generation: Implementing browser-based PDF exports without dependencies was particularly challenging. API Optimization: Balancing essay quality with API costs and response times required creative solutions. Real-time Word Counting: Implementing accurate word counting across different views while maintaining performance. Accomplishments that we're proud of Creating an intuitive, beautiful UI that makes writing less intimidating Successfully implementing the essay "tweaking" feature that applies targeted improvements Building a complete essay ecosystem that handles the entire workflow from idea to finished document Developing a responsive design that works flawlessly on both desktop and mobile Implementing an analytics system that provides genuinely helpful feedback to writers

What we learned

Through this project, we gained valuable experience in:

Advanced state management in complex React applications Creating effective AI prompts that generate consistent, high-quality content Building responsive UI components that adapt to different screen sizes Implementing authentication and user data protection Optimizing API usage to balance costs and performance Converting markdown to different formats for export

What's next for WordWeaverAI

We have exciting plans for WordWeaverAI's future:

Plagiarism Detection: Implement tools to ensure originality Research Database Integration: Connect with academic sources for better citations Collaborative Editing: Allow multiple users to work on the same essay Subject-Specific Templates: Customize essay structures for different subjects and styles Advanced Export Options: Additional formats like Word, Google Docs integration Enhanced Analytics: More detailed feedback on writing style and composition

Built With

Share this project:

Updates