Skip to content

Wisdom Tree is a TUI concentration app, with features like pomodoro timer, YouTube music player, Lo-fi radio.

License

Notifications You must be signed in to change notification settings

HACKER097/wisdom-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c894419 · Aug 12, 2021
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wisdom Tree

Wisdom Tree is a tui concentration app I am working on. Inspired by the wisdom tree in Plants vs. Zombies which gives in-game tips when it grows, Wisdom Tree gives you real life tips when it grows. How can you grow the tree? by concentrating!

Installation

Wisdom-tree uses vlc to play music, please make sure vlc is installed.

Extra step for mac brew install sdl2_mixer

Extra step for Windows pip install windows-curses or pip3 install windows-curses

Youtube and lofi radio will not work for windows unless ffmpeg is installed.

Installation from PyPi

pip install wisdom-tree or pip3 install wisdom-tree

Installation using pipx

pipx install wisdom-tree

This allows you to run the app from anywhere

Installation From Github

git clone https://github.com/HACKER097/wisdom-tree

cd wisdom-tree

pip install -r requirements.txt or pip3 install -r requirements.txt

Running the app

  • From anywhere after installation from PyPi or using pipx

wisdom-tree

  • From the github repository (root):

python3 wisdom_tree/main.py

note the underscore

or

wisdom-tree

Usage

Use left and right arrow keys to change music

To add your own music, place it inside the res/ directory (all music must be in .ogg format)

Use up an down arrow keys an enter to select and start Pomodoro timers.

While using lofi-radio use n to skip song and r to replay

[ and ] to increase and decrease the volume respectively

You can replace arrow keys with vim's navigation keys (hjkl)

m to mute music.

space to pause and unpause.

To exit press q

Custom quotes

The user can use any set of quotes by adding a file called qts.txt with one qoute per line to the defualt config location:

{CONFIG_LOCATION}/wisdom-tree

where {CONFIG_LOCATION} is the default place to save configuration files for the operating system:

  • windows: The folder pointed to by LOCALAPPDATA or APPDATA
  • mac/linux: The folder pointed to by XDG_CONFIG_HOME or ~/.config

for now, adding a custom quotes file disables the default quotes

Screenshots

alt text alt text alt text alt text

Features

Wisdom tree plays a variety of music, environmental sounds and white noises to help you concentrate. You can also import your own music into Wisdom Tree.

3000+ quotes and lines of wisdom. You are assured that you will never see the same quote again

Minimal interface and navigation to increase concentration.

Pomodoro timer

Play music from youtube

Lo-Fi radio

Upcoming Features

All done here!

Tipping

Before you consider donating, please note that I am still a school student and code in my free time, donating will not help me work on wisdom-tree or my other projects faster. Your tip can end up on onlycoins at worst, or pay for my college tuition at best.

Monero:-

42hk7SW7mdM5JXYRLAaiD47bqchNGfXJ8aQGhuQJuF9cTBhC5w94aUEcxt7NfokV2URy78RgSXdbiUGYCQZsPFjqDfi7Lto

Bitcoin:-

bc1qzq4m6vgh45u976rwju7pct52y85hhc4hq4vffh