The Beat-bot is a Chrome extension designed to transform headlines on the Hindustan Times (India News section) into mini rhymes. It uses the OpenAI API to generate rhymed versions of the headlines.
- Google Chrome Browser
- OpenAI API key (You can obtain it by signing up at OpenAI)
Clone this repository or download the code to your local machine.
Make sure you have your OpenAI API key. This key is essential for the extension to generate rhymes using the OpenAI service.
Open the content.js
file in the extension's codebase and replace 'your-api-key'
with your actual OpenAI API key.
- Open Google Chrome and navigate to
chrome://extensions/
. - Enable "Developer mode" by toggling the switch in the top right corner.
- Click on "Load unpacked" and select the directory where you cloned or unzipped the extension.
- Visit the Hindustan Times India News section at
https://www.hindustantimes.com/india-news
. - The extension should automatically activate and begin transforming the headlines into rhymes. You will see the original headlines on the website replaced with rhymed versions, each followed by an exclamation mark "!".