Skip to content

A floating AI translation tool with real-time streaming output. Always on top, instant translation with 30+ languages support.

License

Notifications You must be signed in to change notification settings

hughedward/FloatQuickTrans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

92 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ FloatQuickTrans๐ŸŽ‰

A Professional Floating AI Translation Tool

Real-time streaming translation โ€ข Multi-window support โ€ข Text-to-speech โ€ข Always on top

โ—๏ธไธฅ็ฆไป–ไบบๅฐ†ๆœฌ่ฝฏไปถ็›ดๆŽฅไธ‹่ฝฝ๏ผŒๅŠ ไธŠ โ€œไผšๅ‘˜/ๅ‡็บงโ€œๆŒ‰้’ฎ ๅŽไธŠไผ ๅˆฐ app store ็ญ‰็š„็ฑปไผผ่กŒไธบ๏ผŒ่ฐข่ฐข๏ผ๏ผ

Version Platform License

English โ€ข ็ฎ€ไฝ“ไธญๆ–‡ โ€ข ็น้ซ”ไธญๆ–‡ โ€ข ๆ—ฅๆœฌ่ชž โ€ข Franรงais โ€ข Deutsch โ€ข Espaรฑol โ€ข ํ•œ๊ตญ์–ด โ€ข ะ ัƒััะบะธะน โ€ข Tรผrkรงe


๐Ÿ‘€ Quick Look (Videos)

IMAGE ALT TEXT HERE IMAGE ALT TEXT HERE

โœจ Features

๐Ÿš€ Core Capabilities

  • ๐ŸŒŠ Real-time Streaming Translation - Watch translations appear as they're generated
  • ๐ŸชŸ Multi-window Support - Create multiple translation windows with Cmd+N/Ctrl+N
  • ๐Ÿ”Š Text-to-Speech - Listen to translations in 30+ languages
  • ๐Ÿ“Œ Always on Top - Floating window stays above all applications
  • ๐ŸŽฏ Global Hotkeys - Quick access with Cmd+Shift+Y or Option+Space

๐Ÿค– AI Provider Support

  • TODO: OpenAI GPT - GPT-3.5, GPT-4, GPT-4o
  • DeepSeek - High-quality translations
  • Google Gemini - Advanced AI capabilities
  • TODO:Claude - Anthropic's powerful language model

โš ๏ธ OpenAI and Claude: No API keys available yet, so no support for now. Sorry about that.

๐ŸŒ Language Support

  • 30+ Languages - Major world languages supported
  • Smart Detection - Automatic input language recognition
  • Flexible Input - Support for various language name formats

๐Ÿ–ผ๏ธ Screenshots

Main Interface

Floating window stays above all applications


image image

Multi-window Mode

Settings Panel

Go https://aistudio.google.com/app/apikey ๐Ÿงšโ€โ™€๏ธ

Or https://platform.deepseek.com/usage ๐Ÿณ


๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • pnpm (recommended) or npm

Installation

# Clone the repository
git clone https://github.com/hughedward/FloatQuickTrans.git
cd FloatQuickTrans

# Install dependencies
pnpm install

Development

# Start development server
pnpm dev

Build

# Build for your platform
pnpm build

# Platform-specific builds
pnpm build:mac    # macOS
pnpm build:win    # Windows
pnpm build:linux  # Linux

โš™๏ธ Configuration

API Setup

  1. Click the Settings button in the app
  2. Choose your preferred AI provider
  3. Enter your API key
  4. Select default translation language

Supported Providers

Provider API Key Required Features
OpenAI TODO GPT-3.5, GPT-4, GPT-4o
DeepSeek โœ… High-quality translation
Google Gemini โœ… Advanced AI capabilities
Claude TODO Anthropic's language model

๐ŸŽฎ Usage

Basic Translation

  1. Input Text - Type or paste text to translate
  2. Set Target Language - Click language button to change
  3. Translate - Press Cmd+Enter or click translate
  4. Listen - Click ๐Ÿ”Š icon to hear pronunciation

Multi-window Workflow

  1. Create New Window - Press Cmd+N (macOS) or Ctrl+N (Windows)
  2. Independent Translation - Each window works separately
  3. Compare Results - Use multiple windows to compare translations

Global Hotkeys

  • Cmd+Shift+Y / Ctrl+Shift+Y - Show/hide all windows
  • Cmd+N / Ctrl+N - Create new translation window
  • Cmd+Enter - Execute translation
  • ESC - Close current window

๐Ÿ› ๏ธ Development

Tech Stack

  • Frontend: React 19 + TypeScript
  • Desktop: Electron 35
  • Build Tool: Vite + electron-vite
  • Styling: CSS with glass morphism effects

Project Structure

src/
โ”œโ”€โ”€ main/           # Electron main process
โ”œโ”€โ”€ renderer/       # React frontend
โ”œโ”€โ”€ preload/        # Electron preload scripts
โ””โ”€โ”€ model/          # AI providers & language maps

๐ŸซฐContributing

We welcome contributions from the community! If you'd like to contribute, please follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature/git checkout -b bugfix/fix-xxx)
  3. Commit your changes (git commit -m 'Add amazing feature'/git commit -m 'Fix xxx bug:xxxx').Make your changes and commit them with descriptive messages/shotcuts.Please write comments in the code as much as possible.
  4. Push to the branch (git push origin feature/amazing-feature/git push origin bugfix/fix-xxx).Please keep the code clean.
  5. Open a Pull Request. Submit a pull request.It is recommended to focus on a single feature or fix, avoiding making too many changes at once.
  6. We'll review your PR and merge it once it's ready. We'll also appreciate it if you're willing to help review other PRs as well!

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ™ Acknowledgments


Made with โค๏ธ for the global community

โญ Star this project โ€ข ๐Ÿ› Report Bug โ€ข ๐Ÿ’ก Request Feature

Star History

Star History Chart

thanks https://www.star-history.com/#hughedward/FloatQuickTrans&Date

image

If you find my work helpful, Iโ€™d be truly grateful if youโ€™d consider sponsoring me.

image image Sponsor me image Your support is the driving force behind my creations.๐ŸŽ‰

About

A floating AI translation tool with real-time streaming output. Always on top, instant translation with 30+ languages support.

Resources

License

Stars

Watchers

Forks

Packages

No packages published