{"id":13678908,"url":"https://github.com/vladfaust/unity-wakatime","last_synced_at":"2025-03-30T06:30:48.386Z","repository":{"id":31612602,"uuid":"128420124","full_name":"vladfaust/unity-wakatime","owner":"vladfaust","description":"WakaTime plugin for Unity ⏱","archived":true,"fork":false,"pushed_at":"2022-06-06T16:49:30.000Z","size":64,"stargazers_count":121,"open_issues_count":9,"forks_count":27,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-20T15:55:14.767Z","etag":null,"topics":["unity","unity3d","wakatime"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vladfaust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-06T16:38:14.000Z","updated_at":"2025-03-08T12:29:27.000Z","dependencies_parsed_at":"2022-09-03T20:52:48.050Z","dependency_job_id":null,"html_url":"https://github.com/vladfaust/unity-wakatime","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladfaust%2Funity-wakatime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladfaust%2Funity-wakatime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladfaust%2Funity-wakatime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladfaust%2Funity-wakatime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vladfaust","download_url":"https://codeload.github.com/vladfaust/unity-wakatime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285645,"owners_count":20752947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["unity","unity3d","wakatime"],"created_at":"2024-08-02T13:00:59.745Z","updated_at":"2025-03-30T06:30:47.068Z","avatar_url":"https://github.com/vladfaust.png","language":"C#","funding_links":["https://www.patreon.com/vladfaust"],"categories":["C#"],"sub_categories":[],"readme":"# unity-wakatime\n\nA [WakaTime](https://wakatime.com) plugin for [Unity](https://unity.com).\n\n![Screenshot](https://user-images.githubusercontent.com/7955682/38732057-79cf45b4-3f25-11e8-958f-07ba5290caba.PNG)\n\n## About\n\nExisting solutions didn't work for me (https://github.com/bengsfort/WakaTime-Unity is obsolete and https://github.com/josec89/wakatime-unity requires Python), so I decided to implement my own variant.\n\n## Installation using the Unity Package Manager (Unity 2018.1+)\n\nThe [Unity Package Manager](https://docs.unity3d.com/Packages/com.unity.package-manager-ui@1.8/manual/index.html) (UPM) is a new method to manage external packages. It keeps package contents separate from your main project files.\n\n1. Modify your project's `Packages/manifest.json` file adding this line:\n\n    ```json\n    \"com.vladfaust.unitywakatime\": \"https://github.com/vladfaust/unity-wakatime.git#package\"\n    ```\n\n    Make sure it's still a valid JSON file. For example:\n\n    ```json\n    {\n        \"dependencies\": {\n            \"com.unity.ads\": \"2.0.8\",\n            \"com.vladfaust.unitywakatime\": \"https://github.com/vladfaust/unity-wakatime.git#package\"\n        }\n    }\n    ```\n\n2. To update the package you need to delete the package lock entry in the `lock` section in `Packages/manifest.json`. The entry to delete could look like this:\n\n    ```json\n    \"com.vladfaust.unitywakatime\": {\n      \"hash\": \"31fe84232fc9f9c6e9606dc9e5a285886a94f26b\",\n      \"revision\": \"package\"\n    }\n    ```\n\n## Installation (all other Unity versions)\n\nIf you don't use the Unity Package Manager, you may copy the `Editor` folder from inside `Assets/com.vladfaust.unitywakatime` into your project's `Assets` folder.\n\n## Setup\n\n1. Run the Unity editor, go to `Window/WakaTime`, and insert your API key (grab one from https://wakatime.com/settings/account)\n2. Press `Save Preferences`\n3. Check if `\"Unity\"` editor appears at https://wakatime.com/api/v1/users/current/user_agents (may be a bit delayed)\n4. Enjoy!\n\n## Usage\n\nThe plugin will automatically send heartbeats to WakaTime after following events:\n\n* DidReloadScripts\n* EditorApplication.playModeStateChanged\n* EditorApplication.contextualPropertyMenu\n* EditorApplication.hierarchyWindowChanged\n* EditorSceneManager.sceneSaved\n* EditorSceneManager.sceneOpened\n* EditorSceneManager.sceneClosing\n* EditorSceneManager.newSceneCreated\n\n## Development\n\nUse the manual installation method, so the changes you make are immediately reflected in the editor.\nBut please keep the repository sane, omitting any unnecessary files.\nWhen added a new file, move its `.meta` counterpart generated by Unity into the `/CI/Meta` folder.\n\n[![Become Patron](https://vladfaust.com/img/patreon-small.svg)](https://www.patreon.com/vladfaust)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladfaust%2Funity-wakatime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvladfaust%2Funity-wakatime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladfaust%2Funity-wakatime/lists"}