https://github.com/pbar1/harvespex
:fallen_leaf: Map GitHub commit messages to Harvest notes
https://github.com/pbar1/harvespex
git github harvest time tracker
Last synced: about 2 months ago
JSON representation
:fallen_leaf: Map GitHub commit messages to Harvest notes
- Host: GitHub
- URL: https://github.com/pbar1/harvespex
- Owner: pbar1
- License: gpl-3.0
- Created: 2018-10-17T18:12:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-01T15:12:11.000Z (over 7 years ago)
- Last Synced: 2025-07-17T01:39:43.176Z (11 months ago)
- Topics: git, github, harvest, time, tracker
- Language: Go
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Harvespex
As of right now, this is what it does:
1. Find dates in need of Harvest entries
2. Fetch, filter, and aggregate GitHub commit messages for those dates
3. Print them out for easy copypasta :stuck_out_tongue_closed_eyes:
To run, simply: `./harvespex` or `go run main.go`
### Setup
You'll need some environment variables:
- `GITHUB_TOKEN`
- `HARVEST_ACCESS_TOKEN`
- `HARVEST_ACCOUNT_ID`
...and you'll also need `harvespex.hcl` in the same directory as the `harvespex` binary. This maps GitHub repositories to Harvest tasks, and looks like so:
```
project_mapping {
project = "My Exact Harvest Project Name"
task = "My Exact Harvest Task Name"
repositories = [
"pbar1/harvespex",
"myorg/example-proj",
]
}
```
### Build
`go build`