An open API service indexing awesome lists of open source software.

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.

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
![reWrite Demo](https://github.com/user-attachments/assets/93c6bea6-c07c-4693-99f0-e7a158eecdf7)

### 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 AppStorage

Alternatively, 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