Inspiration
A global survey conducted by Gartner, Inc. found that 88% of business organization all over the world mandated or encouraged all their employees to work from home as the virus started to spread at exponential rates. Furthermore, about 97% of the organizations immediately canceled all work-related travel. Almost all work from home programs are operated virtually via computers and mobile phones. Due to which organizations and its workers save tons of money. Though it seems fantastic, it comes at cost of health and social life. Those organizations may provide paid leaves due to diseases, but do all of these organizations provide mental care or any attention towards mental health?
According to studies of The University of North Carolina Press, mental health and discipline go hand in hand. UNCP says that the end goal of well disciplined and good mental health is to create The emotionally mature, happy and responsible person. Thus providing a medium to guide people to adapt to certain discipline as habits through activities can be proven beneficial.
What it does
Work-O-Holic is a free desktop app that addresses the mental health by providing the user an interface that guides users through activities at certain interval of time, which is selected by studying various sources. It has following activities: 1. Short Exercises. 2. Reads jokes, quotes and facts. 3. Suggests books to read. 4. Stress Press. 5. Reminds you to Take MEDICINES on time you specified. 6. Reminds you to have some water after certain interval of time.
All above activities are spoken by the Application thus user can just work without worrying about the time. Other than just activities above it provides an option, if user has medicine to be taken while they are busy at work, they can just set time to take medicine and Application will just remind the user by voice.
This app also provide a medium through Instagram, if they need some consultation regarding mental health they can just click the button and they can talk to the Consultant on Instagram.
How I built it
OS used: Windows Programming Language: Python Libraries/Packages: tkinter, requests, datetime, pyttsx3, time, webbrowser, threading. Methods: Class, Multi-threading, Text-to-Speech, sleep, API calls APIs used for reading materials: ICnDB(Jokes), Foresmatic(Quotes), OpenLibrary(Book Suggestions). IDE/ TextEditor: VS-Code, Python IDLE
Foresmatic API Openlibrary API ICnDB API
NOTE: This is made with python and threading. Thus, it uses only one core of users' computer, so depending threads per core users' computer has, it might stop responding sometimes.
Challenges I ran into
There were quite a few challenges while working on this Application. One of them was time. When I came across the Hackathon it was already late. I just had very less time when I was working on this. So I decided to go with Tkinter. I had to find compatible methods, APIs for content, voice change in the pyttsx3, and a lots of trial and error. Since Tkinter is not very good with lots of things one of the challenge I had to over come was to work on simultaneously running more than one processes. I also had to make sure that one process does not affect the other processes. Making UI was also another difficult task when it comes to Tkinter it was easier than PyQT5 but had some drawbacks with it. Like if code is put to sleep then the whole Application is not responding till the sleep is not over and since Tkinter's after methods are also derived from sleep method its not possible to make such UI, like this one, that is responding continuously. I am not good at web scraping thus finding appropriate sources for content was not easy for me.
Accomplishments that I'm proud of
I am happy that I was able to make it in short time while working on various other projects. Though it is clumsy a bit it was worth my time. I was really proud to work on something that is really big problem but not talked much about Mental Health. I was happy to call it Small but worth and my own.
What I learned
I really went deeper with Tkinter and found out some new ways to work with infinite loops in my favor and tackle unfavorable situations to some extent. I learned basics of web-scrapping and used it on the project.
What's next for Work-O-Holic
Upgrading it to PyQT5 and applying some Machine learning will take it to industrial level. Thus adding some components that I did not had time to make like soft music in background and tunes while exercising. Recommendation system for diet, exercise and work related stuff.
Log in or sign up for Devpost to join the conversation.