An intelligent Chrome extension that automates social media engagement on LinkedIn and Facebook using advanced AI technology. The extension automatically likes posts and generates personalized comments based on customizable AI personas.
- π€ AI-Powered Comments: Generate contextual, personalized comments using Cohere AI
- β€οΈ Smart Auto-Like: Automatically like posts with intelligent duplicate detection
- π Multiple Personas: Create and manage different AI personalities for varied comment styles
- π― Platform Support: Works seamlessly on LinkedIn and Facebook
- βοΈ Flexible Settings: Customizable settings for each platform
- π Secure Storage: API keys stored locally in your browser
- π¨ Modern UI: Beautiful, user-friendly interface with Hebrew and English support
- π View-Based Processing: Only processes posts you actually view (3+ seconds)
- π Manual Control: Comments are prepared but never auto-submitted (user control)
- Chrome Browser (or Chromium-based browser)
- Cohere AI API Key (free tier available)
- Node.js and npm (for building from source)
-
Clone the repository:
git clone https://github.com/yourusername/logan-ai-social-booster-by-yuval-avidani.git cd logan-ai-social-booster-by-yuval-avidani -
Install dependencies:
npm install
-
Build the extension:
npm run build
-
Load in Chrome:
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" (top-right toggle)
- Click "Load unpacked" and select the
distfolder
- Open Chrome and go to
For active development:
npm run devThis will watch for changes and rebuild automatically.
- Visit Cohere AI
- Sign up for a free account
- Navigate to your dashboard
- Generate a new API key
- Copy the API key for use in the extension
Free Tier Includes: 1000 API calls per month (sufficient for moderate usage)
- Open the extension popup by clicking the Logan AI icon in your browser toolbar
- Enter your Cohere API key in the API Key field
- Click "Save API Key" - the extension will test the connection
- Configure your preferences:
- Enable/disable auto-like functionality
- Enable/disable auto-comment functionality
- Choose platforms (LinkedIn/Facebook)
- Select default comment style
Create custom AI personas for different commenting styles:
- Click "Manage Personas" in the extension popup
- Click "Add New Persona" to create a persona
- Fill in persona details:
- Name: A descriptive name (e.g., "Professional Marketer")
- Description: What this persona represents
- Style Instructions: Detailed instructions for the AI
- Examples: Sample comments this persona would write
- Save the persona and select it as active
Professional Business Persona:
- Style: "Write professional, business-focused comments that add value to the conversation. Keep tone formal but friendly."
- Examples: "Great insights on market trends!", "This aligns perfectly with current industry best practices."
Casual Friend Persona:
- Style: "Write casual, friendly comments as if talking to a close friend. Use emojis and informal language."
- Examples: "Love this! π", "So true! Thanks for sharing π"
- Navigate to LinkedIn and log in
- Open the extension popup and ensure settings are configured
- Scroll through your LinkedIn feed
- View posts for 3+ seconds - the extension will:
- Automatically like the post (if enabled)
- Generate a personalized comment (if enabled)
- Display a "Logan AI Submit" button next to the comment
- Click the Logan AI button to post the comment when you're ready
- Navigate to Facebook and log in
- Enable Facebook in extension settings
- Browse your feed - similar auto-engagement as LinkedIn
- Manual submission - comments are prepared but you control posting
View-Based Processing:
- Only posts you actually view for 3+ seconds are processed
- Scroll detection ensures new posts are captured
- Intersection observer tracks when posts come into view
Smart Duplicate Prevention:
- Already liked posts are automatically skipped
- Previously processed posts won't be processed again
- Intelligent post identification system
βββ src/
β βββ background.js # Service Worker (background tasks)
β βββ linkedin-content.js # LinkedIn content script
β βββ facebook-content.js # Facebook content script
β βββ popup.js # Extension popup logic
β βββ popup.html # Extension popup interface
β βββ popup.css # Extension popup styling
βββ icons/ # Extension icons
βββ manifest.json # Chrome extension manifest
βββ package.json # Node.js dependencies
βββ webpack.config.js # Webpack build configuration
βββ README.md # This file
npm run build # Production build
npm run dev # Development build with watch mode
npm test # Run tests (placeholder)Background Script (background.js):
- Handles API calls to Cohere AI
- Manages extension settings and storage
- Coordinates between content scripts and popup
Content Scripts:
linkedin-content.js: LinkedIn-specific engagement logicfacebook-content.js: Facebook-specific engagement logic
Popup Interface:
- Settings management
- Persona creation and editing
- API key configuration
- Real-time status updates
- Check if extension is enabled in
chrome://extensions/ - Reload the extension after making changes
- Check browser console (F12) for error messages
- Verify API key is correctly entered and valid
- Verify Cohere API key is valid and has remaining credits
- Check internet connection
- Look at browser console for API error messages
- Ensure you have an active persona selected
- Refresh the page and try again
- Check that platform is enabled in settings
- Ensure you're viewing posts for 3+ seconds
- Check browser console for intersection observer logs
- Free tier: 1000 calls/month
- Monitor usage in your Cohere dashboard
- Upgrade plan if needed for higher usage
The extension provides console logging for debugging:
- π New post detection
- ποΈ Post viewing tracking
- π¬ Comment generation status
- β Successful likes and comments
- β Error reporting
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - 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 formatting
- Add comments for complex logic
- Test on both LinkedIn and Facebook
- Ensure builds complete without errors
- Update documentation for new features
MIT License - see LICENSE file for details.
Yuval Avidani
- Creator of Logan AI Social Booster
- Expertise in AI automation and browser extensions
If you encounter issues or have questions:
- Check the troubleshooting section above
- Review browser console logs for error messages
- Open an issue on GitHub with detailed information
- Include: Browser version, extension version, error messages, and steps to reproduce
- v2.1 - Updated branding to Logan AI Social Booster by Yuval Avidani
- v2.0 - Added persona management and improved UI
- v1.0 - Initial release with basic auto-engagement features
Note: This extension is designed for educational and productivity purposes. Always respect platform guidelines and community standards when using automated tools.