Skip to content

MohidUmer/WordWise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

150 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Wise – Smart Grammar & Writing Assistant


1. Project Overview

1.1 Why

WordWise was created to improve writing clarity, correctness, and confidence in real time.
It addresses the common issues faced by students and professionals such as grammatical errors, poor sentence flow, and lack of writing insights — while maintaining privacy-first and lightweight design principles.

1.2 What

A web-based smart grammar & writing assistant that provides:

  • Real-time grammar, spelling, and punctuation correction
  • Context-aware writing suggestions
  • Visual writing analytics and insights
  • Interactive brainstorming via a drawing board
  • Offline engagement through a built-in mini-game

1.3 How (High-Level)

  • User text is analyzed live through a grammar-checking API
  • Suggestions are rendered instantly on the frontend
  • Writing metrics are visualized using interactive charts
  • Backend enforces rate limiting and stability
  • Offline states activate an interactive game to retain engagement

2. Features

  • ✍️ Real-Time Grammar Checking – Spelling, grammar, and punctuation detection
  • 🧠 Context-Aware Suggestions – Smarter replacements, not just rule-based fixes
  • 🎨 Freedom Board – Drawing and brainstorming alongside text
  • 📊 Writing Analytics Dashboard – Word count, error trends, readability insights
  • 🌙 Modern UI – Smooth animations, clean layout, dark-mode friendly
  • 🎮 Offline Mini-Game – “Word Catcher” activates during downtime
  • 🔒 Privacy-Focused Design – No permanent storage of user content

3. Tech Stack

  • Frontend:

    • HTML5
    • CSS3 (Vanilla + Tailwind utilities)
    • JavaScript (ES6+)
    • GSAP (Animations)
    • Chart.js (Data Visualization)
  • Backend:

    • Python (Flask)
    • Flask-CORS
    • Flask-Limiter (Rate limiting)
  • Deployment:

    • Vercel (Serverless-ready with @vercel/python)

4. Project Structure


WordWise/
├── static/
│   ├── css/
│   ├── js/
│   └── assets/
├── templates/
│   └── index.html
├── app.py
├── requirements.txt
├── vercel.json
├── .gitignore
└── README.md


5. Setup & Usage

5.1 Prerequisites

  • Python 3.8 or later
  • pip package manager
  • Internet connection (for grammar API)

5.2 Installation

git clone https://github.com/MohidUmer/WordWise.git
cd wordwise
pip install -r requirements.txt

5.3 Run Locally

python app.py

Access the application at:

http://localhost:5000

6. Major Components

6.1 Grammar Engine

  • Processes text in real time
  • Detects grammar, spelling, and punctuation issues
  • Returns contextual suggestions

6.2 Analytics Dashboard

  • Displays visual metrics using charts
  • Tracks writing trends and error frequency
  • Helps users understand writing patterns

6.3 Freedom Board

  • Canvas-based drawing and note-taking tool
  • Supports ideation, planning, and brainstorming

6.4 Offline Game Module

  • Activates automatically when backend is unavailable
  • Includes scoring, lives system, and sound effects

7. Data Handling & Privacy

  • User-written text is not permanently stored
  • Grammar checks are processed ephemerally
  • No authentication or personal identifiers required
  • Designed with privacy-first principles

8. System Workflow

  1. User Inputs Text – Typed directly into the editor
  2. Grammar Analysis – Backend processes text
  3. Suggestions Returned – Highlighted in real time
  4. Analytics Updated – Charts reflect writing metrics
  5. Offline Mode – Mini-game activates if server is unavailable

9. API & Stability

  • Rate limiting enforced via Flask-Limiter
  • CORS configured for frontend-backend communication
  • Serverless-compatible request handling

10. Limitations

  • Single-user workflow (no accounts)
  • Dependency on external grammar API
  • No persistent history tracking yet
  • Web-only interface (no mobile app)

11. Usage Example

User types paragraph →
Errors highlighted →
Suggestions shown →
Analytics update in dashboard

During downtime:

Server offline →
Word Catcher game activates

12. Future Improvements

  • User authentication and personal history
  • PDF / DOCX export support
  • Offline grammar engine
  • Voice-to-text integration
  • AI-powered vocabulary enhancement

13. Educational & Practical Value

WordWise demonstrates:

  • Real-time client–server interaction
  • API integration and rate limiting
  • Interactive UI/UX design
  • Serverless deployment workflow
  • Privacy-conscious system design

14. Author & Contact

Name: Mohid Umer
Email: mohidumer112@gmail.com


15. License & Usage

  • Educational and personal use only
  • Proper attribution required
  • Not permitted for academic plagiarism
  • See repository LICENSE for details

WordWise showcases modern web development, real-time processing, and user-focused design through a clean and practical writing assistant.


About

WordWise is a smart grammar and writing assistant that provides real-time language corrections, writing analytics, and productivity tools through a modern web interface.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors