https://github.com/mayomi1/rewriteai
ποΈ A lightweight macOS menu bar app that uses OpenAI to quickly rewrite and polish text.
https://github.com/mayomi1/rewriteai
ai llm macos openai rewrite rewritewithai swiftui
Last synced: 12 days ago
JSON representation
ποΈ A lightweight macOS menu bar app that uses OpenAI to quickly rewrite and polish text.
- Host: GitHub
- URL: https://github.com/mayomi1/rewriteai
- Owner: mayomi1
- License: mit
- Created: 2025-09-26T17:14:30.000Z (13 days ago)
- Default Branch: main
- Last Pushed: 2025-09-26T17:47:49.000Z (13 days ago)
- Last Synced: 2025-09-26T19:22:24.851Z (13 days ago)
- Topics: ai, llm, macos, openai, rewrite, rewritewithai, swiftui
- Language: Swift
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# β¨ reWriteAI
**reWriteAI** is a lightweight macOS menu bar app that helps you **rewrite and polish text with AI**.
Perfect for quick message polishing, and short copy that needs a professional touch.Built with **SwiftUI** and powered by the **OpenAI API**.
---
## π Features
- Runs from your macOS **menu bar**
- Rewrite any text in a simple dialog box
- Powered by OpenAI (`gpt-5`, `gpt-5-nano`, `gpt-mini`)
- Configurable system prompt (set your preferred rewriting style)
- Easy **API Key** setup via Settings
- **Copy to Clipboard** button for results
- 100% open source---
## π¦ Installation
### Option 1: Download DMG (recommended)
π [Releases Page](https://github.com/mayomi1/rewriteai/releases)1. Download the latest `.dmg`
2. Drag **reWriteAI.app** into your **Applications** folder
3. Launch from Spotlight or menu bar## DEMO
### Option 2: Build from source
1. Clone the repo:
```bash
git clone https://github.com/mayomi1/rewriteai.git
cd rewriteai
```
2. Open in Xcode:
```bash
open reWriteAI.xcodeproj
```
3. Press **Run** (`βR`)---
## π API Key Setup
reWriteAI uses the [OpenAI API](https://platform.openai.com/).
Youβll need an API key to use it.- In the app, open **Settings β API Key**
- Paste your OpenAI key (`sk-...`)
- Saved securely in AppStorageAlternatively, you can set it as an **environment variable**:
```bash
export OPENAI_API_KEY="sk-yourkey"
```---
## βοΈ Configuration
In **Settings**, you can adjust:
- **API Key** (required)
- **System Prompt** (tone/style of rewriting, e.g. βPolish this for a professional restaurant menuβ)
- **Model**: `gpt-5`, `gpt-5-nano`, or `gpt-mini`---
## π οΈ Development
Requirements:
- macOS 14+
- Xcode 15+
- Swift 5.9+---
## π€ Contributing
We welcome contributions! π
- Fork the repo
- Create a feature branch (`git checkout -b feature/your-feature`)
- Commit changes (`git commit -m "Add feature"`)
- Push and open a Pull Request---
## π License
MIT License Β© 2025