{"id":13393916,"url":"https://github.com/git-time-metric/gtm","last_synced_at":"2026-01-17T03:50:34.048Z","repository":{"id":47794090,"uuid":"61500798","full_name":"git-time-metric/gtm","owner":"git-time-metric","description":"Simple, seamless, lightweight time tracking for Git","archived":false,"fork":false,"pushed_at":"2022-01-31T15:31:34.000Z","size":3488,"stargazers_count":975,"open_issues_count":51,"forks_count":52,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-10-26T18:30:51.569Z","etag":null,"topics":["git","gtm","metrics","time-tracker"],"latest_commit_sha":null,"homepage":"","language":"Go","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/git-time-metric.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":"2016-06-19T21:17:04.000Z","updated_at":"2024-10-10T07:38:05.000Z","dependencies_parsed_at":"2022-09-03T06:23:58.076Z","dependency_job_id":null,"html_url":"https://github.com/git-time-metric/gtm","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-time-metric%2Fgtm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-time-metric%2Fgtm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-time-metric%2Fgtm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-time-metric%2Fgtm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/git-time-metric","download_url":"https://codeload.github.com/git-time-metric/gtm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243469227,"owners_count":20295715,"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":["git","gtm","metrics","time-tracker"],"created_at":"2024-07-30T17:01:02.522Z","updated_at":"2026-01-17T03:50:34.031Z","avatar_url":"https://github.com/git-time-metric.png","language":"Go","funding_links":[],"categories":["Go","Utility","Utilities","公用事业公司","實用工具","工具库","工具库`可以提升效率的通用代码库和工具`","实用工具"],"sub_categories":["Utility/Miscellaneous","HTTP Clients","实用程序/Miscellaneous","高級控制台界面","Advanced Console UIs","查询语","高级控制台界面","交流","Fail injection","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"readme":"\u003cdiv align=\"center\"\u003e\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/19619834/43c460dc-9835-11e6-8652-1c8fff91cf02.png\" alt=\"GTM Logo\" height=\"115\" width=\"275\"\u003e\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\u003cfont size=16\u003e\u003cbold\u003eGit Time Metric\u003c/bold\u003e\u003c/font\u003e\u003c/div\u003e\n\n### Seamless time tracking for all your Git projects\n\n##### $ gtm report -last-month\n\u003cdiv\u003e\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/21582250/8a03f9dc-d015-11e6-8f77-548ef7314bf7.png\"\u003e\u003c/div\u003e\n\n##### $ gtm report -last-month -format summary\n\u003cdiv\u003e\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/21582252/8f85b738-d015-11e6-8c70-beed7e7b3254.png\"\u003e\u003c/div\u003e\n\n##### $ gtm report -last-month -format timeline-hours\n\u003cdiv\u003e\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/21582253/91f6226e-d015-11e6-897c-6042111e6a6a.png\"\u003e\u003c/div\u003e \u003c/br\u003e\n\nGTM is automatic, seamless and lightweight.  There is no need to remember to start and stop timers.  It runs on occasion to capture activity triggered by your editor.  The time metrics are stored locally with the git repository as [Git notes](https://git-scm.com/docs/git-notes) and can be pushed to the remote repository.\n\n### \u003cdiv align=\"center\"\u003ePlugins\u003c/div\u003e\n\nSimply install a plugin for your favorite editor and the GTM command line utility to start tracking your time now.\n\n\u003cp\u003e\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/17458557/72247454-5bda-11e6-84ce-03364b8ac832.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/17458560/72397408-5bda-11e6-909c-c2dd2dad3b52.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/3669664/62366235-a39ef880-b526-11e9-9408-e549b5b12a46.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/17458562/7264e2be-5bda-11e6-8311-bbed672ffb8f.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/17458559/72302916-5bda-11e6-886e-2a41f423b06f.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/17458563/7264f06a-5bda-11e6-9fb6-d0469730c1cb.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/17458556/72030a62-5bda-11e6-89e4-6a3921034aed.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/17458564/727d43a4-5bda-11e6-8b3c-56d3fb7bf988.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/17458555/71e4352e-5bda-11e6-89d3-e8ff2c3a86e2.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/17458561/72417ac2-5bda-11e6-9769-04cffc64397e.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/17458591/82e06c98-5bdb-11e6-8ae0-c5b2bd2fe97f.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/17458558/72269342-5bda-11e6-8194-d9bf030bd037.png\" width=\"64\" height=\"64\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/630550/19619987/f9f7523a-9838-11e6-99da-c3fda05ce0d6.png\" width=\"64\" height=\"64\"\u003e\u003c/p\u003e\n\n# Getting Started\n\n### Install the latest GTM release\n\n**Mac OS X**\n\nThe simplest way to install is to use [Homebrew](http://brew.sh)\n\n```\nbrew tap git-time-metric/gtm\nbrew install gtm\n```\n\n**Windows**\n\n- Download and run the Windows installer from [here](https://github.com/git-time-metric/gtm/releases/latest)\n\n**Linux**\n\nThe simplest way to install is to use [Linuxbrew](http://linuxbrew.sh/)\n\n```\nbrew tap git-time-metric/gtm\nbrew install gtm\n```\n\n**Manually install for Linux, OSX or Windows**\n\n- Download and install the executable from [here](https://github.com/git-time-metric/gtm/releases/latest)\n\n\n### Install a plugin for your editor\n\n- [Sublime 3](https://github.com/git-time-metric/gtm-sublime3-plugin)\n- [Atom](https://github.com/git-time-metric/gtm-atom-plugin)\n- [Vim](https://github.com/git-time-metric/gtm-vim-plugin)\n- [IntelliJ IDEA, PyCharm, WebStorm, AppCode, RubyMine, PhpStorm, AndroidStudio ](https://github.com/git-time-metric/gtm-jetbrains-plugin)\n- [VSCode](https://github.com/nexus-uw/vscode-gtm)\n- [Visual Studio](https://github.com/jjonescz/gtm-visualstudio-plugin)\n- [Terminal](https://github.com/git-time-metric/gtm-terminal-plugin)\n\n### Initialize a project for time tracking\n\n\u003cpre\u003e$ cd /my/project/dir\n$ gtm init\n\nGit Time Metric initialized for /my/project/dir\n\n     post-commit: gtm commit --yes\n  alias.fetchgtm: fetch origin refs/notes/gtm-data:refs/notes/gtm-data\n   alias.pushgtm: push origin refs/notes/gtm-data\nnotes.rewriteref: refs/notes/gtm-data\n        terminal: true\n      .gitignore: /.gtm/\n            tags: tag1, tag2 \u003c/pre\u003e\n\n### Edit some files in your project\n\nCheck your progress with `gtm status`.\n\n\u003cpre\u003e$ gtm status\n\n       20m 40s  53% [m] plugin/gtm.vim\n       18m  5s  46% [r] Terminal\n           15s   1% [m] .gitignore\n       39m  0s          \u003cb\u003egtm-vim-plugin\u003c/b\u003e \u003c/pre\u003e\n\n### Commit your work\n\nWhen you are ready, commit your work like you usually do.  GTM will automatically save the time spent associated with your commit. To check the time of the last commit type `gtm report`.\n\u003cpre\u003e$ gtm report\n\n7129f00 \u003cb\u003eRemove post processing of status\u003c/b\u003e\nFri Sep 09 20:45:03 2016 -0500 \u003cb\u003egtm-vim-plugin\u003c/b\u003e Michael Schenk\n\n       20m 40s  53% [m] plugin/gtm.vim\n       18m  5s  46% [r] Terminal\n           15s   1% [m] .gitignore\n       39m  0s          \u003cb\u003egtm-vim-plugin\u003c/b\u003e \u003c/pre\u003e\n\n### Optionally save time in the remote Git repository\n\nGTM provides [git aliases](https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases) to make this easy.  It defaults to origin for the remote repository.\n\nTime data can be saved to the remote repository by pushing.\n\u003cpre\u003e$ git pushgtm \u003c/pre\u003e\n\nTime data can be retrieved from the remote repository by fetching.\n\u003cpre\u003e$ git fetchgtm \u003c/pre\u003e\n\n### Getting Help\n\nFor help from the command line type `gtm --help` and `gtm \u003csubcommand\u003e --help`.\n\nFor additional help please consult the [Wiki](https://github.com/git-time-metric/gtm/wiki).\n\n# Contributing\n[![Build Status](https://travis-ci.org/git-time-metric/gtm.svg?branch=develop)](https://travis-ci.org/git-time-metric/gtm) [![Build status](https://ci.appveyor.com/api/projects/status/gj6tvm8njgwj0hqi?svg=true)](https://ci.appveyor.com/project/mschenk42/gtm) [![Coverage Status](https://coveralls.io/repos/github/git-time-metric/gtm/badge.svg)](https://coveralls.io/github/git-time-metric/gtm) [![Go Report Card](https://goreportcard.com/badge/github.com/git-time-metric/gtm)](https://goreportcard.com/report/github.com/git-time-metric/gtm)\n\nIf you find a bug or have an idea for a new feature please feel free to file new issues and submits PRs.  In particular if there isn't a plugin for your favorite editor, go ahead and create one!\n\nFor more detail on how to write plugins, check out the [Wiki](https://github.com/git-time-metric/gtm/wiki/Editor-Plugins).\n\n# Support\n\nTo report a bug, please submit an issue on the [GitHub Page](https://github.com/git-time-metric/gtm/issues)\n\nConsult the [Wiki](https://github.com/git-time-metric/gtm/wiki) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-time-metric%2Fgtm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgit-time-metric%2Fgtm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-time-metric%2Fgtm/lists"}