https://github.com/yansircc/minimalist-ai-translator
A sleek, modern AI translation tool that combines the simplicity of traditional translators with the power of AI language models.
https://github.com/yansircc/minimalist-ai-translator
ai-translation language-translation minimalist-ui
Last synced: 3 months ago
JSON representation
A sleek, modern AI translation tool that combines the simplicity of traditional translators with the power of AI language models.
- Host: GitHub
- URL: https://github.com/yansircc/minimalist-ai-translator
- Owner: yansircc
- License: mit
- Created: 2025-02-06T15:05:58.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-06T15:46:09.000Z (3 months ago)
- Last Synced: 2025-02-06T16:27:08.441Z (3 months ago)
- Topics: ai-translation, language-translation, minimalist-ui
- Language: TypeScript
- Homepage: https://fanyi.xunpanziyou.com/
- Size: 270 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minimalist AI Translator
> A sleek, modern AI translation tool that combines the simplicity of traditional translators with the power of AI language models.
[English](README.md) | [δΈζ](README.zh-CN.md)
π [Live Demo](https://fanyi.xunpanziyou.com/)
A beautiful and super convenient AI translation tool, crafted for "traditionalists" who need a modern translation experience.
## π Features
- **Minimalist Design** - Clean interface, no ads, no distractions
- **Smart Interaction** - Automatic language detection, instant translation
- **Multiple Models** - Support for Gemini, GPT-4, Groq, DeepSeek and more
- **Shortcuts** - Keyboard shortcuts for efficient translation
- **Responsive Design** - Perfect for both desktop and mobile## π Quick Start
### Prerequisites
- Node.js >= 18.0.0
- Package Manager: [Bun](https://bun.sh) (recommended) or npm### Installation Steps
1. Clone the repository
```bash
git clone https://github.com/yourusername/ai-translate.git
cd ai-translate
```2. Install dependencies
```bash
# Using Bun (Recommended for better performance)
bun install# Or using npm
npm install
```3. Configure environment variables
```bash
cp .env.example .env
```Then edit the `.env` file and add your API keys
4. Start the development server
```bash
# Using Bun (Recommended)
bun dev# Or using npm
npm run dev
```Now open [http://localhost:3000](http://localhost:3000) to use it!
## π Usage
### Basic Operations
- **Input Text** - Type or paste text in the left panel
- **Translate** - Press Enter to start translation
- **Line Break** - Use Shift + Enter for new lines
- **Copy Result** - Results are automatically copied to clipboard
- **Toggle Theme** - Click the theme icon in top-left
- **Switch Model** - Use the model selector at the top
- **Reset** - Click the center Logo to reset everything## π€ Contributing
Pull requests and issues are welcome!
## π License
[MIT License](LICENSE)