A personal grammar, style, and readability editor. Paste an article, run a single Gemini API call, and get back inline highlighted errors with a feedback panel — like a Grammarly + Hemingway hybrid built for your personal writing standards.
git clone <repo-url>
cd writecheck
npm installCreate .env.local:
GOOGLE_API_KEY=your_google_api_key_here
Get a free API key from Google AI Studio.
npm run devOpen http://localhost:3000.
- Push to GitHub
- Import the repo on vercel.com
- Add
GOOGLE_API_KEYas an environment variable - Deploy
| Pillar | Color | What it checks |
|---|---|---|
| Grammar | Red | Parts of speech, agreement, common confusions (their/there/they're, etc.) |
| Syntax | Orange | Sentence structure, fragments, run-ons, dangling modifiers |
| Mechanics | Yellow | Spelling, capitalization, formatting consistency |
| Punctuation | Blue | Commas, semicolons, hyphens, dashes, apostrophes |
| Style | Purple | Passive voice, banned words, readability, sentence length |
- General — 25-word max sentence, grade 8 readability
- SEO Article — 22-word max, grade 7, short paragraphs
- LinkedIn Post — 18-word max, grade 6, conversational tone
- Internal Doc — 30-word max, grade 10, technical jargon OK
Edit config/style-rules.ts to modify:
- Banned words and phrases
- Mode-specific settings (sentence length, readability targets)
- Extra rules per content mode
Google Gemini 2.5 Flash free tier: 10 requests/minute, 250 requests/day. More than enough for personal use.
- Next.js 14 (App Router) + TypeScript
- Tailwind CSS (light + dark mode)
- Google Gemini 2.5 Flash via
@google/generative-ai - Deployed on Vercel (free hobby tier)
