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
Python Service for MISP Feed Management

Python Service for MISP Feed Management This set of scripts is designed to offer better reliability and more control over the fetching of feeds into M

Chris 7 Aug 24, 2022
Python 3 script for installing kali tools on your linux machine

Python 3 script for installing kali tools on your linux machine

gh0st 2 Apr 20, 2022
Team Hash Brown Science4Cast Submission

Team Hash Brown Science4Cast Submission This code reproduces Team Hash Brown's (@princengoc, @Xieyangxinyu) best submission (ee5a) for the competition

3 Feb 02, 2022
An app to automatically take attendance by scanning students' bar coded ID card as they enter the classroom.

Auto Classroom Attendance This application may be run on a PC to automatically scan students' ID card using a generic bar code scanner and output the

1 Nov 10, 2021
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
Desenvolvendo as habilidades básicas de programação visando a construção de aplicativos por meio de bibliotecas apropriadas à Ciência de Dados.

Algoritmos e Introdução à Computação Ementa: Conceitos básicos sobre algoritmos e métodos para sua construção. Tipos de dados e variáveis. Estruturas

Dyanna Cruz 1 Jan 06, 2022
WATTS provides a set of Python classes that can manage simulation workflows for multiple codes where information is exchanged at a coarse level

WATTS (Workflow and Template Toolkit for Simulation) provides a set of Python classes that can manage simulation workflows for multiple codes where information is exchanged at a coarse level.

13 Dec 23, 2022
Python NZ COVID Pass Verifier/Generator

Python NZ COVID Pass Verifier/Generator This is quick proof of concept verifier I coded up in a few hours using various libraries to parse and generat

NZ COVID Pass Community 12 Jan 03, 2023
frida-based ceserver. iOS analysis is possible with Cheat Engine.

frida-ceserver frida-based ceserver. iOS analysis is possible with Cheat Engine. Original by Dark Byte. Usage Install frida on iOS. python main.py Cyd

KenjiroIchise 89 Jan 08, 2023
Simply create JIRA releases based on your github releases

Simply create JIRA releases based on your github releases

8 Jun 17, 2022
VirtualBox Power Driver for MAAS (Metal as a Service)

vboxpower VirtualBox Power Driver for MAAS (Metal as a Service) A way to manage the power of VirtualBox virtual machines via the MAAS webhook driver.

Saeid Bostandoust 131 Dec 17, 2022
Procscan is a quick and dirty python script used to look for potentially dangerous api call patterns in a Procmon PML file.

PROCSCAN Procscan is a quick and dirty python script used to look for potentially dangerous api call patterns in a Procmon PML file. Installation git

Daniel Santos 9 Sep 02, 2022
Drop-down terminal for GNOME

Guake 3 README Introduction Guake is a python based dropdown terminal made for the GNOME desktop environment. Guake's style of window is based on an F

Guake 4.1k Dec 25, 2022
A tool to replace all osu beatmap backgrounds at once.

OsuBgTool A tool to replace all osu beatmap backgrounds at once. Requirements You need to have python 3.6 or newer installed. That's it. How to Use Ju

Aditya Gupta 1 Oct 24, 2021
App and Python library for parsing, writing, and validation of the STAND013 file format.

python-stand013 python-stand013 is a Python app and library for parsing, writing, and validation of the STAND013 file format. Features The following i

Oda 3 Nov 09, 2022
NFT-Image-Generator - Utility to generate a large collection of unique images

NFT-Image-Generator Utility for creating a generative art collection from suppli

Sem Moolenschot 60 Dec 15, 2022
Hashcrack - A non-object oriented open source, Software for Windows/Linux made in Python 3

Multi Force This project is a non-object oriented open source, Software for Wind

Radiationbolt 3 Jan 02, 2023
Sudoku-Solver

Sudoku-Solver This is a personal project, that put all my today knowledges to the test, is a project that im developing alone with a lot of effort and

Carlos Ismael Gitto Bernales 5 Nov 08, 2021
JD扫码获取Cookie 本地版

JD扫码获取Cookie 本地版 请无视手机上的提示升级京东版本的提示! 下载链接 https://github.com/Zy143L/jd_cookie/releases 使用Python实现 代码很烂 没有做任何异常捕捉 但是能用 请不要将获取到的Cookie发送给任何陌生人 如果打开闪退 请使

Zy143L 420 Dec 11, 2022
dynamically create __slots__ objects with less code

slots_factory Factory functions and decorators for creating slot objects Slots are a python construct that allows users to create an object that doesn

Michael Green 2 Sep 07, 2021