Coder Social home page Coder Social logo

wakatimecli's People

Contributors

alanhamlett avatar interskh avatar joshlankford avatar loris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wakatimecli's Issues

Remove colors if the output is piped or does not support ANSI codes?

As this page explain, it is generally a bad idea to not remove the ANSI Colors code if the output of the script is piped.
For example, it's hard to save the result of the command in a file for future use, or to pipe it to a pager.

Could you try to improve this?
cli-color has a function to remove ANSI codes from the text before it is printed.
It might not be to hard to detect if the output is piped or not (supports colors or not).
(For instance, I did it "manually" in Python, a few years ago.)

Thanks in advance ๐Ÿ‘ !

Add leaderboard info

Cool plugin. Could you consider allowing a user to access their position on the public leaderboards?

This npm package shadows the official wakatime CLI

I had this commandline dashboard package installed, however it uses the wakatime command and shadows the official cli for logging. Since I am trying to develop a plug in, I would like to have this package uninstalled, however npm uninstall wakatimecli does not do the trick.

Read API key from $HOME/.wakatime.cfg

Many official WakaTime plugins read API key from $HOME/.wakatime.cfg, e.g. Intellij plugin and Vim plugin.

It would be awesome if WakaTimeCLI can read API key directly from the file (if it exists).

Still, awesome project. Thanks!

More Flexibility needed

I liked that plugin and really helps but can you add some features like:

  • last month => wakatime -month
  • custom range like => wakatime -range 01-01-2015 01-02-2015
  • run custom API calls like => wakatime -call "/api/v1/summary/daily params"

Wrong logic for weekly report.

When I try to get wakatime weekly report in February 2nd, I got an error.
It's because the logic of date is (today - 6), so the result will be (-4)

var dd3 = dd-6;

Maybe need another library (e.g. datejs) to set the date.
So, it could be easier to get report in a week, two week, a month, 2 days, etc.

SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

Hi,
I loved this extension a few years ago, and haven't used in a long time (I talk about it on my website, here).

I reinstalled it, and added the API through the (undocumented?) wakatime -api command, it worked.

But when try to get, for instance, wakatime -w weekly report, I encountered this error:

$ wakatime -w
error -  { Error: write EPROTO 139628127275904:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:802:

    at _errnoException (util.js:1022:11)
    at WriteWrap.afterWrite [as oncomplete] (net.js:880:14) code: 'EPROTO', errno: 'EPROTO', syscall: 'write' }

Thanks in advance.

null

When I'm trying to get weekly tracked time and type wakatime -w, it returns me always null...

Wrong .wakafile location when on different Drive letter than C

On Windows i was located in F: and then i ran wakatime -api my-api-key and I got this:

Error: ENOENT, open 'F:\Users\Mario\.wakafile'

When i changed my location to C: everything worked.

Maybe you can store .wakafile somewhere else to avoid this issue.

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.