Giter VIP home page Giter VIP logo

clocktrol's Introduction

Clocktrol

Everybody is tracking their productive time, but no one tracks their unproductive time...

I made this app to gather information about my workday. I start a timer in the morning, stop it for lunch break, turn it back on when I get to work and put it off when I stop working for the day. The app then pulls my tracked working time from Clockify and at the end of the day gives me intersting statistics about how productive or unproductive my day really was.

Getting Started

Setup

  • Add .env file with your Clockify API key as follows if you have one.
CLOCKIFY_API_KEY=YourClockifyApiKey
  • Add google-services.json pointing to Firebase backend into android/app (or for iOS follow these steps).

Run project

  • Run flutter pub get to install dependencies.
  • Run flutter run to execute app on device.

clocktrol's People

Contributors

pachisi456 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

gauravcalidig

clocktrol's Issues

License?

Would you be willing to add an open-source license to this project?

Percentage mode

In top bar have toggle to switch between time and percentage values for

  • tracked time
  • unproductive time
  • breaks
  • worked time (if #6 is implemented)

Add statistics page

  • Picker for time range (defaults to this week)
  • Click through past time ranges
  • Display average values for specified time range

JSON parsing error

E/flutter ( 4615): #0      _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1394:5)
E/flutter ( 4615): #1      _ChunkedJsonParser.close (dart:convert-patch/convert_patch.dart:512:7)
E/flutter ( 4615): #2      _parseJson (dart:convert-patch/convert_patch.dart:32:10)
E/flutter ( 4615): #3      JsonDecoder.convert (dart:convert/json.dart:505:36)
E/flutter ( 4615): #4      JsonCodec.decode (dart:convert/json.dart:153:41)
E/flutter ( 4615): #5      jsonDecode (dart:convert/json.dart:96:10)
E/flutter ( 4615): #6      Clockify.getTodaysHours (package:clocktrol/clockify.dart:24:21)
E/flutter ( 4615): <asynchronous suspension>
E/flutter ( 4615): #7      Workday.fetchClockify (package:clocktrol/workday.dart:48:34)
E/flutter ( 4615): #8      new Workday.<anonymous closure> (package:clocktrol/workday.dart:17:57)
E/flutter ( 4615): #9      _rootRunUnary (dart:async/zone.dart:1192:38)
E/flutter ( 4615): #10     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
E/flutter ( 4615): #11     _CustomZone.runUnaryGuarded (dart:async/zone.dart:987:7)
E/flutter ( 4615): #12     _CustomZone.bindUnaryCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1024:26)
E/flutter ( 4615): #13     _rootRunUnary (dart:async/zone.dart:1196:13)
E/flutter ( 4615): #14     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
E/flutter ( 4615): #15     _CustomZone.bindUnaryCallback.<anonymous closure> (dart:async/zone.dart:1008:26)
E/flutter ( 4615): #16     _Closure.call (dart:core-patch/function.dart)
E/flutter ( 4615): #17     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
E/flutter ( 4615): #18     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
E/flutter ( 4615): #19     _Closure.call (dart:core-patch/function.dart)
E/flutter ( 4615): #20     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
E/flutter ( 4615): 

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.