Giter Club home page Giter Club logo

stravalog's Introduction

A simplified Strava training log

This nameless project attempts to provide an easy and streamlined solution to viewing a training log of your Strava activities. It is intended to be primarily used as a 'new tab' page in your web browser, but can also be accessed as a regular site.

This project is built with node.js on the server side and jQuery/vanillaJS/Bootstrap on the client side.

Hosted here: http://stravalog.herokuapp.com/

If you don't have a Strava account, you can access a demo version of the site: http://stravalogdemo.herokuapp.com/

Running the project

  1. Install node.js and npm
  2. $ git clone https://github.com/ednunezg/StravaLog
  3. Install dependencies $ npm install
  4. Edit the data/strava_config file with your Strava API token, ID and secret
  5. Start app $ nodemon start
  6. Go to http://localhost:3000

Project issues / Future features

  1. Right now, the client requests a list of activities from the server on a week to week basis. If instead, the server can respond with a list of activities that span across multiple weeks, the page could load significantly faster.
  2. Accessing the home page should redirect you to the /traininglog page if the server still has your session stored.
  3. UI could be cleaned up a bit. Background color of each workout bubble can be toned to represent the length of the workout (Dark blue for long runs, light blue for shorter runs).

stravalog's People

Stargazers

Michael Shin avatar Ed Nunez avatar

Watchers

James Cloos avatar

stravalog's Issues

Automatic redirection to log when logged in

Because this is intended to be used as a new tab page, going into the index page should redirect you if the OAuth redirect already detects that you are logged in to Strava

Disable project on mobile devices

This project is not compatible on mobile. The calendar is fixed to a specific length of pixels and significant revamps need to be made until this project can be supported for smaller screens

UI Enhancement: Workout bubble colors

UI could be cleaned up a bit. Background color of each workout bubble can be toned to represent the length of the workout (Dark blue for long runs, light blue for shorter runs).

Display message prior to logging in about what account data is used

From https://www.reddit.com/user/d112358

I won't get past your "login to strava" if you don't have something explaining that it's an oauth connection, and that you aren't harvesting my strava credentials. Unfortunately, you have to be very clear to people about what your doing and what information you may or may not be keeping. To be clear, I'm not accusing you of running an "evil website", but it's one thing for me to give an auth permission to a company I have a relationship with (like my bank). It's another to give it to a a random website.

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.