ReWriteX is an AI-assisted writing copilot that rewrites, humanizes, and audits content for originality. The project includes a Groq-powered Node/Express backend and a Vite/React frontend styled with Tailwind CSS.
- Paraphrase & Humanize – Rewrite text with configurable synonym strength.
- AI Detection – Classify likelihood that text was generated by AI.
- Plagiarism Insights – Estimate similarity against public sources.
- Full Report – Combine paraphrasing, AI detection, plagiarism, and editorial insights in one view.
- Responsive UI – Side-by-side input/output with animated ReWriteX branding.
backend/
controllers/
utils/
server.js
frontend/
src/
index.html
tailwind.config.js
- Node.js 18+ (v22 recommended)
- npm 9+
git clone https://github.com/Astrionix/REwriteX.git
cd REwriteX
# Install backend deps
cd backend
npm install
# Install frontend deps
cd ../frontend
npm installCreate .env files (never commit them!)
frontend/.env
VITE_API_BASE=http://localhost:5000
In two terminals:
Backend
cd backend
npm startFrontend
cd frontend
npm run devVisit http://localhost:5173 in your browser.
- Backend: deploy
backend/to Node-compatible host. Start commandnpm start. - Frontend: run
npm run buildinfrontend/and deploydist/to static host (setVITE_API_BASEto backend URL).
- Keep API keys in environment variables.
- Rotate credentials regularly.
- Monitor backend logs (Groq errors will be printed to console).
Pull requests are welcome! Please open an issue first for major changes.
MIT © 2025 Astrionix