A Microsoft Word Add-in that integrates with OpenRouter to provide AI-powered writing assistance
- Custom AI Prompts: Create custom instructions for the AI to help with specific writing tasks
- Intelligent Text Rewriting: Rephrase your text while preserving its original meaning
- Grammar Correction: Advanced grammar and style improvement suggestions
- Model Selection: Choose from various AI models to suit your needs
- Context-Aware: AI understands the context of your document for better suggestions
- Font Management:
- Multiple font family options (Times New Roman, Arial, Calibri)
- Font size control (12, 14, 16 pt)
- Layout Controls:
- Line spacing options (Single, 1.5, Double)
- Text alignment (Left, Center, Right, Justify)
- Margin settings in millimeters
- Real-time Preview: See your formatting changes instantly
- Clone the repository:
git clone https://github.com/planktonai/word-addin.git
cd word-addin- Install dependencies:
npm install- Start the development server:
npm start- Sideload the add-in in Word:
-
API Key Setup:
- Get your API key from openrouter
- Enter the key in the add-in's settings panel
- The key is securely stored in your browser's local storage
-
Model Selection:
- Choose your preferred AI model from the dropdown
- Models are sorted by capability and response time
- Your selection is remembered between sessions
-
Default Settings (optional):
- Configure default font and spacing in the settings
- Set your preferred margin values
- Customize the AI behavior for your needs
- Open the Plankton AI panel in Word
- Select your desired formatting options:
- Choose font family and size
- Set line spacing
- Adjust text alignment
- Configure margins
- Click "Apply Document Settings" to format your document
-
Custom Prompts:
- Select the text you want to work with
- Enter your prompt in the custom prompt field
- Click "Custom Prompt" to get AI assistance
-
Text Rewriting:
- Select the text to rewrite
- Click "Rewrite Text"
- The AI will preserve meaning while changing the wording
-
Grammar Correction:
- Select text to check
- Click "Fix Grammar"
- Review and apply the suggested corrections
plankton-ai/
├── assets/ # Static assets and branding
│ └── logo.png # Plankton AI logo
├── src/
│ ├── services/ # Core services (AI, Word, Logger)
│ └── taskpane/ # Main add-in UI components
├── manifest.xml # Add-in manifest
├── package.json # Project dependencies
└── webpack.config.js # Build configuration
npm start- Start development servernpm run build- Build for productionnpm run build:dev- Build for developmentnpm run validate- Validate the manifest file
- Update version in package.json and manifest.xml
- Run
npm run build - Test the production build thoroughly
- Deploy the contents of the
distfolder
