prathamesh-dukare / focus-hours

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Focus Hours Chrome Extension

The Focus Hours Chrome Extension is a productivity tool that empowers you to maintain better focus and minimize distractions by blocking specific websites such as social media platforms during your dedicated work hours. It also offers a list of redirect links to guide you towards more relevant and productive online resources.

Features

  • Block distracting websites to enhance your work efficiency.
  • Automatically redirect to constructive websites for a more focused browsing experience.
  • Customize your list of blocked websites and redirect links as per your preferences.
  • Effortless installation and setup process.

Installation

To install the Focus Hours Chrome Extension, adhere to the instructions provided below:

  1. Clone the repository or download the code:

    • Clone the repository using Git by executing the subsequent command in your terminal:

      git clone https://github.com/rohitjuyal21/focushours.git

    • Alternatively, you can download the code as a ZIP file by clicking the "Download" button on the repository page and subsequently extracting the contents into a local directory.

  2. Build the extension code by running the following command in the terminal:

    npm install
    npm run build
    
  3. Launch the Google Chrome browser and enter chrome://extensions in the address bar.

  4. Activate the "Developer mode" option located in the upper-right corner of the page.

  5. Click on the "Load unpacked" button, and choose the build directory where you cloned or extracted the extension's code.

  6. Following the selection, the Focus Hours Chrome Extension will be installed and will be at your disposal for use.

Usage

  1. Upon installation, you will observe the extension icon in the Chrome toolbar.

  2. Click on the extension icon to access the options and settings.

  3. Within the options menu, you can append or remove websites from the block list, and tailor the redirect links.

  4. To include a website in the block list, click on the "Add Website" button and insert the URL of the website you intend to block.

  5. To add a redirect link, select the "Add Redirect Link" button and input the URL of the alternative website you desire to be redirected to.

  6. Websites or redirect links can be eliminated by clicking the "Delete" button next to the respective entry.

  7. Adjustments made to the block list and redirect links are automatically saved and take effect instantly.

License

The Focus Hours Chrome Extension is issued under the MIT License. You are encouraged to modify and distribute the extension in accordance with the terms of this license.

Disclaimer

The Focus Hours Chrome Extension is a utility designed to bolster productivity and concentration. However, the user bears the ultimate responsibility for time management and prudent use of the extension. The extension does not guarantee complete elimination of distractions, and its efficacy may fluctuate based on individual circumstances.

About


Languages

Language:JavaScript 74.5%Language:CSS 20.8%Language:HTML 4.7%