A web-based communication application inspired by Google's Look to Speak experiment, designed to help people with speech and motor impairments communicate using eye gaze or keyboard navigation.
- Backend: Flask API server (
gazer_backend/) - Frontend: React application (
gazer_frontend/) - Legacy Frontend: Original HTML/JS implementation (
gazer frontend/)
- Phrase Management: Add, edit, delete, and organize communication phrases
- Speech Synthesis: Text-to-speech functionality for selected phrases
- Accessible Navigation: Keyboard and mouse-based phrase selection
- Responsive Design: Works on desktop and mobile devices
-
Navigate to the backend directory:
cd gazer_backend -
Activate the virtual environment:
pyenv local gazer_backend_venv -
Install dependencies:
pip install -r requirements.txt
-
Start the server:
python app.py
The backend will be available at http://localhost:9000
-
Navigate to the frontend directory:
cd gazer_frontend -
Install dependencies:
npm install
-
Start the development server:
npm start
The React application will open at http://localhost:3000
The backend provides the following endpoints:
GET /api/phrases- Get all phrasesPOST /api/phrases- Add a new phrasePUT /api/phrases/<id>- Update a phraseDELETE /api/phrases/<id>- Delete a phrasePOST /api/speak- Request speech synthesisGET /api/health- Health check
Frontend design: https://xd.adobe.com/view/92e35c80-86bc-4546-55c3-eafbd7b95242-e4d2/screen/6afa3601-b0aa-465f-8a55-dc994a798318/specs/