FixMyText is an AI-powered grammar correction web application that helps users improve their writing by detecting and fixing grammatical errors. This project utilizes the LanguageTool API, a free alternative to OpenAI, to analyze and suggest corrections for text input. Built with Node.js, Express.js, and EJS, FixMyText provides a simple and interactive interface for real-time grammar correction.
- 📝 Real-time Grammar Correction: Detects and fixes grammatical errors instantly.
- 🔥 Free & Fast API: Uses LanguageTool API for grammar checking.
- 🎨 User-friendly Interface: Built with EJS for dynamic rendering.
- 📡 Backend with Express.js: Lightweight and fast Node.js server.
- Frontend: HTML, CSS, EJS (for templating)
- Backend: Node.js, Express.js
- API: LanguageTool API
- Environment Management: dotenv
FixMyText/
│── views/ # EJS templates
│ ├── index.ejs # Main UI page
│── public/ # Static files (CSS, JS, images)
│── app.js # Main server file
│── package.json # Project dependencies
│── .env # API keys and environment variables
│── README.md # Project documentation
git clone https://github.com/ritikkumar55/FixMyText.git
cd FixMyText
npm install
Create a .env
file in the project root and add:
LANGUAGETOOL_API=https://api.languagetool.org/v2/check
node app.js
Then, open http://localhost:5000/ in your browser.
- Enter text in the input field.
- Click the "Correct My Text" button.
- View the corrected text and suggestions.
The app uses the LanguageTool API for grammar checking.
- Endpoint:
https://api.languagetool.org/v2/check
- Method: POST
- Parameters:
text
,language
This project is open-source and available under the MIT License.
Feel free to fork this project, open issues, and submit pull requests to improve FixMyText!
For any questions or collaborations, reach out to:
📧 [email protected]
🔗 Your GitHub Profile