Coder Social home page Coder Social logo

data-selfie's Introduction

Data Selfie

how to run

  • to make a build (folder) from src npm run build
  • to maka a build and watch for changes npm run buildw
  • to make a build and minify etc (see webpack.config.js) npm run buildprod
  • in your Chrome browser go to chrome://extensions/ and tick the box that says "Developer mode"
  • now click "Load unpacked extension..." and choose the build folder you just created
  • you can now use Data Selfie, the extension icon (the eye) should now appear in your toolbar
  • it is tracking if the eye is black (instead of gray) and if you can see a clock at the bottom left in your facebook window

monitor your monitoring

  • open console in any Facebook tab (by pressing Alt+Cmd+J on a Mac)
  • you can see logs of what is happening in the background with Data Selfie

fix for most errors

  • "Have you tried turning it off and on again?" - refresh the Facebook tab or close and open a new one

short cuts

  • url bar, type "ds" + tab
  • available commands reset db, delete db, init db

access local data

tracked data

  • open console in background page or Data Selfie Me page (Alt+Cmd+J on a Mac)
  • go to the "Application" tab
  • Storage > IndexedDB
  • click triangle to expand the subitems
  • "DataSelfieLocalDB" contains all tracked data (this is not saved anywhere else(!), so be careful before clearing this storage)

chrome local storage

  • you can access settings, your general user data and the prediction

    • open console in background page or Data Selfie Me page (Alt+Cmd+J on a Mac)
    • copy chrome.storage.local.get(function(data){console.log(data)})
    • press Enter
  • you can delete your prediction to start new

    • open console in background page or Data Selfie Me page (Alt+Cmd+J on a Mac)
    • copy chrome.storage.local.remove(["alchemy", "applymagicsauce", "personality"])
    • press Enter

known bugs

  • posts like friendship anniversaries and memories are not considered, which sometimes leads to time being added to the previously looked at post
  • when Facebook tab has been in the background for a while and you go back the clock might not show up again
  • exporting your data can result in an invalid json file (that you can't import), when URLs contain double quotes " that are not excaped, you can do that manually by adding \ before the "
  • more bugs commented in source code under "// FIX"

to do list

  • refine the limit of data sent to IBM (Alchemy and Personality Insights), now only last 300 rows - add date (e.g. last 5 days from last time active)
  • make tracking more stable (we need your help, please report any problems you run into)
  • improve Your Data Selfie (Me) page front end code (responsive, handlebars or similar instead of jquery append - I know horrible)

disclaimer

This project is maintained by one developer as of now. Get in touch to be involved at [email protected].

This was mainly tested in Chrome Version 55.0.2883.95 (64-bit) on a Macbook Pro with macOS Sierra 10.12.2 with Facebook in English (US).

data-selfie's People

Contributors

01fade avatar 228miles avatar idisposable avatar vadbars avatar

Watchers

James Cloos avatar Piyush avatar

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.