FocusLens is a productivity tracking application designed to provide insights into your work sessions. It allows users to log their focus sessions, track energy levels, and analyze performance patterns to optimize productivity.
- Session Management:
- Log Work: Record session details including date, time period, duration, and task type.
- Energy Tracking: Monitor your energy levels for each session to understand your peak productivity times.
- History: View a comprehensive log of all past sessions.
- Analytics & Insights:
- Performance Metrics: Analyze how different factors contribute to your workflow.
- Visual Data: (Coming Soon) Interactive charts to visualize productivity trends over time.
- Optimization: Identify the best times of day and task types for maximum efficiency.
- User Interface:
- Clean Dashboard: A streamlined interface for effortless data entry and review.
- Responsive Design: Accessible on various devices.
- Backend: Python, Flask
- Database: SQLite
- Frontend: HTML5, CSS3, JavaScript
A showcase of the application features and workflow.
Live Demo Link
Follow these steps to get the application running on your local machine.
- Python 3.7+
pip(Python package installer)
Clone this repository to your local machine using Git:
git clone https://github.com/baqar08/FocusLens.git
cd FocusLensIt is highly recommended to create a virtual environment to manage project dependencies.
# For Windows
python -m venv venv
venv\Scripts\activate
# For macOS/Linux
python3 -m venv venv
source venv/bin/activateInstall the required Python libraries using pip.
pip install -r requirements.txtNote: If a requirements file is not present, you can install the necessary packages manually:
pip install flaskThis project uses a local SQLite database which is initialized automatically.
- Database: The
focuslens.dbfile will be created in the root directory upon the first run.
Once the setup is complete, you can start the Flask development server:
python app.pyNow, open your web browser and navigate to the following address:
http://localhost:5000/
You should see the FocusLens dashboard running!
- Access the Dashboard: Open the application in your browser.
- Log a Session: Use the submission form to enter your session date, time, duration, energy level, and task type.
- Review Data: Check the dashboard list to see your logged sessions.
- Analyze Trends: Use the insights section to understand your productivity habits.
- Manage Entries: Delete incorrect or old entries as needed.
- Name: Baqar Mustafa
- Email: baqarmustafa84@gmail.com
- GitHub: baqar08