DEV Community

Cover image for Early to Rise: Daily Productivity Habits
Mohamed Nizzad
Mohamed Nizzad

Posted on

Early to Rise: Daily Productivity Habits

This is a submission for the GitHub Copilot Challenge : New Beginnings and / or Fresh Starts


What I Built

Early to Rise, an Application powered by LLM and is inspired by the idea that what is the one thing that can change the entire routine life of a person who wants to transform his life and achieve maximum productivity in the year 2025 as a new beginning

As an established professional and a researcher, It is empirical to observe that the teenagers and college students fall prey to late night sleeping due to various engagements such as social media and etc.

Therefore, as I reflect what is the lost treasure of this generation compared to our forefathers who were very healthy and stayed physically fit, I understand that they lived up to the philosophy

Early to Bed

Early to bed and early to rise makes a man healthy, wealthy, and wise.

Personally, I strongly believe that Early to Rise is one such an exceptional quality and attitude that has the potential to organize one's entire life on daily basis. It cuts down productivity wastes and promotes early to sleep as well.

So, here I come up with the underlying idea that the Early to Rise Application will provide the user a daily productivity suggestion which the user must complete in the particular day itself.

In order to ensure the versatility and accommodate individual circumstances,

The app provides 3 unique options that the user can choose that best fit one's own preferences.

As such, the App has 3 key options. Namely;

Features of the App

Time Duration

  • Here, Using this option the user can select his preferred time period for the App to provide suggestion for.
  • It has 4 different time preferences such as 5-Minutes, 15-Minutes, 30-Minutes and 1-Hour

User's Context

  • Using this context, the user can pick a context which would best suits the user's contextual preferences for the suggestion.
  • It has 3 contexts such as General, Religious and Culture oriented

User's Physical Condition

  • This option ensures the App should take into consideration the user's physical condition when providing a daily productivity habit surrounding the philosophy of Early to Rise.
  • Therefore, it has 3 levels of user's physical condition such as Strong, Moderate and Weak. This allows the users to choose which best describes the user's physical condition.

App's Suggestion based on selected preference

In this instance, App is dynamic taking user's multiple preferences into account when providing suggestion

Download the suggestion as habits_yyyyMMdd.txt

  • The app also supports the user to save the prompted suggestion on daily basis so as to keep track of all the efforts taken by the user meeting his productivity goals.

Feature to download as .txt file

New Beginnings Challenge Prompt Relevancy

  • The Early to Rise app embodies the spirit of New Beginnings by encouraging users to adopt small, actionable habits that can transform their daily routines and set the foundation for a healthier, more productive life. Inspired by the timeless philosophy, "Early to bed and early to rise makes a man healthy, wealthy, and wise," the app offers a fresh start each day, helping individuals realign their priorities, embrace discipline, and unlock their true potential. By providing tailored suggestions that fit into busy schedules, the app becomes a catalyst for personal growth, making every day a new opportunity to begin again and strive for greatness.

New Beginnings Challenge Prompt Relevancy

  • Again, the Early to Rise app resonates deeply with the theme of Fresh Starts by empowering users to reset their daily routines and embrace new habits that promote productivity and well-being. Each morning, the app offers a personalized set of simple yet impactful tasks designed to inspire a renewed sense of purpose and direction. Rooted in the philosophy of starting the day early with intention, it provides an accessible framework for anyone looking to break free from old patterns and seize each day as a chance to create meaningful change, making every sunrise the perfect opportunity for a fresh start.

Demo

Visit the Early to Rise App Website 👉 Early to Rise Website

Repo

GitHub logo mohamednizzad / early-to-rise

The app provides users with personalized daily habits to improve productivity,

🌅 Early to Rise: Your Daily Productivity Habits 🌟

Logo

Explore the live demo: Early To Rise.

🚀 Application Demo

early_to_rise_app_demo.mp4

"Early to bed and early to rise makes a man healthy, wealthy, and wise."
Early to Rise is your companion for cultivating productive daily habits that are simple, effective, and tailored to your busy lifestyle.

🚀 Features

  • Personalized Habit Suggestions: Generate daily habits to boost productivity, with each activity fitting into 5-Minutes, 15-minutes, 30-minutes and 1-hour time slots.
  • Aligned with Your Goals: Promotes the "Early to Rise" philosophy for a healthier, more balanced life.
  • Minimalist Design: Built with Streamlit for a clean and intuitive user interface.
  • Developed using Github Copilot: Leverages OpenAI's GPT models to dynamically suggest productivity tips and habits.
  • Powered by AI: Leverages OpenAI's GPT models to dynamically suggest productivity tips and habits.

