Deep-Codes / wakatime-cli

πŸ‘¨πŸ½β€πŸ’» Wakatime Stats right in Your Terminal! 🧬

Home Page:https://www.npmjs.com/package/@deepcodes/wakatime-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

πŸš€ Getting Started

πŸ‘¨πŸ½β€πŸ’» Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm
    npm install npm@latest -g
  • Wakatime Account

πŸ•Ή Installation

  1. Get your Wakatime API Key from Here

  2. Install Via npm

    npm install -g @deepcodes/wakatime-cli

🧬 Usage

  • Options:

❯ wakatime-cli -h
Usage: wakatime-cli [options]

Options:
  -v, --vers              output the current version
  -k, --apiKey <type>     Enter Your Wakatime APIKEY
  -r, --remove            Remove Your saved API_KEY
  -l, --language          Coding Data of Languages in Last 7days
  -a, --all               All Time Since Today
  -g, --goals             Coding Goals Meet If Set Up
  -d, --dashboard <type>  Coding Dashboard of Specific Duration
  -h, --help              display help for command
  • Save API-KEY

Copy Your Wakatime APIKEY:

This will Save your APIKEY.

 wakatime-cli -k <API_KEY>

If it's Saved it should show this:

Logo

Now that it's Saved You can get your Wakatime Stats RightawayπŸš€

  • Language Stats

Gives Stats of Language of last 7days

wakatime-cli -l

Logo

  • Gives Cumulative Coding Time

wakatime-cli -a

Logo

  • Dashboard

wakatime-cli -d <type>

<type> MUST be one of the following: -last_7_days -last_30_days -last_6_months -last_year

Logo

  • Coding Goals

You must have Coding Goals Enabled For this:

wakatime-cli -g

Logo

  • Remove the Saved API-KEY

wakatime-cli -r

Logo

More Feature Will be Added Soon. If you need some Feel Free to Open an Issue.

πŸ—Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“š License

Distributed under the MIT License. See LICENSE for more information.

πŸ˜‡ Contact

Twitter - @DeepankarBhade

πŸ“– Acknowledgements

About

πŸ‘¨πŸ½β€πŸ’» Wakatime Stats right in Your Terminal! 🧬

https://www.npmjs.com/package/@deepcodes/wakatime-cli


Languages

Language:TypeScript 74.1%Language:JavaScript 25.9%