Skip to content

【Be a star, give a star!⭐️】A modern web application that redefines Chinese words with contemporary perspectives, powered by Gemini AI. Built with Next.js and Tailwind CSS.

License

Notifications You must be signed in to change notification settings

ChanMeng666/chinese-redefine

Repository files navigation

Chinese Redefine 汉语新解

Modern redefinition of Chinese words with contemporary perspectives, powered by Gemini AI.

English | 简体中文


👉Try It Now!👈


2024-12-14.15-36-44.mp4

screencapture-chinese-redefine-vercel-app-2024-12-06-12_36_37

Features

  • 🎯 Modern interpretation of Chinese words from a contemporary perspective
  • 🤖 Powered by Google's Gemini AI for creative and insightful explanations
  • 💫 Smooth animations and transitions using Framer Motion
  • 🎨 Beautiful UI with Tailwind CSS and shadcn/ui components
  • 📱 Fully responsive design for all devices
  • 💾 Export interpretations as beautiful SVG cards
  • ⚡ Built with Next.js for optimal performance
  • 🔒 Built-in rate limiting for API protection

Tech Stack

  • Framework: Next.js 15
  • Language: TypeScript
  • Styling: Tailwind CSS
  • UI Components: shadcn/ui
  • Animations: Framer Motion
  • AI Integration: Google Gemini API
  • Deployment: Vercel

Getting Started

Prerequisites

  • Node.js 18.0 or later
  • npm or yarn
  • A Gemini API key

Installation

  1. Clone the repository:
git clone https://github.com/ChanMeng666/chinese-redefine.git
  1. Install dependencies:
npm install
# or
yarn install
  1. Set up environment variables: Create a .env.local file with:
GEMINI_API_KEY=your_gemini_api_key
  1. Run the development server:
npm run dev
# or
yarn dev
  1. Open http://localhost:3000 to view the application

Usage

  1. Enter a Chinese word or phrase you'd like to reinterpret
  2. Wait for the AI-powered modern interpretation
  3. View the beautifully formatted result
  4. Export as an SVG card if desired

API Rate Limits

  • 5 requests per minute per IP address
  • Maximum word length: 10 characters
  • Must contain Chinese characters

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the Apache-2.0 license.

Author

Chan Meng

Acknowledgments


Made with ❤️ by Chan Meng

About

【Be a star, give a star!⭐️】A modern web application that redefines Chinese words with contemporary perspectives, powered by Gemini AI. Built with Next.js and Tailwind CSS.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published