Giter VIP home page Giter VIP logo

feeling's Introduction

Feeling

A Zsh script for your feelings

Demo made with svg-term-cli using my dotfiles

Overview

The script is inspired by this Reddit post. The idea is to enter your feeling each day on a 1-10 scale. This gives time to reflect upon your day to create more meaningful goals and improve wellness. By displaying your feelings in a beautiful calendar, you can also gain insight into trends in your feelings while prettifying your terminal.

Installation

Note for macOS users. As the script makes use of GNU versions of tools, please link gsed to sed and gdate to date.

Clone this repository into the custom plugins folder:

git clone https://github.com/qiz-li/feeling.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/feeling

Update Oh My Zsh plugins list in .zshrc:

plugins=(
    # Other plugins...
    feeling
)

Add the following to your .zshrc:

antigen bundle qiz-li/feeling@main

Configuration

FEELING_DATA_PATH

Path to file in which your feelings and corresponding dates will be stored. Defaults to ~/.config/feeling/feelings.csv.

FEELING_FILLED_CHAR

Character to represent days you have rated. Defaults to โ—.

FEELING_EMPTY_CHAR

Character to represent days that are unrated. Defaults to โ—ฏ.

Usage

Use the -h flag for help.

Show Calendar

Run without any arguments:

feeling

Add/Change Feeling

Add your feeling as an argument.

To add/change today's feeling:

feeling 8

Or specify a date using the -d flag:

feeling -d 2022-02-22 3

Remove Feeling

Add the -r flag to remove a feeling.

To remove today's feeling:

feeling -r

Or a specific date:

feeling -d 2022-03-20 -r

feeling's People

Contributors

qiz-li avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

istiakunitn

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.