Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakeroggenbuck/timely
Keep track of work hour in the command line
https://github.com/jakeroggenbuck/timely
Last synced: 5 days ago
JSON representation
Keep track of work hour in the command line
- Host: GitHub
- URL: https://github.com/jakeroggenbuck/timely
- Owner: JakeRoggenbuck
- Created: 2022-07-31T19:54:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-27T01:07:45.000Z (over 1 year ago)
- Last Synced: 2024-06-20T20:59:08.297Z (5 months ago)
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Timely ![Go](https://img.shields.io/github/actions/workflow/status/jakeroggenbuck/timely/go.yml?style=for-the-badge&branch=main)
Keep track of work hour in the command line![image](https://user-images.githubusercontent.com/35516367/182043013-b1b2bf2d-9870-4a46-92d1-ae6e0eef6105.png)
## Why
If you work remotely and need to log a certain amount of hours a week and may have a hard time keeping track, timely can help you track your start and end time of work sessions in the terminal.## Usage
```
Usage of timely:
-check
Set to check
-inline
No newline after print
-no-color
No color output
-no-word
No word in output
-off
Set to off
-toggle
Set to toggle
-work
Set to work
```## Add to prompt
In your bashrc or similar
```sh
PS1="$(timely -check -inline) "
```## Setup
Create `~/.local/share/timely/` and `~/.local/share/timely/state````sh
mkdir -p ~/.local/share/timely/
printf off ~/.local/share/timely/state
printf off ~/.local/share/timely/times
```## Outputs
![image](https://user-images.githubusercontent.com/35516367/182044781-2f413181-f2de-466a-808e-53067b93a48b.png)