REALSCORE is a privacy-focused, browser-based automated text scoring system that provides real-time feedback on writing quality. Using TensorFlow.js, it analyzes text directly in your browser without sending data to any server.
- Real-time Analysis: Get instant feedback as you write
- Complete Privacy: All processing happens in your browser
- Multiple Scoring Dimensions:
- Grammar and syntax
- Content coherence
- Vocabulary richness
- Topic relevance
- Overall quality score
- Rich Text Editor: Full formatting capabilities
- Data Persistence: Auto-save and local storage
- Export Options: Save your work in multiple formats
- Responsive Design: Works on desktop and mobile
- Offline Support: Continue working without internet
- Frontend: React 18, TypeScript, Tailwind CSS
- Text Processing: TensorFlow.js, Universal Sentence Encoder
- State Management: React Context API
- Storage: LocalForage
- Text Editor: React Quill
- Visualization: Chart.js with React Chartjs 2
- Icons: Lucide React
- Build Tool: Vite
- Node.js 18.0.0 or higher
- Modern web browser (Chrome, Firefox, Safari, Edge)
- 4GB RAM minimum (8GB recommended)
- 500MB free disk space for model storage
-
Clone the repository:
git clone https://github.com/divuzki/realscore.git cd realscore -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:5173
-
Create a New Document:
- Click the "Create New Document" button
- Start typing in the rich text editor
-
View Analysis:
- See real-time scores in the sidebar
- Review detailed breakdowns for each metric
- Get suggestions for improvement
-
Save and Export:
- Documents auto-save to local storage
- Export to PDF, DOCX, or TXT formats
- Access previous documents from the dropdown menu
- Sentence structure
- Punctuation
- Subject-verb agreement
- Writing mechanics
- Logical flow
- Paragraph structure
- Transitions
- Overall organization
- Word choice
- Vocabulary diversity
- Language sophistication
- Context appropriateness
- Content focus
- Main idea development
- Supporting details
- Topic consistency
- All text analysis happens client-side
- No data sent to external servers
- Local storage encryption
- Optional data purging
- No analytics or tracking
src/
├── components/ # React components
├── hooks/ # Custom React hooks
├── types/ # TypeScript definitions
├── utils/ # Utility functions
└── main.tsx # Application entry pointTextEditor: Rich text editing interfaceScoreSidebar: Real-time scoring displayScoreRadarChart: Score visualizationModelLoader: ML model initialization
useTensorflowModels: ML model managementuseDocumentStorage: Local storage operations
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- TensorFlow.js team for browser ML capabilities
- React team for the excellent framework
- Open source community for various tools and libraries
- Initial model loading may take time
- Heavy CPU usage during analysis
- Limited to modern browsers
- Requires JavaScript enabled
Built with ❤️ using React and TensorFlow.js