To get started, clone the repository to your desired directory using the following command:
git clone https://github.com/rakshitbhai/do-now.gitMake sure that the C compiler (GCC) is installed on your machine. If it is not installed, refer to the documentation for installation instructions.
Once cloned, navigate to the directory where you have cloned the repository:
cd do-nowChange to the src directory before running the following commands in your terminal to compile the program:
cd src
gcc -c util.c -o util.o
gcc -c main.c -o main.o
gcc -c colors.c -o colors.o
gcc -c changehere.c -o changehere.o
gcc util.o main.o changehere.o colors.o -o runTo execute the program, use the following command inside the src directory:
./runNow that you have successfully compiled and run the program, follow these steps:
When you run the program, it will prompt you to choose whether to continue with the default task list or create a new one.
- To use the default list, type
n.
Upon pressing n, the following screen will appear:
The default list is located in src/changehere.c. You can modify it as needed.
-
To create a new list, type
y.Here, you can add your tasks one by one:
Once tasks are entered, the program will generate a task list stored in an info.md file located at:
TIME LINE/(year)/(month)/(day)/info.md
Additionally, a folder named work will be created in the same location to manage related files.
The work folder is where you can store any coding work you have done today or leave it blank.
The generated folder structure will look like this:
├── TIME LINE
│ ├── 2025
│ │ └── Feb
│ │ └── 17(Mon)
│ │ ├── info.md <-- Contains Task List
│ │ └── work <-- Folder to do your task
│ └── .gitignore <-- For ignoring some system-generated files
To maintain a record of your tasks and progress, first, create a repository in your GitHub account. Then, follow these steps to push your changes:
cd TIME LINE
git init
git add .
git commit -m "Initial commit"
git remote add origin <your-repo-url>
git push -u origin mainNow, your to-do list and task records are properly managed and version-controlled!
Happy Task Management! 🎯