Skip to content

Pankajtanwarbanna/cringe-guard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cringe-guard 📵

Control your LinkedIn feed with an LLM of your choice. A chrome extension that filters out cringe content (engagement click-bait, promotional content, and low-value off-topic posts etc) on your LinkedIn feed. It uses AI to analyse LinkedIn posts in real time and hides cringe worthy content.

This prototype demonstrates how AI can empower us to have more control over the content we consume.

Demo

Cringe Guard Demo Video

How it works?

The cringe-guard Chrome extension filters out cringe content from your LinkedIn feed using an AI model. When you browse LinkedIn:

  1. Detects New Posts: As new posts appear in your feed, the extension detects them in real time.
  2. Sends for Analysis: The post content is sent to an AI model (via an API) that classifies it based on predefined "cringe" criteria (e.g., engagement bait, overly promotional content, etc.).
  3. Applies Blur: Posts identified as cringe are blurred to keep your feed cleaner and more relevant.
  4. User Control: Users can customize the types of posts they want to see and hide, and control their settings (like API keys) via modifying content.js.

Running Cringe-Guard Locally

To run the Cringe-Guard Chrome extension on your local machine, follow these steps:

  • Clone the repository.
  • Update your groq API key in content.js.
  • Open Chrome browser and navigate to the Extensions page by typing chrome://extensions/ in the URL bar.
  • Enable Developer Mode in the top-right corner.
  • Click on the Load unpacked button.
  • Select the folder where the extension files are located (cringe-guard folder).

TODO

  • Refactor the codebase a bit
  • Allow users to input API key through a simple interface in popup.html.
  • Provide users with the option to either blur or completely remove content from the DOM.
  • In addition to analyzing the text content of posts, automatically detect and remove posts with "Promoted" tags by default.
  • Enable custom post filters, letting users choose which posts to show or hide via UI
  • Persist user settings (API key and filters) using Chrome Storage API.
  • Test cross-browser compatibility
  • Bug: The extension is unexpectedly logging GET chrome-extension://invalid/ net::ERR_FAILED in the console for some reason.
  • Redesign the logo to better reflect the purpose of the extension

Built with ❤️ by

Pankaj Tanwar, and checkout his other side-hustles

Contributing

I welcome contributions to the cringe-guard project! Whether it's a bug fix, a feature request, or improving documentation, your contributions are appreciated.

Thanks to Unbaited for the inspiration.