🛠️ Tech Stack


Copilot Experience

This is the most interesting area of my exploration throughout this tiny yet powerful Copilot assisted App development - Early to Rise.

As I recall my Master's thesis specializing in AI particularly in NLP, I developed a custom python IDE to take voice input and transform it as syntactically correct python source code utilizing transformer architecture. I knew the pain of training a model to achieve at least 1% syntactically correct source code from nuanced human language.

My Research Publication

Read Full Paper

So, I am aware about the limitations and research gaps in this domain. However, I was surprised to realize the potential of this Copilot powered Visual Studio Code IDE. It has the potential to transform the entire App development from concept note to production eliminating several hundreds of hours of manual work.

Let me summarize my approach and experience of utilizing this amazing Copilot integrated Visual Studio Code which is now like a The GE9X Engine powered Aircraft to carry a development burden.

1. Auto Code Suggestions
Copilot provided me context-aware code suggestions. As we type, copilot provides single-line to multi-line code suggestions and completions easing the burden of typing the entire length of code from your memory. Now all we have to do is to initiate and Copilot would take care the rest to complete.

Copilot's Auto Code Suggestion Feature

  • I utilized this code suggestion feature in multiple instanced which saved considerable time and eliminated typo errors as much as possible

2. Model Switching
Another cool feature of Copilot Integrated VS Code is that we have the opportunity to switch between different LLMs. As we are aware that each models are leading in different benchmarks. As per the trial version, it provides the options to switch intelligence between GPT 4o and _Claude 3.5 Sonnet (Preview) _. I could switch in between for different tasks. For general intelligence, GPT 4o provides excellent assistance while for some tricky code fixing, Claude 3.5 Sonnet provides accurate suggestions. I must note that I heavily relied on GPT 4o throughout the completion of this project.

Ability to Switch Models

3. Copilot has complete control of the Workspace

In one way, I felt Copilot integration with VS Code is like a powerful coding agent taking complete control of your development IDE. It typically could do all the tasks you would do as a developer in your IDE.

I prompted it to create a project specific copilot instructions in copilot-instructions.md file and it could do that in couple of seconds which literally required no any manual edits. It set the tone for my app development keeping it simple and very specific.

Ability to Control Entire Workspace

4. Yes. It could write a complete unit test case

How relief are we to know that the App we developed is tested and false tolerant in a matter of few seconds or minutes?

I prompted Copilot to generate test cases suitable for my application and it did perfectly taking all the application parameters into consideration.

I also want to say, you are given the option to accept or reject the code suggestion or code Copilot has generated giving us the freedom to determine without directly implementing the generation code.

Unit Test Script

5. We need not to go outside of VS Code to reference any syntax

It is inevitable for even for an experienced developer to search online for any syntax related to code related explanations. Copilot integrated VS Code provides the coolest feature that it does what we want within the VS Code itself. It not only saves time but also eliminates distraction as we happen to face when we browse internet.

Ctrl + I is the new rescuer in our mission to complete an application. Select the code and press Ctrl + I in VS Code. We are prompted a single line Ask Copilot dialog box as shown below

Code Explanation

Then we can provide our prompts and get the response. Now we can confidently feel that VS Code is exceptional in understanding Natural Language over Programming Languages bridging the gap between this two conflicting form of usages across Application.

Feature

I personally love this feature. As I mentioned earlier, it can save valuable time and keep us focused in building our application without fall prey to internet distractions.

6. Documentation is a breeze now

Majority of the developers hate writing. They don't want write documentation. Now, with Copilot integration Documentation is not a headache anymore to those who hate writing documentation.

Since Copilot has the complete Workspace access, it generates beautiful documentation for the application which could literally save several hours of human hours writing detailed documentation.

Documentation

README.MD File of Early to Rise

Hence, to sum of my overall excitement and experience using Copilot in VS Code,

Using GitHub Copilot has been a transformative experience, enabling me to accelerate the development process and unlock creative solutions effortlessly. While building the Early to Rise productivity app, Copilot seamlessly generated boilerplate code, suggested efficient solutions for API integration, and helped craft complex logic for daily habit suggestions with minimal effort.

Surprisingly, Its contextual awareness of my project allowed for cohesive, multi-file understanding, ensuring consistency in design and functionality. Additionally, Copilot’s ability to generate test cases and provide natural language-driven coding suggestions reduced debugging time, while ensuring an efficient and innovative workflow.

This AI-powered assistant not only enhanced my productivity but also served as an invaluable learning companion throughout the project.

I am sure that this Copilot powered Visual Studio Code is going to sustain as the top development IDE across the globe.


