Code Monkey home page Code Monkey logo

pomocraft-cli's Introduction

PomoCraft: CLI Pomodoro Timer with Task Management

Overview

PomoCraft is a command-line program that combines the Pomodoro Timer and Task Scheduling functions. It implements the Pomodoro technique, helping users stay focused during work sessions with short breaks. The program allows users to add tasks, mark tasks as completed, and schedule Pomodoro sessions. It uses linked lists, stacks, and queues to manage tasks and sessions efficiently.

Features

  • Task Management:

    • Add new tasks.
    • Update completed task list.
  • Pomodoro Functions:

    • Push and pop tasks onto and from the stack.
    • Enqueue and dequeue tasks into and from the Pomodoro session queue.
  • Display Functions:

    • Display tasks.
    • Display completed tasks.
    • Display scheduled Pomodoro sessions.
  • Timer Functions:

    • Start and display the timer for Pomodoro sessions.

Getting Started

Prerequisites

  • Ensure you have a C compiler installed (e.g., GCC).

Build

  1. Clone the repository:

    git clone https://github.com/samarth777/PomoCraft-CLI.git
    
  2. Compile the program:

    gcc main.c -o PomoCraft
    

Run

  1. Execute the compiled program:
 ./PomoCraft
  1. Follow the on-screen prompts to manage tasks and schedule Pomodoro sessions.

  2. Enter the number of Pomodoro sessions to be scheduled.

  3. Focus during Pomodoro sessions and take breaks accordingly.

  4. Continue managing tasks as needed.

Usage

  • Adding a Task:

    • Choose option 1 and enter the task description when prompted.
  • Completing a Task:

    • Choose option 2, and follow the prompts to mark a task as completed.
  • Scheduling Pomodoro Sessions:

    • Enter the number of Pomodoro sessions to be scheduled when prompted.

Example

./PomoCraft

Enter your choice

  1. Add new task
  2. Update completed task list
  3. No changes to be made

Enter your choice: 1 Enter task description: Complete README

Enter your choice: 2 Enter task description: Complete README

Scheduled Pomodoro Sessions:

  • Complete README
  • Implement Feature X

pomocraft-cli's People

Contributors

samarth777 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.