Amgi AI is a modern web application designed to help users learn Korean language through AI-powered explanations and examples. The application leverages Google's Gemini AI model to provide detailed explanations of Korean terms, including translations, definitions, Hanja breakdowns, and example sentences.
- AI-powered Korean term explanations
- Detailed translations and definitions
- Hanja breakdowns (when available)
- Example sentences in both Korean and English
- Usage notes and cultural context
- Modern, responsive user interface
- Frontend Framework: Next.js 15.3.1
- Language: TypeScript
- AI Integration: Google Generative AI (Gemini)
- Database: Firebase
- Styling: Tailwind CSS
- Testing: Vitest
- Node.js (Latest LTS version recommended)
- npm or yarn
- Google Cloud Platform account with Gemini API access
- Firebase project setup
-
Clone the repository:
git clone [repository-url] cd amgi-ai-2 -
Install dependencies:
npm install
-
Set up environment variables: Create a
.env.localfile in the root directory with the following variables:GOOGLE_API_KEY=your_gemini_api_key FIREBASE_CONFIG=your_firebase_config -
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
npm run dev- Start the development servernpm run build- Build the application for productionnpm run start- Start the production servernpm run lint- Run ESLintnpm test- Run tests with Vitest
src/
├── app/ # Next.js app directory
├── components/ # React components
├── services/ # API and service integrations
└── config/ # Configuration files
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Generative AI (Gemini) for providing the AI capabilities
- Next.js team for the amazing framework
- Firebase for backend services