This is my terminal application for managing daily habits. Rationale for this app is that I spend most of the day in terminal as my setup is neo-vim + tmux. Having habit tracking app inside of terminal is more convenient for me than mobile or web app.
The terminal will be split in at least 3 separate windows. Name window is used interchangeably as section.
----------------------------------------------------------|
| Tasks (today): | Description: |
| (short name) | |
| [x] Work on habitui | Extended description of |
| [x] Go for a walk | task that can be edited |
| [ ] Do english lesson | |
| | |
| Shows tasks for today. | |
|----------------------------|-----------------------------
| Strike statistics: | Completion statistics: |
| | |
| Current: 2 days | This week: 2 times |
| Best monthly: 5 days | This month: 10 times |
| Longest: 10 days | This year: 50 times |
| | |
| | |
|----------------------------|----------------------------|
j - Navigate up in current window, in Tasks windows this will highlight (or change color of) currently selected task.
k - Navigate down in current windows, in Tasks windows.
l - Navigate to window right, for example from tasks to description window. This will somehow highlight (or color change) other window.
h - Navigate to window left.
e - Edit data in current window. Allows to edit task short name or description.
After edit, user press enter and a pop up with confirm changes 'y/n' will come.
a - add new task and move into task name/description edit mode.
d - Deletes currently selected task, a confirmation window will pop up.
Task and their changes are saved in json file by default its .habitui.json
.
App dev in progress.
To install habitui
binary in your GOPATH:
go install github.com/bazko1/habitui/cmd/habitui@latest
Run habitui
.
This lets you create new habits. If you do not provide -data
flag data will be saved to $HOME/.habitui.json