Skip to content

SocialScribe is an AI-powered tool that helps you create tailored social media posts, comments, and direct messages (DMs) for platforms like LinkedIn, Twitter, and more.

Notifications You must be signed in to change notification settings

SH20RAJ/SocialScribe

Repository files navigation

SocialScribe

Free • Unlimited • Open Source AI Writing Assistant

SocialScribe is a powerful Chrome extension that brings AI-powered writing assistance to every website you visit. Fix grammar, rewrite content, change tones, and enhance your writing across the entire web - completely free with no usage limits.

Features

Core Writing Tools

  • Grammar Fix - Instant grammar, spelling, and punctuation corrections
  • Tone Rewriter - Professional, Friendly, Formal, or Flirty tones
  • Content Enhancement - Shorten, expand, or improve clarity
  • Select & Edit - Choose specific text portions to improve
  • AI Chat - Custom instructions like "Make this sound more confident"

Universal Compatibility

Works on every website including:

  • Social Media: Twitter, LinkedIn, Facebook, Instagram
  • Email: Gmail, Outlook, Yahoo Mail
  • Communication: Reddit, Discord, Slack, Teams
  • Documents: Google Docs, Notion, Medium
  • Any text input across the web

AI-Powered

  • Pollinations AI (primary) - Free, unlimited AI model
  • OpenRouter (fallback) - Multiple backup models
  • Streaming responses - Real-time text generation
  • Smart fallbacks - Always works, even if one service is down

Premium Features, Free Forever

  • 100% Free - No subscriptions, no hidden costs
  • Unlimited Usage - No rate limits or quotas
  • Open Source - Transparent, community-driven
  • Privacy-First - No data collection or tracking
  • Grammarly-level UX - Professional, intuitive interface

Quick Start

Try Online

Visit socialscribe.pages.dev to test the AI rewriter

Install Extension

  1. Download from Chrome Web Store (coming soon)
  2. Or install manually:
    • Download socialscribe-extension.zip from releases
    • Open Chrome → Extensions → Developer mode
    • Click "Load unpacked" → Select extension folder

AI Playground

Experience advanced features at socialscribe.pages.dev/#demo

Development

Prerequisites

  • Node.js 18+
  • npm/yarn/pnpm

Setup

# Clone repository
git clone https://github.com/sh20raj/socialscribe.git
cd socialscribe

# Install dependencies
npm install

# Start development server
npm run dev

Build Extension

# Generate icons and package extension
npm run build-extension

# Extension will be created in public/socialscribe-extension.zip

Deploy to Cloudflare Pages

# Build for production
npm run pages:build

# Preview locally
npm run preview

# Deploy
npm run deploy

API Endpoints

POST /api/rewrite

Main text rewriting endpoint with Pollinations AI integration.

interface RequestBody {
  text: string
  action: 'fix_grammar' | 'rewrite' | 'shorten' | 'expand' | 'summarize' | 'formalize'
  tone: 'professional' | 'friendly' | 'formal' | 'flirty'
  platform?: string
  customInstructions?: string
  usePollinationsFirst?: boolean // Default: true
}

POST /api/generate-image

AI image generation using Pollinations AI.

interface RequestBody {
  prompt: string
  width?: number    // Default: 512
  height?: number   // Default: 512
  enhance?: boolean // Default: false
}

Extension Architecture

Content Script (content.js)

  • Universal text detection - Works on all input types
  • Grammarly-style positioning - Stable, non-intrusive UI
  • Real-time suggestions - Streaming AI responses
  • Smart fallbacks - Multiple AI providers

Popup Interface (popup.html)

  • Compact design - 320x480px minimal UI
  • Quick actions - One-click improvements
  • Chat interface - Custom AI instructions
  • Settings - Toggle extension on/off

Background Service (background.js)

  • Context menus - Right-click integration
  • Keyboard shortcuts - Ctrl+Shift+S to toggle
  • Extension management - Enable/disable functionality

Why SocialScribe?

vs. Grammarly

  • Free forever vs. $30/month premium
  • Open source vs. proprietary
  • No data collection vs. privacy concerns
  • Unlimited usage vs. limited free tier

vs. Other AI Tools

  • Works everywhere vs. limited platforms
  • No API keys needed vs. complex setup
  • Multiple AI models vs. single provider
  • Browser extension vs. separate apps

Contributing

We welcome contributions!

Development Workflow

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

Areas for Contribution

  • Bug fixes and improvements
  • New AI features and modes
  • Additional platform support
  • Documentation and examples
  • UI/UX enhancements

License

MIT License - see LICENSE for details.

Links

Support

If SocialScribe helps you write better, consider:

  • Starring the repository
  • Sharing on social media
  • Reporting bugs and issues
  • Contributing code or ideas

Made with love for better writing, by everyone, for everyone.

Free • Unlimited • Open Source

About

SocialScribe is an AI-powered tool that helps you create tailored social media posts, comments, and direct messages (DMs) for platforms like LinkedIn, Twitter, and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published