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
Platform Tree for Xiaomi Redmi Note 7/7S (lavender)

The Xiaomi Redmi Note 7 (codenamed "lavender") is a mid-range smartphone from Xiaomi announced in January 2019. Device specifications Device Xiaomi Re

MUHAMAD KHOIRON 2 Dec 20, 2021
Blender pluggin (python script) that adds a randomly generated tree with random branches and bend orientations

Blender pluggin (python script) that adds a randomly generated tree with random branches and bend orientations

Travis Gruber 2 Dec 24, 2021
Christmas tree on the desktop.

new-year-tree Christmas tree on the desktop. [Ссылка на статью habr]

Daniil Gorbenko 10 Dec 29, 2022
A tool for generating skill map/tree like diagram

skillmap A tool for generating skill map/tree like diagram. What is a skill map/tree? Skill tree is a term used in video games, and it can be used for

Yue 98 Jan 7, 2023
TurtleBot Control App - TurtleBot Control App With Python

TURTLEBOT CONTROL APP INDEX: 1. Introduction 2. Environments 2.1. Simulated Envi

Rafanton 4 Aug 3, 2022
SWS Filters App - SWS Filters App With Python

SWS Filters App Fun ?? ... Fun ?? Click On photo and see ?? ?? ?? Your Video rec

Sagar Jangid 3 Jul 7, 2022
News-app - This is a news web app for reading news from different sources and topics

News-app - This is a news web app for reading news from different sources and topics

null 1 Feb 2, 2022
Open source tools to allow working with ESP devices in the browser

ESP Web Tools Allow flashing ESPHome or other ESP-based firmwares via the browser. Will automatically detect the board type and select a supported fir

ESPHome 195 Dec 31, 2022
Utility functions for working with data from Nix in Python

Pynixutil - Utility functions for working with data from Nix in Python Examples Base32 encoding/decoding import pynixutil input = "v5sv61sszx301i0x6x

Tweag 11 Dec 16, 2022
Team Curie is a group of people working together to achieve a common aim

Team Curie is a group of people working together to achieve a common aim. We are enthusiasts!.... We are setting the pace!.... We offer encouragement and motivation....And we believe TeamWork makes the DreamWork.

null 4 Aug 7, 2021
A basic layout of atm working of my local database

Software for working Banking service ?? This project was developed for Banking service. mysql server is required To have mysql server on your system u

satya 1 Oct 21, 2021
A basic layout of atm working of my local database

Software for working Banking service ?? This project was developed for Banking service. mysql server is required To have mysql server on your system u

satya 1 Oct 21, 2021
Module for working with the site dnevnik.ru with python

dnevnikru Module for working with the site dnevnik.ru with python Dnevnik object accepts login and password from the dnevnik.ru account Methods: homew

Aleksandr 21 Nov 21, 2022
The first Python 1v1.lol triggerbot working with colors !

1v1.lol TriggerBot Afin d'utiliser mon triggerbot, vous devez activer le plein écran sur 1v1.lol sur votre naviguateur (quelque-soit ce dernier). Vous

Venax 5 Jul 25, 2022
Python tools for working with Orbit Ephemeris Messages (OEMs).

Python Orbit Ephemeris Message tools Python tools for working with Orbit Ephemeris Messages (OEMs). Development Status Installation The oem package is

Brad Sease 4 Apr 6, 2022
fetchmesh is a tool to simplify working with Atlas anchoring mesh measurements

A Python library for working with the RIPE Atlas anchoring mesh. fetchmesh is a tool to simplify working with Atlas anchoring mesh measurements. It ca

null 2 Aug 30, 2022
Providing a working, flexible, easier and faster installer than the one officially provided by Arch Linux

Purpose The purpose is to bring more people to Arch Linux by providing a working, flexible, easier and faster installer than the one officially provid

André Luís 0 Nov 9, 2022
Service for working with open data of the State Duma of the Russian Federation

Сервис для работы с открытыми данными Госдумы РФ Исходные данные из API Госдумы РФ извлекаются с помощью Apache Nifi и приземляются в хранилище Clickh

Aleksandr Sergeenko 2 Feb 14, 2022
Tool for working with Direct System Calls in Cobalt Strike's Beacon Object Files (BOF) via Syswhispers2

Tool for working with Direct System Calls in Cobalt Strike's Beacon Object Files (BOF) via Syswhispers2

null 150 Dec 31, 2022