Skip to content

alshimo/GPTRewriter

Repository files navigation

GPT Rewriter - Raycast Extension

A powerful AI-powered text rewriting and transformation tool for Raycast, featuring customizable prompts and support for multiple AI providers.

🚀 Quick Install

  1. Clone the repository:

    git clone https://github.com/alshimo/GPTRewriter.git
    cd GPTRewriter
  2. Install dependencies:

    npm install

    Or use the setup script: ./setup.sh (auto-installs Node.js if needed)

  3. Start development mode:

    npm run dev

    This automatically loads the extension in Raycast.

  4. 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.

Configuration

  1. Open Settings in the extension
  2. Add API keys:
  3. Choose your preferred AI provider and model

🎯 Features

  • 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

📁 Project Structure

├── 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

🔧 Development

# 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

📖 Documentation

🤝 Contributing

Contributions are welcome! This repository uses a fork-based workflow.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Commit your changes (git commit -m 'Add some amazing feature')
  5. Push to your fork (git push origin feature/amazing-feature)
  6. Open a Pull Request

See CONTRIBUTING.md for detailed guidelines.

📄 License

MIT License

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors