https://github.com/two-tech-dev/nativepaste
A universal AI rewrite layer for human communication.
https://github.com/two-tech-dev/nativepaste
Last synced: about 1 month ago
JSON representation
A universal AI rewrite layer for human communication.
- Host: GitHub
- URL: https://github.com/two-tech-dev/nativepaste
- Owner: two-tech-dev
- License: gpl-3.0
- Created: 2026-05-16T10:15:30.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-05-16T14:52:47.000Z (about 1 month ago)
- Last Synced: 2026-05-16T15:46:58.767Z (about 1 month ago)
- Language: TypeScript
- Size: 3.38 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# NativePaste ✨
**NativePaste** is a lightning-fast, ultra-minimalist AI translation and text-rewriting overlay for Desktop (macOS, Windows, Linux/Wayland). It integrates deeply with your OS clipboard and global shortcuts to provide a seamless "Hacker-chic" experience.
Powered by [**2Tech Studio**](https://2tech.studio).
## Features
- **Instant AI Translation & Rewriting**: Select text anywhere, press a hotkey, and get an AI-powered rewrite instantly.
- **Wayland Compatible**: Uses a custom Single-Instance daemon architecture to bypass Wayland's global shortcut restrictions on Linux.
- **Zero-Persistence Security**: API keys are stored securely using your OS's native credential manager (Keychain, Secret Service, Credential Manager).
- **Hacker-chic Overlay**: A beautiful, unobtrusive UI that pops up over your active window.
### Linux
To install NativePaste on Linux, you can use the provided installer script. It will automatically download the latest AppImage from GitHub Releases, place it in `~/.local/bin`, and configure the `Ctrl+Alt+E` GNOME shortcut.
```bash
curl -fsSL https://raw.githubusercontent.com/two-tech-dev/NativePaste/main/install.sh | bash
```
### Windows & macOS
1. Go to the [Releases](https://github.com/two-tech-dev/NativePaste/releases/latest) page.
2. Download the appropriate installer for your OS (`.msi` for Windows, `.dmg` for macOS).
3. Run the installer.
4. (Optional) On macOS, you may need to grant Accessibility permissions for the global shortcut to work correctly.
## Usage
1. Launch **NativePaste** from your application menu. It will start quietly in the System Tray.
2. Click the tray icon (or left-click it) to open **Settings** and configure your API Key (OpenAI / OpenRouter).
3. Select any text in any application (Browser, Code Editor, Note app).
4. Press `Ctrl + Shift + E`.
5. The NativePaste overlay will appear, translate/rewrite the text, and you can press `Enter` to automatically paste the result back into your app!
## Manual Shortcut Setup (Wayland/Linux)
If the `install.sh` script couldn't set up the shortcut automatically:
1. Open Ubuntu **Settings** -> **Keyboard** -> **View and Customize Shortcuts** -> **Custom Shortcuts**.
2. Add a new shortcut:
- **Name**: NativePaste Translate
- **Command**: `/home/YOUR_USER/.local/bin/nativepaste translate`
- **Shortcut**: `Ctrl+Alt+E`
## Development
```bash
# Install dependencies
pnpm install
# Run in development mode
pnpm tauri dev
```
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for details.