Skip to content

designhawk/linkedin-comment-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinkedIn Comment Assistant

AI-powered Chrome extension that generates personalized comment suggestions for LinkedIn posts.

Features

  • Context-Aware Suggestions: Analyzes the full post content to generate relevant comments
  • 6 Comment Types: Choose from Sharp Take, Been There, Good Question, Quick Win, Bigger Picture, or Real Reaction
  • Writing Style Matching: Adapts to your profile to sound like you, not an AI
  • Reshare Support: Correctly handles shared posts with comments
  • Clean Output: Comments are sanitized to remove AI tells (no em-dashes, hollow openers, etc.)

Installation

  1. Clone the repository
  2. Open Chrome and go to chrome://extensions/
  3. Enable "Developer mode" (toggle in top right)
  4. Click "Load unpacked"
  5. Select the extension directory

Setup

  1. Click the extension icon in Chrome
  2. Get a free API key from OpenRouter
  3. Paste your API key in the settings
  4. Optionally add a brief profile description to personalize your comments

Usage

  1. Navigate to any LinkedIn post
  2. Click the "Comment" button on the post
  3. Click the "Suggest" button that appears
  4. Select a comment type
  5. Click "Use This" to insert the comment

Comment Types

Type Description
Sharp Take A direct, opinionated perspective
Been There Share a relatable personal experience
Good Question Thoughtful questions that drive engagement
Quick Win Practical tips or actionable advice
Bigger Picture Connect to broader trends or ideas
Real Reaction Genuine, personality-forward response

How It Works

The extension scrapes the post text and sends it to OpenRouter's API with carefully crafted prompts designed to generate natural-sounding LinkedIn comments. The AI is instructed to:

  • Keep comments 1-2 sentences
  • Avoid em-dashes, hollow openers ("Great post!"), and corporate speak
  • Sound like a real person texting
  • Take noticeably different angles for each suggestion

Files

  • content.js - Main content script (scraping, UI injection)
  • background.js - Background service worker (API calls)
  • sidepanel/ - Side panel UI
  • options/ - Settings page

Privacy

  • API key is stored locally in Chrome storage
  • No data is collected or sent anywhere except to OpenRouter
  • Works entirely offline except for AI generation

License

MIT

About

AI-powered Chrome extension for generating contextual LinkedIn comments and message replies using free AI models

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors