We slaved ourselves for 36h to help you to LOCK THE F*CK IN (with our beautifuly made Chrome extension).
This was developed in conjunction to Pomolock-in_Website in order to create one great Pomodoro experience that everybody can use and enjoy.
Follow these steps to run the extension:
- Clone this repository to your local machine.
- Install dependencies:
npm install
- Build the project:
npm run build
- Load the extension as an unpacked extension:
- Open Chrome and navigate to
chrome://extensionsin a new tab. - Enable Developer Mode (toggle in the top-right corner).
- Click the Load unpacked button (top-left corner) and select the
distfolder inside this project.
- Open Chrome and navigate to
- Once loaded, click the extension icon in the Chrome toolbar to view the popup or let it run in the background as configured.
For more details, visit the official Chrome Extensions tutorial.
If you're using WebStorm for development, follow these steps to configure it for Chrome Extension development:
- Open the Settings dialog:
File > Settings. - Navigate to:
Languages & Frameworks > JavaScript > Libraries. - Click the Download button.
- From the TypeScript community stubs list (should be default), find and select chrome (you can quickly find it by typing
chromein the search bar). - Click Download and Install.
- Close the Settings dialog by clicking OK.
-
Start the Development Server
npm run dev
This serves your project for local development. However, Chrome Extensions require files to be rebuilt for loading in the browser, so remember to build before testing.
-
Rebuild for Testing Before loading the extension in Chrome, ensure it's built:
npm run build