Skip to content

DevinNorgarb/wakatime-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wakatime Parser - PHP

License

This project provides analysis based on your WakaTime data. It calculates the total time spent on different categories, languages, and projects, providing valuable (and free!) insights into your coding habits.

Features

  • Time Tracking Analysis: Gain a comprehensive overview of your time spent on coding projects.
  • Total Time Tracked: Calculate the total time tracked in days, hours, and minutes.
  • Time Tracked by Category: Analyze the distribution of time across different coding categories.
  • Time Tracked by Language: Understand the amount of time spent on various programming languages.
  • Time Tracked by Project: Identify the time dedicated to individual coding projects.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/DevinNorgarb/wakatime-parser.git
  2. Navigate to the project directory:

    cd wakatime-parser
  3. Install dependencies:

    composer install

Usage

  1. Ensure you have a valid WakaTime data file in JSON format. You can retrieve this file by navigating to your WakaTime Account, then clicking export as depicted in the image below. 2023-06-04_11-59

  2. Run the PHP script with the following command, providing the JSON file as a command-line argument:

    php parse.php your_wakatime_data.json

    Replace your_wakatime_data.json with the appropriate WakaTime data file name.

  3. Review the generated output, including the total time tracked, time behind the PC, time tracked by category, language, and project.

Contributing

Contributions are welcome! Follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature-name
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature/your-feature-name
  5. Submit a pull request.

License

This project is licensed under the MIT License.

Contact

For any inquiries or feedback, please contact:

Your Name

About

Wakatime Wakadump human readable parser in PHP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages