Giter Site home page Giter Site logo

habitui's Introduction

habittui

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.

Initial project:

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        |
|                            |                            |
|                            |                            |
|----------------------------|----------------------------|

Navigation and controls

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.

Consistent state

Task and their changes are saved in json file by default its .habitui.json.

Developement status

App dev in progress.

Installation

To install habitui binary in your GOPATH:

go install github.com/bazko1/habitui/cmd/habitui@latest

Usage

Run habitui.
This lets you create new habits. If you do not provide -data flag data will be saved to $HOME/.habitui.json

How it looks:

habitui's People

Contributors

bazko1 avatar

Stargazers

Paweł Haracz avatar Mati  avatar Michał Kowal avatar Adrian Mikołajczyk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.