Giter VIP home page Giter VIP logo

hopefloats's Introduction

Float Hope started as a weekend project after I realized that I was wasting a bunch of time cruising around the Internet on sites like Twitter, Facebook and ESPN. I thought it could be fun to track how much time gets wasted on these sites and transfer it into some good.

The idea morphed into an exercise to teach myself how to build Chrome Extensions with a server side component. The next step was to integrate in with a payment platform to facilitate a passive transaction each month to the charity of your choice.

The problem was that I got distracted onto another project. Without continued drive, but a few months of work under its belt, I would like to open Float Hope to anyone who wants to take it to its next level of concept.

Things that exist and work:

  • Chrome Extension to track when you visit a domain of your choosing across browser tabs
  • MYSQL database structure (create-tables.sql)
  • A reporting UI that shows how often you're visiting each of the sites you have chosen
  • An automated email notification system

Things that aren't fully baked:

  • A transaction platform for charity donations
  • Backward looking reporting on previous months

Please note:

  • the prod-extension directory contains information on how to package and access the Chrome Extension
  • make sure you include php.ini in your root directory. this is required for accessing the news feed in home.php

Happy hacking! Feel free to use as much or as little as you'd like.

If you have any questions - feel free to tweet directly at me: @jackk


Product Structure:

The main object is defined as a user class within user.php.

All of the Chrome Extension is packaged within the prod-extension directory. Be sure to take a gander at the readme in there. background.html is where the meat of the passive listening takes place. It accesses to php controllers. The UI of the Chrome Extension is within popup.html -- using an iframe into popup-frame.php

All of the user interface is centered around home.php. Each page is suggested to contain includes.php to access all of the classes and methods.

This is a first draft project so you may find a ton of hacky implemented code.

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.