Inspiration

It is not that students cannot get their work done; the problem is often getting started. We have all been in situations where we have an assignment to finish, a test to study for, or a project to work on, but end up spending time on our phones or doing something else instead. Sometimes the work feels too overwhelming, we have no idea where to begin, or we get distracted and lose our focus.

Most productivity apps focus on tracking time, but I wanted to focus on the reason people procrastinate in the first place. I decided to create Focusly, an AI study coach that helps students break down tasks, overcome procrastination, and develop better study habits.

What it does

Focusly combines AI-powered planning with tools that help students stay focused and make progress.

  • AI task breakdown: Breaks a large task into three practical steps so users know where to start.
  • Get unstuck: Students select why they are procrastinating, whether it is boredom, feeling overwhelmed, being tired, or not knowing where to start. The AI then suggests a practical first step.
  • Just 2 minutes: Encourages students to work on a task for just two minutes to make getting started easier.
  • Tab-switch guard: Records interruptions when users leave the app tab for more than five seconds during a focus session. It tracks interruption counts and durations, not which websites users visit.
  • AI check-ins and reflections: Gives users suggestions when they get distracted and provides a short reflection and tip after each session.
  • 20-20-20 eye break: Reminds users to take a short break for their eyes at the end of a session.
  • Accounts, themes, dashboard, and analytics: Lets users manage their accounts, choose a light or dark theme, and review their focus-session activity.

How we built it

We built Focusly using React, TypeScript, and Vite for the frontend, along with a Node.js server for accounts and AI requests. The application is deployed on Render, and the code is hosted on GitHub.

For the AI features, we use Groq's API with the GPT-OSS 20B model. It generates task breakdowns, suggestions for overcoming procrastination, check-in responses, and session reflections. AI requests go through the server so the API key is not exposed in the browser.

We also added account functionality using salted scrypt password hashes and signed tokens. For the design, we chose a dark background with purple accents and simple task cards to keep the interface clean and easy to use.

AI use and attribution

  • In the product: Groq's API with GPT-OSS 20B generates task breakdowns, get-unstuck suggestions, check-in responses, and reflections.
  • In development: Claude by Anthropic helped with coding, debugging, the redesign, server integration, and additional features.

What existed before vs. what changed

Existing: The application shell, focus timer, dashboard, and analytics calculator.

Added or improved during the hackathon: The redesigned interface, landing page, themes, accounts, Groq AI integration, Render server, task breakdown, get-unstuck assistant, two-minute starter, tab-switch guard, eye breaks, and session-based dashboard data.

These changes expanded Focusly from a basic focus timer into an AI study coach with tools for planning tasks and managing distractions.

Challenges

One of the biggest challenges was getting the AI integration to work properly. The original Groq model configuration returned a 404 error, so we had to troubleshoot the API request and switch to GPT-OSS 20B. This showed me that connecting an AI model is not always straightforward and that server configuration and testing are just as important as the code itself.

Another challenge was making all the features work together. I wanted users to be able to plan a task, start working, handle distractions, and review their sessions without feeling like they were using several unrelated tools.

What we learned

Building Focusly gave me more experience with React, TypeScript, APIs, server-side development, and deployment. I learned how to troubleshoot problems that only appeared when the application was running online. I also realized that adding AI is not enough on its own; the AI needs to provide something useful. For Focusly, that means helping students figure out what to do next instead of simply telling them to stop procrastinating.

What's next

I would like to add a database so users can access their session history across devices and explore a browser extension with optional focus features. I also want to test Focusly with real students to see whether the two-minute starter helps them overcome procrastination and whether the AI suggestions are actually useful.

My goal is to keep improving Focusly based on how people use it and what they find helpful.

Built With

Share this project:

Updates

Submission history