GitHub Models

Wait. The treat hasn't over yet. The Ecosystem is not perfect without integrating GitHub Models. Though this project didn't directly utilize GitHub Models, I utilized GitHub Model to explore App feature suggestions using Llama-3.2-11B-Vision-Instruct - the Open source LLM from Meta.

Github Models

Explore the GitHub Model Playground


Conclusion

I have no doubt that GitHub Copilot integration with VS Code presents a groundbreaking opportunity in modern software development. It is not just an AI assistant but a co-creator or a powerful AI Code Agent that accelerates productivity, enhances creativity, and ensures seamless coding workflows. From generating boilerplate code and crafting complex logic to creating unit tests and improving documentation, Copilot has the potential to revolutionize how developers and companies approach application development. Further, Its ability to understand project context across files, integrate natural language processing, and provide model-switching capabilities showcases its adaptability to diverse coding needs.

The integration of GitHub Models further elevates this ecosystem, allowing developers to harness the potential of leading-edge open-source and proprietary models like Llama-3.2 and GPT-4o. These models enable exploration beyond coding, such as feature ideation and advanced AI-powered solutions, broadening the horizons of software development.

Together, GitHub Copilot and Models embody a transformative shift, streamlining the journey from ideation to implementation while fostering innovation. As a unified ecosystem, they empower developers to overcome challenges, explore creative possibilities, and redefine productivity, making them indispensable tools for shaping the future of software engineering.

I am happy to have my take with Github Copilot and I am excited to leverage its potentiality to stay ahead of the competition where AI is transforming every aspect of our personal and professional way of doing things.

Let's adopt and benefit together...

I shall be pleased to hearing your valuable comments and feedbacks regarding my exploration.

Thank you.

Top comments (29)

Collapse
 
yanushanth_rv profile image
Yanushanth Ravichandran

This is an incredible project! The "Early to Rise" app is a perfect blend of timeless wisdom and modern technology. I really appreciate how it combines productivity habits with AI-powered suggestions tailored to individual needs. It's a great tool for anyone looking to kickstart their day with purpose and improve their daily routines. The thoughtfulness behind features like time duration options, contextual preferences, and physical condition adjustments shows a deep understanding of user needs. Well done on creating such a meaningful and practical app!

Collapse
 
mohamednizzad profile image
Mohamed Nizzad

Thank you for your reply

Collapse
 
rusaik_mufthi_5f02f07e07e profile image
RUSAIK MUFTHI

Fantastic article! The productivity tips are simple yet impactful. I especially liked the focus on small habits, as they truly create lasting changes over time. Thanks for sharing such valuable insights! ☺️

Collapse
 
mohamednizzad profile image
Mohamed Nizzad

Thank you for your comment.

Collapse
 
ahamed_ahnaf_84f1b6cdf9de profile image
Ahamed Ahnaf

This is a fantastic article. The 'Early to Rise' app concept is both innovative and practical, addressing a vital aspect of daily productivity in a thoughtful way. I love the focus on small, actionable habits that can lead to significant long-term benefits. The detailed walkthrough of using GitHub Copilot was enlightening—it showcases the potential of AI in streamlining the development process. Great job, and I look forward to seeing how this app evolves further.

Collapse
 
mohamednizzad profile image
Mohamed Nizzad

Thank you for your detailed comment.

Collapse
 
hamthan_mhm_61c016ad80813 profile image
Hamthan Mhm

Great idea 💡💯

Collapse
 
dashapetr profile image
Darya Petrashka

Great one! Thanks for sharing! And a special thanks for sharing it along with the code!

Collapse
 
mohamednizzad profile image
Mohamed Nizzad

Thank you for your comment.

Collapse
 
mussarraf_affu_724f4c9344 profile image
Mussarraf Affu

Great sir🫶🏻

Collapse
 
hassan_marazin_e2d28c1aa1 profile image
Hassan Marazin

Great article. Keep it up

Collapse
 
hafis_dilzath profile image
Hafis Dilzath

Decent article! with great insights. Thank you 👍

Collapse
 
fathima_mafazanazar_68a6 profile image
Fathima Mafaza Nazar

Great article! The tips are simple and useful. Small habits really make a big difference. Thanks for sharing.

Collapse
 
mohamednizzad profile image
Mohamed Nizzad

Thank you.

Collapse
 
sihanas profile image
Sihanas

The concept behind 'Early to Rise' is brilliant. I'm excited to see how this app continues to evolve and assist users in achieving their goals ✨.

Collapse
 
mohamednizzad profile image
Mohamed Nizzad • Edited

Thank you for your comment. I plan to add more features