Transform your text instantly with AI-powered tools right in your browser
WordSmith is a powerful Chrome extension that leverages AI to transform your text in seconds. Whether you're writing emails, social media posts, or documents, WordSmith helps you communicate better with intelligent text transformations.
Try WordSmith now!
| Platform | Link |
|---|---|
| ๐ Web App | https://word-smith-sand.vercel.app |
| ๐ Backend API | https://wordsmith-backend-iatg.onrender.com |
| ๐ API Docs | https://wordsmith-backend-iatg.onrender.com/docs |
Transform any text with these AI-powered tools:
| Feature | Description | Perfect For |
|---|---|---|
| โ๏ธ Grammar Fix | Fix grammar, spelling, and punctuation errors | Professional writing, emails |
| ๐ผ Formal Tone | Convert to professional, business-appropriate language | Work emails, reports, proposals |
| ๐ Friendly Tone | Make text warm, conversational, and approachable | Social media, casual emails |
| โ๏ธ Shorten | Make text more concise while keeping key points | Twitter, summaries, headlines |
| ๐ Expand | Add more details, context, and explanations | Blog posts, articles, presentations |
| ๐ Bullet Points | Convert paragraphs to clear, organized bullet lists | Meeting notes, action items |
| ๐ Add Emojis | Enhance text with contextually appropriate emojis | Social media, informal communication |
| ๐ฆ Tweetify | Optimize text for Twitter with hashtags and engagement | Social media marketing |
- Combine Multiple Transformations - Apply up to 8 transformations at once!
- Smart Conflict Detection - Prevents incompatible selections (e.g., Formal + Friendly)
- Sequential Processing - Transformations applied in the order you select them
- Visual Order Indicator - See exactly how your text will be transformed
Compatible Combinations:
- โ Grammar + Formal + Shorten
- โ Grammar + Bullet + Emoji
- โ Friendly + Expand + Emoji
- โ Formal + Friendly (tone conflict)
- โ Shorten + Expand (length conflict)
- ๐ History Tab - View your last 7 days of transformations
- โญ Saved Tab - Save favorite transformations permanently
- ๐ Quick Reuse - Easily reapply past transformations
- ๐๏ธ Bulk Delete - Manage your transformation history efficiently
- ๐ Instant Results - Transform text in seconds, no waiting
- ๐จ Multiple Styles - 8 different transformation options
- ๐ Chain Transformations - Combine multiple transforms for perfect results
- ๐ Smart History - Track and reuse your transformations
- โญ Save Favorites - Keep important transformations forever
- ๐ Privacy First - Your data is stored locally and securely
- โก Lightning Fast - Powered by Groq's ultra-fast Llama 3.1 AI
- ๐ก Smart Context - AI understands your intent and maintains meaning
- ๐ง Developer Friendly - Clean, well-documented codebase
Frontend (Chrome Extension)
- React.js - Modern component-based UI
- Vite - Next-generation frontend tooling
- Chrome Manifest V3 - Latest extension architecture
Backend (API Server)
- FastAPI - High-performance Python web framework
- SQLAlchemy - SQL database ORM
- Groq API - Ultra-fast Llama 3.1 AI inference
- SQLite - Lightweight database for history storage
Deployment
- Frontend - Vercel
- Backend - Render
- ๐ฅ Download the latest release
- ๐ Extract the
wordsmith-extension.zipfile - ๐ Open Chrome and navigate to
chrome://extensions/ - ๐ง Enable "Developer mode" (toggle in top-right)
- ๐ Click "Load unpacked" and select the extracted folder
- โ WordSmith will appear in your extensions toolbar!
# Clone the repository
git clone https://github.com/harshitayadavv/WordSmith.git
cd WordSmith
# Build the extension
cd frontend
npm install
npm run build:extension
# Install in Chrome
# 1. Go to chrome://extensions/
# 2. Enable "Developer Mode" (top-right toggle)
# 3. Click "Load unpacked"
# 4. Select the 'frontend/dist' folder- Node.js 16+ and npm
- Python 3.9+
- Groq API Key (Get one here)
# Navigate to backend directory
cd backend
# Create virtual environment
python -m venv venv
# Activate virtual environment
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Setup environment variables
cp .env.example .env
# Edit .env and add your GROQ_API_KEY
# Initialize database
python -c "from app.core.database import init_db; init_db()"
# Run development server
python run.pyThe backend will be available at http://localhost:8000
# Navigate to frontend directory
cd frontend
# Install dependencies
npm install
# Start development server (for web testing)
npm run dev
# Build for Chrome extension
npm run build:extension
# Build for web deployment
npm run buildCreate a .env file in the backend directory:
# Required: Groq API Key
GROQ_API_KEY=your_groq_api_key_here
# Optional: Server configuration
PORT=8000
HOST=0.0.0.0
DEBUG=True
# Optional: Database (SQLite by default)
DATABASE_URL=sqlite:///./wordsmith.db- Visit console.groq.com
- Sign up for a free account
- Navigate to API Keys section
- Create a new API key
- Copy and add it to your
.envfile
Note: Groq offers a generous free tier with ultra-fast inference!
Update the API URL in frontend/src/utils/api.js:
// For local development
export const API_BASE_URL = 'http://127.0.0.1:8000';
// For production (already configured)
export const API_BASE_URL = 'https://wordsmith-backend-iatg.onrender.com';- Production API Docs: https://wordsmith-backend-iatg.onrender.com/docs
- Local Development:
http://localhost:8000/docs
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/v1/transform |
Transform text with AI |
GET |
/api/v1/history |
Get transformation history |
POST |
/api/v1/history/save |
Save a transformation |
DELETE |
/api/v1/history |
Delete history items |
GET |
/api/v1/health |
Health check |
GET |
/api/v1/transformations |
List available transformations |
- Click the WordSmith extension icon in your Chrome toolbar
- Paste or type your text in the input area
- Select a transformation type (Grammar Fix, Formal, etc.)
- Click "Transform" and watch the magic happen!
- Copy the result or click โญ Save to keep it forever
- Select multiple transformation buttons - Click multiple options (e.g., Grammar + Formal + Shorten)
- See the order - Transformations will be applied sequentially in the order selected
- Smart conflicts - Incompatible options will be automatically disabled
- Clear all - Click "Clear All" to reset your selections
- Transform - Click transform to apply all selected transformations in sequence
Example Multi-Transform Flow:
Original: "i has big mistake in email"
โ Grammar Fix
"I have a big mistake in the email"
โ Formal Tone
"I have made a significant error in the email correspondence"
โ Shorten
"I made an error in the email"
- View History to see your recent transformations (last 7 days)
- Check Saved tab for your favorite transformations (permanent)
- Reuse past transformations with one click
We welcome contributions! Here's how to get started:
- ๐ด Fork the repository
- ๐ฟ Create a feature branch (
git checkout -b feature/amazing-feature) - โจ Make your changes
- โ Test thoroughly (run both frontend and backend)
- ๐ซ Commit your changes (
git commit -m 'Add amazing feature') - ๐ค Push to the branch (
git push origin feature/amazing-feature) - ๐ฏ Open a Pull Request
- Follow existing code style and conventions
- Test all features before submitting
- Update documentation as needed
- Ensure backend server runs without errors
- Test extension in Chrome before submitting PR
WordSmith/
โโโ frontend/ # Chrome extension & React app
โ โโโ src/
โ โ โโโ components/ # React components
โ โ โ โโโ TransformButtons.jsx # Multi-select UI
โ โ โ โโโ History.jsx
โ โ โ โโโ SavedChats.jsx
โ โ โ โโโ ...
โ โ โโโ utils/ # API utilities
โ โ โโโ App.jsx # Main app component
โ โโโ public/ # Static assets & manifest
โ โโโ dist/ # Built extension (after npm run build)
โ
โโโ backend/ # FastAPI backend
โ โโโ app/
โ โ โโโ api/ # API routes
โ โ โโโ core/ # Database & config
โ โ โโโ models/ # Database models
โ โ โโโ services/ # Business logic
โ โ โโโ main.py # FastAPI app
โ โโโ requirements.txt # Python dependencies
โ
โโโ README.md
- ๐ Bug Reports: Open an issue
- ๐ก Feature Requests: Request a feature
- ๐ฌ Questions: Start a discussion
- History Feature - Track your transformations โ
- Save Favorites - Keep important transformations โ
- Multi-Select Transformations - Apply multiple transforms at once โ
- Web App Deployment - Live on Vercel โ
- Backend Deployment - Live on Render โ
- Custom Prompts - Create your own transformation types
- Firefox Extension - Expand to Firefox Add-ons
- Export/Import - Backup your saved transformations
- Dark Mode - Eye-friendly dark theme
- Keyboard Shortcuts - Quick access to features
- Cloud Sync - Sync history across devices
- Browser Context Menu - Right-click to transform selected text
This project is licensed under the MIT License - see the LICENSE file for details.
- Groq for ultra-fast AI inference
- FastAPI for the amazing Python framework
- React team for the excellent frontend library
- Chrome Extensions team for the platform
- Vercel & Render for hosting
Made with โค๏ธ by Harshita
๐ Try Live Demo โข โญ Star this repo โข ๐ Report Bug โข ๐ก Request Feature