https://github.com/toddself/time-tracker
Track your time from the command line
https://github.com/toddself/time-tracker
Last synced: about 1 year ago
JSON representation
Track your time from the command line
- Host: GitHub
- URL: https://github.com/toddself/time-tracker
- Owner: toddself
- License: mit
- Created: 2014-06-02T16:51:26.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-09T17:11:26.000Z (about 12 years ago)
- Last Synced: 2025-06-12T00:19:11.209Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 164 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Time Tracker
A simple utility to track the amount of time you've spent working on a project.
## Installation:
`npm install --global time-tracker`
## Usage
```
(~/src/project) > tt start
/Users/todd/src/project started
(~/src/project) > tt status
Active: 0 m
[several minutes later]
(~/src/project) > tt stop
/Users/todd/src/project stopped
(~/src/project) > tt status
Stopped. Last duration: 7 m
(~/src/project) > tt report
Report for /Users/todd/src/project
Jun 3, 2014: 7 m
Total: 7 minutes
```
If you like giving your stuff different names
```
(~/src/project) > tt start my-new-project
my-new-project started
(~/src/project) > tt stop my-new-project
my-new-project stopped
(~/src/project) > tt status my-new-project
Stopped. Last duration: 0 m
(~/src/project) > tt report my-new-project
Report for my-new-project
Jun 3, 2014: 0 m
Total: 0 minutes
```
## Data
The data is stored in a LevelDB file in your home directory called `.time-tracker.leveldb`. The key for each project is the directory name in which you invoked `tt`, unless you passed in the second optional parameter
## License
Time Tracker is ©2014 Todd Kennedy. Available for use under the [MIT License](LICENSE).