Gofer2 is a macOS menu bar application that provides quick translation lookups through double-copying text. It's designed to be lightweight, unobtrusive, and easily extensible through CSV files.
- Lives in your menu bar
- Double-copy text to trigger translation lookup
- Supports custom translations through CSV files
- System notifications for translation results
- Menu history of recent translations
- Click any translation to copy it to clipboard
# Clone the repository
git clone https://github.com/yourusername/gofer2.git
cd gofer2
# Build and run
cargo run
# Or build in release mode
cargo build --release
cargo install cargo-bundle
cargo bundle --release
Copy the generated app bundle to your Applications folder.
- macOS 10.13 or later
- Rust 1.70 or later
- The app runs in your menu bar with a small icon
- Double-copy (⌘C twice quickly) any text to look up its translation
- If a translation is found:
- A notification will appear showing the translation
- The translation will be added to the menu bar history
- Click any translation in the menu to copy it to clipboard
You can add your own translations by creating CSV files in ~/.gofer2/
:
- Create the directory:
mkdir -p ~/.gofer2
- Add CSV files with your translations:
# ~/.gofer2/my_translations.csv
en,fr
hello,bonjour
goodbye,au revoir
Requirements for CSV files:
- Must have exactly 2 columns
- First row must be headers (e.g., "en,fr")
- Values are trimmed automatically
- User translations override default translations
MIT
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -am 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Created by Ofer Affias