GitHunt
VA

Vaibhavii3/AI-Writing-Assistant

AI Writing Assistant - A full-stack React & Node.js application with 13 AI-powered text processing modes using Google Gemini. Features include grammar correction, tone adjustment, vocabulary enhancement, SEO optimization, translation, and goal-based content generation. Clean UI with real-time processing and multi-language support.

โœจ AI Writing Assistant - Intelligent Text Enhancement Tool

A powerful full-stack web application powered by Google Gemini AI that transforms your writing with 13+ intelligent text processing modes. No authentication required - just paste your text and enhance it instantly!

๐ŸŽฏ What Makes This Special?

This isn't just another grammar checker. It's a comprehensive writing assistant that understands context, tone, and purpose. From fixing typos to completely rewriting content for different audiences, this tool does it all.

๐Ÿš€ Features

๐Ÿค– 13 AI-Powered Modes

  1. โœ“ Spell Check - Catch and fix spelling errors
  2. ๐Ÿ“ Grammar Fix - Correct grammatical mistakes
  3. ๐Ÿ”„ Rephrase - Rewrite text while preserving meaning
  4. ๐ŸŽญ Change Tone - Adjust writing style (professional, casual, formal, friendly, academic, humorous, empathetic)
  5. ๐Ÿ“š Enhance Vocabulary - Upgrade word choice and language sophistication
  6. ๐Ÿ“ Expand Text - Add detail and depth to brief content
  7. ๐Ÿ“‰ Make Concise - Compress lengthy text without losing key points
  8. ๐Ÿ” Analyze Writing - Get insights on readability, tone, and structure
  9. ๐Ÿš€ SEO Optimize - Improve content for search engine visibility
  10. ๐Ÿ“„ Summarize - Extract key points from long text
  11. โ€ข Convert to Bullets - Transform paragraphs into bullet points
  12. ๐ŸŒ Translate - Convert text to different languages (English, Hindi, Spanish, French)
  13. ๐ŸŽฏ Goal-Based Writing - Generate content for specific purposes (emails, essays, stories, blogs, social media, resumes, cover letters)

๐ŸŽจ Smart Customization Options

  • Target Audience: General, Academic, Professional, Casual, Children
  • Formality Level: Formal, Neutral, Casual
  • Tone Selection: Professional, Casual, Formal, Friendly, Academic, Humorous, Empathetic
  • Language Support: Multi-language translation support

๐Ÿ’ก User Experience

  • Clean, Intuitive Interface - Beautiful gradient design with smooth interactions
  • Real-time Statistics - Word count, character count for both input and output
  • Side-by-Side Comparison - View original and enhanced text together
  • One-Click Copy - Copy results to clipboard instantly
  • Responsive Design - Works seamlessly on desktop, tablet, and mobile

๐Ÿ› ๏ธ Tech Stack

Frontend

  • React.js - Modern UI with hooks (useState)
  • Axios - HTTP client for API requests
  • Inline Styling - Custom gradient-based design system
  • Responsive CSS Grid - Adaptive layout

Backend

  • Node.js with Express.js - RESTful API server
  • CORS - Cross-origin resource sharing
  • dotenv - Environment variable management
  • Axios - Gemini AI API integration

AI Integration

  • Google Gemini API - Advanced language model for text processing
  • Custom prompt engineering for each mode
  • Context-aware processing based on audience and formality

๐Ÿš€ Installation & Setup

Prerequisites

  • Node.js (v14+)
  • npm or yarn
  • Google Gemini API Key

Backend Setup

# Navigate to backend directory
cd backend

# Install dependencies
npm install

# Create .env file
touch .env

# Add your Gemini API key to .env
GEMINI_API_KEY=your_api_key_here
PORT=5000

# Start the server
npm start

Frontend Setup

# Navigate to frontend directory
cd frontend

# Install dependencies
npm install

# Create .env file
touch .env

# Add backend URL to .env
REACT_APP_API_URL=http://localhost:5000

# Start the development server
npm start

The app will open at http://localhost:3000

๐ŸŽฎ How to Use

  1. Select a Mode - Choose from 13 different text processing modes
  2. Customize Settings - Set tone, audience, formality, or language as needed
  3. Enter Your Text - Paste or type your content in the input editor
  4. Process - Click "Process Text" and let AI work its magic
  5. Review & Copy - View enhanced text side-by-side, then copy with one click

๐Ÿ“Š Example Use Cases

  • Students: Grammar check essays, enhance vocabulary, expand answers
  • Professionals: Write formal emails, optimize LinkedIn posts, create resumes
  • Content Creators: SEO optimize blogs, generate engaging social media posts
  • Writers: Rephrase sentences, change tone, summarize research
  • Non-native Speakers: Fix grammar, translate content, adjust formality

๐Ÿ”’ Privacy

  • No user authentication required - Start using immediately
  • No data storage - Your text is processed and immediately discarded
  • Secure API calls - Direct communication between your browser and backend

๐ŸŒŸ Key Highlights

  • โšก Fast Processing - Gemini AI delivers results in seconds
  • ๐ŸŽจ Beautiful UI - Warm gradient theme with smooth animations
  • ๐Ÿ“ฑ Fully Responsive - Works on all devices
  • ๐Ÿ”ง Highly Customizable - Multiple options for each mode
  • ๐Ÿ’ฏ Production Ready - Clean code, error handling, loading states

๐Ÿค Contributing

Contributions are welcome! Feel free to:

  • Report bugs
  • Suggest new features
  • Submit pull requests

๐Ÿ“ License

This project is open source and available under the MIT License.

๐Ÿ‘จโ€๐Ÿ’ป Author

Vaibhavi

๐Ÿ™ Acknowledgments

  • Google Gemini AI for powerful language processing
  • React community for excellent documentation
  • All contributors and users

Made with โค๏ธ and AI | Transform your writing today!