A pixel art themed language learning app with engaging interactive features, built with React, Tailwind CSS, and Sarvam API for text-to-speech translation.
Dialecto is a language learning platform designed with a pixel art aesthetic, aimed at making language acquisition fun and interactive. This project was developed using React and Tailwind CSS, leveraging Sarvam API for text-to-speech translation, and Framer Motion for smooth animations. Dialecto provides a variety of features, including story mode exercises, pronunciation checks, a memory game, and progress tracking, all while adapting to the user's chosen language.
-
Player Progress & Leaderboard:
- Users earn points as they complete activities, which contributes to their ranking on a public leaderboard.
- Progress is saved to personalize the learning experience.
-
Dynamic Background Themes: The website theme changes based on the selected language, creating an immersive learning environment.
-
Daily Exercise Section:
- Users receive new words daily with meanings, use-case examples, and pronunciation assistance.
- Difficulty adjusts to the user’s points for each language, providing a customized learning experience.
-
Story Mode:
- An interactive story is generated based on the user's points, presented in segments.
- Users read aloud story sentences; pronunciation feedback is provided by "Gemini," the app’s evaluation tool.
- Points are awarded for completed stories, with background images matching story themes to enhance engagement.
-
Memory Game:
- A matching game with cards displaying words in the chosen language and their English translations.
- Users earn points by correctly matching cards, reinforcing vocabulary through play.
-
Exclusive Feature: Pixey:
- Tongue Twister: Generates a tongue twister in the selected language for pronunciation practice; feedback is provided by Gemini.
- Chatbot: A conversational assistant for word meanings, phrases, and usage examples.
- Grammar Buddy: Evaluates pronunciation of spoken words and provides usage examples.
-
User Authentication: Supports login and signup for personalized access to progress, scores, and settings.
-
About Us Page: Information about the creators, purpose, and technology behind Dialecto.
- Frontend: React, Tailwind CSS
- Text and Speech APIs: Sarvam API (for text-to-speech functionality), Web Speech API (for speech-to-text and text-to-speech functionalities)
- Animation: Framer Motion (for smooth transitions and animations)
- Ensure Node.js and npm are installed.
Clone the repository:
git clone https://github.com/CShah44/Dialecto.gitGo to the project directory
cd DialectoMake the .env file with following environment variables
VITE_SARVAM_API_KEY = "YOUR_SARVAM_API_KEY"
VITE_API_URL=https://api.sarvam.com
VITE_HF="YOUR_HUGGINGFACE_ACCESS_TOKEN"
Install dependencies
npm installStart the development server
npm run devhttps://dialecto-nine.vercel.app/
Due to the free tier of render.com on which the backend is deployed, due to inactivity the deployment is shut down occasionally. So the requests might take quite longer than expected. We apologise for this, but we couldn't find a better option to deploy.