An open API service indexing awesome lists of open source software.

https://github.com/deep-codes/wakatime-cli

πŸ‘¨πŸ½β€πŸ’» Wakatime Stats right in Your Terminal! 🧬
https://github.com/deep-codes/wakatime-cli

node-cli typescript wakatime wakatime-api wakatime-cli

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          




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
```sh
npm install npm@latest -g
```
- Wakatime Account

### πŸ•Ή Installation

1. Get your Wakatime API Key from [Here](https://wakatime.com/settings/account)

2. Install Via `npm`
```sh
npm install -g @deepcodes/wakatime-cli
```

## 🧬 Usage

- #### Options:

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

Options:
-v, --vers output the current version
-k, --apiKey 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 Coding Dashboard of Specific Duration
-h, --help display help for command
```

- #### Save API-KEY

Copy Your `Wakatime APIKEY`:

This will Save your APIKEY.

```sh
wakatime-cli -k
```

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

```sh
wakatime-cli -l
```

Logo

- #### Gives Cumulative Coding Time

```sh
wakatime-cli -a
```

Logo

- #### Dashboard

```
wakatime-cli -d
```

`` 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

```sh
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](https://twitter.com/DeepankarBhade)

## πŸ“– Acknowledgements

- [Wakatime](https://wakatime.com/dashboard)
- [Wakatime API](https://wakatime.com/developers)