Skip to content

Leximind is a web-based application designed to help students strengthen their English reading skills.

Notifications You must be signed in to change notification settings

zc-0120/leximind-web-app

Repository files navigation

leximind-web-app

This is a web app called Leximind, which aims to help students improve their English reading.

Features

News sources

Leximind uses Theconversation's news.

📰 News Reading

  • Fetches latest articles from The Conversation
  • Clean, distraction-free reading interface
  • Mobile-responsive design

🔤 Interactive Reading Experience

  • Click on any paragraph to get instant translation
  • Detailed grammar analysis for each sentence
  • Vocabulary explanations with context

🎯 Learning Tools

  • Grammar Points: Comprehensive grammar analysis for each paragraph(文章中句子的文法重點)
  • Vocabulary Highlights: Key words and phrases with explanations(句子中單字的解釋以及延伸重點)

Tech Stack

  • Frontend: Next.js 14, React, TypeScript
  • Styling: Tailwind CSS
  • UI Components: Lucide React icons
  • Security: DOMPurify for HTML sanitization
  • API: Gemini API(model: gemini-2.0-flash-001)

Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn or bun

Installation

  1. Clone the repository
git clone https://github.com/zc-0120/leximind-web-app.git
cd leximind-web-app
  1. Install dependencies
npm install
# or
yarn install
  1. Add the gemini API-KEY to /api/v1/trans/route.ts.

  2. Run the development server

npm run dev
# or
bun dev
# or
yarn dev
  1. Open http://localhost:3000 in your browser.

Usage

  1. Browse Articles: View the latest articles from The Conversation on the home page
  2. Select Article: Click on any article to open it in reading mode
  3. Interactive Reading: Click on any paragraph to see:
    • Chinese translation(中文翻譯)
    • Grammar analysis(句子文法解析)
    • Vocabulary explanations(單字重點整理)
  4. Learn Progressively: Use the detailed explanations to improve your English comprehension.

About

Leximind is a web-based application designed to help students strengthen their English reading skills.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages