KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
trans-faster
★ 10
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
worlds-smallest-figlet
:
The World's Smallest Figlet Font (best in town)
rlitert-lm
:
simple, performant model serving for develeopers
1
:
No description available.
ViSD-Boost
:
No description available.
awesome-solana-trader
:
Telegram bot for trading Solana tokens with automated SL/TP orders, Jupiter DEX integration, and real-time portfolio tracking. GPL-3.0 licensed.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
trans-faster
?
Download (.md)
# Translation Tool Công cụ dịch tiếng Anh sang tiếng Việt sử dụng GPT, với hỗ trợ phím tắt trên macOS. ## Tính năng - 🌐 Dịch tiếng Anh sang tiếng Việt bằng GPT-3.5-turbo - ⌨️ Phím tắt toàn cục (Cmd+Shift+T) để dịch text đã chọn - 💾 Lưu trữ API key an toàn - 🎨 Giao diện đẹp và dễ sử dụng ## Cài đặt 1. Cài đặt dependencies: ```bash npm install ``` 2. Cấu hình OpenAI API key: - Mở app và click vào nút "Settings" (⚙️) - Nhập OpenAI API key của bạn - Lấy API key tại: https://platform.openai.com/api-keys ## Sử dụng ### Development Chạy app trong chế độ development: ```bash npm run electron:dev ``` ### Production Build Build app để tạo file .dmg: ```bash npm run build:electron ``` ## Cách sử dụng phím tắt ### Trên macOS: **Cách 1: Tự động copy (yêu cầu quyền Accessibility)** 1. Cấp quyền Accessibility cho Terminal hoặc Electron: - Mở System Settings > Privacy & Security > Accessibility - Thêm Terminal (nếu chạy từ terminal) hoặc Translation Tool app - Đảm bảo checkbox được bật 2. Chọn (bôi đen) text tiếng Anh trong bất kỳ ứng dụng nào 3. Nhấn `Cmd+Shift+T` 4. App sẽ tự động copy và dịch text **Cách 2: Manual copy (không cần quyền)** 1. Chọn (bôi đen) text tiếng Anh 2. Nhấn `Cmd+C` để copy 3. Nhấn `Cmd+Shift+T` để dịch ### Trên Windows/Linux: 1. Chọn text và nhấn `Ctrl+C` để copy 2. Nhấn `Ctrl+Shift+T` để dịch ## Cấu trúc dự án ``` trans/ ├── electron/ # Electron main process │ ├── main.js # Main Electron process │ └── preload.js # Preload script ├── src/ # Svelte source code │ ├── components/ # Svelte components │ ├── services/ # Business logic │ └── App.svelte # Main app component └── package.json ``` ## Lưu ý - Cần có OpenAI API key để sử dụng - Phím tắt chỉ hoạt động khi app đang chạy - Trên macOS, app sẽ tự động copy text đã chọn khi nhấn phím tắt