Skip to content

williamgrosset/fokus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Google chrome extension to help you focus on the things that really matter.



How to use

  1. Download the chrome extension on the Google chrome store here.
  2. Open the chrome popup and add new domains to be blocked, e.g: domain.com.
  3. Toggle the chrome extension on/off by clicking on either Enable or Disable mode.
  4. Enjoy your meditation breaks for increased focus and productivity.

How to contribute

  1. Fork and clone this repository.
  2. Run nvm install to use the required Node version.
  3. Run npm install to install the required dependencies.
  4. Create the build directory: mkdir build.
  5. Create a branch: git checkout -b feature-name.
  6. Complete any necessary changes or features. For bundling with watchify: npm run watch.
  7. Make sure the linting/tests all pass by running npm test.
  8. Submit a pull request.

Project layout

  • Development scripts in scripts/
    • build.sh/: npm run build
    • watch.sh/: npm run watch
    • lint.sh/: npm run lint
    • test.sh/: npm run test
  • Photo assests in png/
  • JavaScript bundle in build/ (see .gitignore)
  • React components in src/js/popup/components
  • Enzyme tests in test/