A powerful AI-powered text rewriting and transformation tool for Raycast, featuring customizable prompts and support for multiple AI providers.
-
Clone the repository:
git clone https://github.com/alshimo/GPTRewriter.git cd GPTRewriter -
Install dependencies:
npm install
Or use the setup script:
./setup.sh(auto-installs Node.js if needed) -
Start development mode:
npm run dev
This automatically loads the extension in Raycast.
-
Configure API keys:
- Open Raycast → Type "Settings" (from GPT Rewriter)
- Add your OpenAI API Key
- Configure your preferred settings
Note: Keep npm run dev running while using the extension.
See INSTALL.md for detailed installation instructions.
- Open Settings in the extension
- Add API keys:
- OpenAI API Key: Get from OpenAI
- OpenRouter API Key: Get from OpenRouter
- Choose your preferred AI provider and model
- Text Rewriting: Improve grammar and clarity
- Workplace Rewriting: Optimize for Slack/tech chat
- Translation: Support for 5 languages (EN, TR, FA, ES)
- Summarization: Create concise summaries
- Bullet Points: Convert text to organized lists
- Custom Prompts: Create your own transformations
- Multiple AI Providers: OpenAI and OpenRouter support
├── src/
│ ├── lib/
│ │ └── ai.ts # AI processing logic
│ ├── rewrite.tsx # Text rewriting command
│ ├── workplace.tsx # Workplace rewriting command
│ ├── translate.tsx # Translation command
│ ├── summarize.tsx # Summarization command
│ ├── bullets.tsx # Bullet points command
│ ├── custom.tsx # Custom prompts command
│ └── settings.tsx # Settings command
├── package.json # Extension configuration
├── tsconfig.json # TypeScript config
├── setup.sh # Development setup script
└── EXTENSION_README.md # Detailed documentation
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Run linter
npm run lint
# Publish to Raycast store
npm run publish- INSTALLATION.md - Detailed installation guide
- EXTENSION_README.md - Complete feature documentation
- CONTRIBUTING.md - How to contribute
Contributions are welcome! This repository uses a fork-based workflow.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Commit your changes (
git commit -m 'Add some amazing feature') - Push to your fork (
git push origin feature/amazing-feature) - Open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
MIT License