Wisdom Tree is a concentration app i am working on.

Overview

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

Extra step for mac brew install sdl2_mixer

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

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

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

Upcoming Features

Play music from youtube

Lo-Fi radio

Comments
  • Fix some typos and spelling mistakes

    Fix some typos and spelling mistakes

    opened by garwil 9
  • Fix for treedata overriding

    Fix for treedata overriding

    Resolves the treedata overriding issue.

    Essentially, it was caused by line 4 in MANIFEST.in.

    graft includes all files in a given directory, which in our case would also be res/treedata.

    Because it is assumed that all files included in the package are important, and should be overridden when updated, it will assume that treedata is a depreciated file that should be overridden with whatever new treedata file is included in the newest package.

    All that is needed to fix this is to exclude the treedata file after grafting the res directory.

    opened by ghost 8
  • play music from youtube and lofi radio don't work

    play music from youtube and lofi radio don't work

    no result show when i use these features, also once I enter search bar of youtube, there's no way to go back (expect Esc would let me go back to the menu).

    opened by qvieth 6
  • Converting to a pip installable app

    Converting to a pip installable app

    1- Added setup.py allowing creation of a package using

    python setup.py sdist bdist_wheel

    1. Adding pypi support. You can now upload this to pypi as a package using: pip install twine twine upload dist/wisdomtree-0.0.1*

    After that, users can just do: pip isntall wisdomtree

    You can check setup.py to confirm that the information provided for the author and github are for the original author of the wisdom-tree (HACKER097).

    1. Adding an entry point called wisdomtree. After installation using pip, users can just do:

    wisdom

    from anywahere to run the app.

    1. Refactoring timer constants on the top of the file to make it easy to add custom values.
    2. Moving main.py and all files to within wisdomtree as recommended for python project structure.
    3. Adding vim key support (See the README)
    opened by yasserfarouk 5
  • wisdom-tree can’t connect to the internet

    wisdom-tree can’t connect to the internet

    I was wondering if anyone knows of a fix for this bug. I’m using the latest version as of Jan 24 2021 at 21:53 UTC. I found wisdom-tree today unable to load music from YouTube, and it seemed to not be connecting to the Internet at all. How would you recommend I fix this issue?

    Thank you.

    opened by blochhamiltonian 4
  • Songs suddenly overlap and then the program breaks.

    Songs suddenly overlap and then the program breaks.

    I installed it with PIP. The first time running, it works fine. After that, the music is overlap and I got this error everytime the tree grow:

    Traceback (most recent call last): File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python310\Scripts\wisdom-tree-script.py", line 33, in sys.exit(load_entry_point('wisdom-tree==0.1.4', 'console_scripts', 'wisdom-tree')()) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python310\lib\site-packages\wisdom_tree\main.py", line 1030, in run_app main() File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python310\lib\site-packages\wisdom_tree\main.py", line 883, in main addtext(int(maxx / 2), int(maxy * 5 / 6), quote, anilen, stdscr, 2) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python310\lib\site-packages\wisdom_tree\main.py", line 109, in addtext stdscr.addstr( _curses.error: addwstr() returned ERR

    opened by adrn-mm 2
  • Feature additions

    Feature additions

    Changes:

    • '{' and '}' can now be used to change the volume for sound effects, not including the already changeable ambience/music sound effects
    • 'u' can now be used to toggle quiet mode, which mutes all other sounds except for the sound alerting the end of a timer
    • Many spelling errors were fixed in the qts.txt file
    opened by ghost 2
  • Unable to play any of the Lo-Fi radios

    Unable to play any of the Lo-Fi radios

    Hi,

    Something has suddenly stopped working and I'm now unable to listen to any of the Lo-Fi radios, I haven't tried playing from youtube yet but lo-fi radio 1 was my jam.

    image

    What's the best way to get the log output?

    opened by lukeberry99 2
  • Quotes punctuation editing script and the result

    Quotes punctuation editing script and the result

    I wrote a script called edit_quotes.py to fix common punctuation mistakes in qts.txt. It mostly makes it easier to read.

    I already ran the script and included the result.

    opened by Esamanoaz 2
  • Gobbles a core during breaks

    Gobbles a core during breaks

    I've seen it multiple times now where, when a break starts, the script grabs and holds an entire core for the duration of the break. I don't have any concrete profiling data yet but am opening this to track and see if anybody else sees this behavior.

    opened by glotchimo 1
  • How to reset age

    How to reset age

    I made some sort of mistake when first starting this up and it seems that it has aged a day despite me not having put in an actual Pomodoro session yet. This is triggering my OCD hard so is there a way to reset it?

    opened by ykhurshid 1
  • bug: music dont stop playing after some time

    bug: music dont stop playing after some time

    if i try to pause it after a while, it doesn't stop the music. it's like, there is a another music playing in the background. it stops only if i quit wisdom-tree.

    opened by kyrill-bo 0
  • Unable to play youtube videos

    Unable to play youtube videos

    Sorry to post this again, but I am running the same version, and after having fixed the pytube problem, it was working for a while, but now after booting up wisdom-tree for the first time in a while, and I try to play music from youtube it says

    “ERROR GETTING AUDIO, PLEASE TRY AGAIN”

    Did YouTube change something, rendering the previous PyTube fix now unworkable?

    opened by blochhamiltonian 1
  • [FEATURE REQUEST] Escape button for going back to the previous menu or escaping input field

    [FEATURE REQUEST] Escape button for going back to the previous menu or escaping input field

    After started tree-wisdom, user can change basic song by pressing left or right arrow. If user choose pressing up or down arrow, they will go to select time menu. But then they have no way of going back to the first menu which allow user to change basic song with left and right arrow.

    Also, pressing escape doesn't allow going back while the user is in "Custom Timer" or "Select YouTube Song" input field. (I tried to go back by pressing Ctr+C and weird bug happens).

    https://user-images.githubusercontent.com/71810726/135784065-9d9fa2bb-0cd1-47ab-9a58-ada0d6f2e5a5.mp4

    Expected Behavior: Expect escape also allow going back to the previous menu or escape input field.

    opened by qvieth 1
Releases(v0.0.20)
Owner
NO ONE
kid with a laptop and internet
NO ONE
Integration of Hotwire's Turbo library with Flask.

turbo-flask Integration of Hotwire's Turbo library with Flask, to allow you to create applications that look and feel like single-page apps without us

Miguel Grinberg 240 Jan 06, 2023
Source for the Fedora Silverblue and Kinoite variants.

Source for the Fedora Silverblue and Kinoite variants.

Fedora Kinoite 7 Aug 20, 2022
This is a simple web interface for SimplyTranslate

SimplyTranslate Web This is a simple web interface for SimplyTranslate List of Instances You can find a list of instances here: SimplyTranslate Projec

4 Dec 14, 2022
Shell scripts made simple 🐚

zxpy Shell scripts made simple 🐚 Inspired by Google's zx, but made much simpler and more accessible using Python. Rationale Bash is cool, and it's ex

Tushar Sadhwani 492 Dec 27, 2022
Reverse the infix string. Note that while reversing the string you must interchange left and right parentheses

Reverse the infix string. Note that while reversing the string you must interchange left and right parentheses. Obtain the postfix expression of the infix expression Step 1.Reverse the postfix expres

Sazzad Hossen 1 Jan 04, 2022
Attempt at a Windows version of the plotman Chia Plot Manager system

windows plotman: an attempt to get plotman to work on windows THIS IS A BETA. Not ready for production use just yet. Almost, but not quite there yet.

59 May 11, 2022
a wordle-solver written in python

Wordle Solver Overview This is yet another wordle solver. It is built with the word list of the official wordle website, but it should also work with

Shoubhit Dash 10 Sep 24, 2022
NasaApod - Astronomy Picture of the Day

Astronomy Picture of the Day Get interesting Astronomical pictures with a brief

Shripad Rao 1 Feb 15, 2022
A pypi package details search python module

A pypi package details search python module

Fayas Noushad 5 Nov 30, 2021
A simple and easy to use Python's PIP configuration manager, similar to the Arch Linux's Java manager.

PIPCONF - The PIP configuration manager If you need to manage multiple configurations containing indexes and trusted hosts for PIP, this project was m

João Paulo Carvalho 11 Nov 30, 2022
Simple Python-based web application to allow UGM students to fill their QR presence list without having another device in hand.

Praesentia Praesentia is a simple Python-based web application to allow UGM students to fill their QR presence list without having another device in h

loncat 20 Sep 29, 2022
A funny alarm clock I made in python

Wacky-Alarm-Clock Basically, I kept forgetting to take my medications, so I thought it would be a fun project to code my own alarm clock and make it r

1 Nov 18, 2021
Arcpy Tool developed for ArcMap 10.x that checks DVOF points against TDS data and creates an output feature class as well as a check database.

DVOF_check_tool Arcpy Tool developed for ArcMap 10.x that checks DVOF points against TDS data and creates an output feature class as well as a check d

3 Apr 18, 2022
A OBS service to package a published repository into a tar.gz file

OBS Source Service obs-service-publish_tar obs-service-publish_tar will create a archive.tar[.tar compression] archive containing the published repo

Erico Mendonca 1 Feb 16, 2022
This repository collects nice scripts ("plugins") for the SimpleBot bot for DeltaChat.

Having fun with DeltaChat This repository collects nice scripts ("plugins") for the SimpleBot bot for DeltaChat. DeltaChat is a nice e-mail based mess

Valentin Brandner 3 Dec 25, 2021
Parametric Bottle in CADQuery

Parametric Bottle using CADQuery The proposed code makes it possible to generate different types and sizes of 3D bottles in order to train Pixel2mesh

Ayoub EL HOUDRI 1 May 22, 2022
Procedurally generated Oblique Strategies for writing your own Oblique Strategies

Procedurally generated Oblique Strategies for writing your own Oblique Strategies.

Gordon Brander 13 Aug 17, 2022
Amitkumar Mishra 2 Jan 14, 2022
An assistant to guess your pip dependencies from your code, without using a requirements file.

Pip Sala Bim is an assistant to guess your pip dependencies from your code, without using a requirements file. Pip Sala Bim will tell you which packag

Collage Labs 15 Nov 19, 2022
Runtime Type Checking in Python 3

typo This package intends to provide run-time type checking for functions annotated with argument type hints (standard library typing module in Python

Ivan Smirnov 26 Dec 13, 2022