An open API service indexing awesome lists of open source software.

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.

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)