Giter VIP home page Giter VIP logo

reflect-chrome's Introduction

reflect.

"a mindful website blocker for the productive."


Video Demo

reflect is a digitally mindful chrome extension that encourages users to reflect on their relationship with technology.

when you attempt to visit distracting websites, reflect will ask you what your intention in doing so is. if you have a valid reason, you are allowed to enter the website; if not, you are encouraged to reflect further.

Building the project

  1. Install the package dependencies by doing npm i
  2. Run npm run build
  3. Load the extension in the Chrome Extensions menu
    • Go to extensions > enable developer mode (top right corner)
    • Click load unpacked, select the dist folder

Developing

When developing, you will likely want to use a different workflow that is slightly faster. This assumed you already 1) Have all the dependencies installed 2) Have run npm run build once already and 3) Have the extension installed

  1. Run npm run watch
  2. Reload extension in the Chrome Extensions menu
    • Go to extension > under reflect, press the refresh icon

Using different intent classifiers

You can find the latest models on our NLP repository here https://github.com/jackyzha0/reflect-nlp inside the nlp folder. To convert a model, just run ./convert_to_js.sh <model_name> and drop the result into dist/res/models/ and call it in src/background.ts:

// Load ML model stuff
const model: IntentClassifier = new IntentClassifier('acc84.78')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.