My Personal Website
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
apis
config
deploy
design
exports
requirements
static
templates
tests
.bashrc-local
.editorconfig
.gitignore
.jshintrc
.travis.yml
Makefile
README.md
__init__.py
gruntfile.js
package.json
thougts.md

README.md

Build Status Requirements Status

khaliqgant.com - A Flask App

My personal website

Getting started

  1. Make sure virtualenv is installed, if not run
    sudo pip install virtualenv
    
  2. If just setting up the project run
    virtualenv venv
    
  3. Otherwise, set the correct environment
    . venv/bin/activate
    
  4. If starting up, install Flask
    sudo pip install Flask
    
  5. Make sure you have an sqlite file for caching
    mkdir data && cd data && touch api.sqlite
    
  6. Initialize with
    python __init__.py
    

Deployment

Feature Ideas

  • Dynamically created playlists from Spotify, lastfm, hypem apis
Spotify API
Create playlist: https://developer.spotify.com/web-api/create-playlist/
Add Track to playlist: https://developer.spotify.com/web-api/add-tracks-to-playlist/
  • Hook in NYC things to do using Date Director code
  • Provide daily stats using movesapp, and fitbit

API

  • Grab all data from foursquare and last fm to see what I was doing and listening to on that day
  • Use ES to store everything to allow for easy querying and access
  • Grab everything to filesystem in json?
  • Sleep data
  • Rescuetime data
  • Pocket api (https://getpocket.com/developer/docs/v3/retrieve)
  • Show fitbit most recent workout in activities

Stats For The Day (Dashboard)

  • of Steps

  • Commits
  • Music listening habits, top artist
  • How well slept night before, cross reference Fitbit and SleepCycle
  • Email stats, sent, received etc
  • Things could do, concerts, events, date director API (keep in node app)
  • Moves: https://github.com/lysol/moves

What will go in ES

Roadmap

Todos

  • Look into fitbit API more
  • Get number of commits per day