Moved resources directory from girok directory to root directory
Project description
โ๏ธ Girok - The most powerful CLI task manager
Who said you cannot have a beautiful UI on terminal?
(p.s. No one said it to me)
๐ฅ Introduction
Girok, which means "to record" in Korean, is a powerful terminal-based task manager which provides a multitude of scheduling operations that can be done in less than 10 seconds. It also supports beautiful and responsive calendar GUI in which you can move around with VIM key bindings.
๐ซ Highlighted Features
- Infinite recursive subcategories
- Automatically assigned color for each category
- Add a schedule super fast with many different options
- Query your schedule with many different filtering options
- A beautiful calendar GUI
- Guest / User mode
๐ฌ Remarks
Girok works fluently with MacOS
and Linux
users. It also works with Windows
but some features and UIs might break.
p.s) Since I launched the project a couple days ago, you might feel a little bit of lag for showtask
and cal
commands(for user mode), especially when you have many data. I'm working on optimizing the speed to enhance your experience!
If you find it useful, consider supporting to help the development process! As I'm running the server with my own expense now, your help will make the service much more stable and fast!
If you want to see the server source code, go to girokserver.
๐ค Version 0.1.16
is released now!
Guest mode
- You can choose to log in asguest mode
to save your data locally.- Currently, local data are not synchronized with the server. Synchronization with the server will be added in the upcoming release.
Upgrade with pip install girok --upgrade
๐ก Future Updates
- ๐ป ๐ฑ Web and app synchronizing all data with CLI.
- ๐จ Task operations in the calendar view
- โฐ Girok Slack Bot notification feature for tasks - set an alarm in 5 seconds!
- ๐ช Team workspace where users and create group and invite other people for collaboration
๐ Table of Contents
- ๐ Installation
- ๐ฅ Get Started !
- ๐ Report Bugs
- ๐ญ Uninstall
- ๐ Contributions
๐ Installation
Girok supports all operating systems including Linux, MacOS, Windows.
However, it works well on Unix-based shells such as bash
, zsh
, fish
, wsl
, etc.
Some shells like powershell
might break some UIs.
- Make sure you have Python
>3.9
version installed. - Enter the following in your terminal
pip install girok
Now you have installed girok
on your machine. To make sure that it works, enter the following.
girok --help
Now, let's dive into Girok!
๐ฅ Get Started
๐ช 0. Fancier UI
If you're a mac user (or other device supporting terminal transparency), dramatically enhance your UI by setting up a (dark theme) background for your mac desktop and make it transparent!
My settings are
54 %
transparency20 %
opacity
The photo used in the demo: dark-chinese-door
If you're an ITerm 2 user, for some weird reasons, the calendar doesn't apply the transparency. Please let me know if anyone figures this out to make it transparent for ITerm2! Please use the default mac terminal to see the change for the calendar.
If you have overflowing icons in the background, it looks bad. To hide the background icons(not deleting), enter the following command.
defaults write com.apple.finder CreateDesktop -bool false
killall Finder
To get back the icons, enter
defaults write com.apple.finder CreateDesktop -bool true; killall Finder
As I just found out about this transparency (and I'm lazy), I'll leave the below demonstrations as before. I'll update later.. :)
Contribute your favorite background images!
If you think your background image is awesome, you can contribute by sharing it with other people! Please visit the detailed guide.
๐ 1. Help command
In order to see all the commands of Girok, enter girok --help
in your terminal.
In order to see the details of each command, enter the following in your terminal.
girok <command> --help
For example, if you enter
girok addtask --help
then you'll see the following help message
โ๏ธ 2. Guest mode / User mode
You can use Girok with two options
Guest mode
- Your data are stored in your local storage (no network required).
User mode
- Your data are stored in a centralized server. It means you can log in to your account to access your schedule anytime, anywhere.
Keep in mind that you must log out first to switch to another state.
2.1 Guest mode
girok guest
Once you're in a logged-out state, enter the above command to switch to guest mode.
It's all set! You can now use the exact same commands as user mode.
If you only want to guest mode, jump to category commands section.
2.2 User mode
In order to activate user mode, you can log in to your account with girok login
.
2.3 mode
command
To see which mode you're in, enter the following command.
girok mode
๐ 3. Register
To register a new account enter the following in your terminal.
girok register
Enter the email address and password and check your mail inbox to get the verification code.
[WARNING] Girok doesn't require you to enter your email service's password. You can type any password as input.
Congratulations! Now let's go ahead and login to our account.
๐ 4. Login and Logout
In order to login with your registered account, enter the following command.
girok login
Now you're ready to use all the features.
๐ 5. Category Commands
You can pre-define categories such as School
, Life
and Career
with automatically assigned category color.
Girok supports infinite recursive subcategories. All the subcategories will be assigned with the color of its topmost parent category.
Later on, you can link tasks to these categories.
5.1 showcat
command
In order to see all the categories you have created, enter the following command.
By default, No Category
category is set (later for tasks which have no category).
girok showcat
5.2 addcat
command
addtask
command takes a single argument category full path
.
In order to add a new category, enter the following command.
girok addcat <target path>
The <target path>
is the full path including the new category name. For example, if you want to add a topmost category named Career
, then enter
girok addcat Career
Then, you'll see the category tree with the newly created category being highlighted.
In order to nest a sub-category under a previously defined category, pass the FULL PATH starting from the topmost category delimited by /
, ending with the new category name.
For example, if you want to create a new category named Resume
under the previously created Career
category, enter the following command.
girok addcat Career/Resume
Then, you'll see Resume
is created under Career
.
In this way, you can create as many categories and sub-categories as you want!
5.3 mvcat
command
Now you might want to move a category under another category.
In order to move a category A
(recursively all its sub-categories) under category B
, enter the following command.
girok mvcat <full path of A> <full path of B>
For example, if you want to move the whole Career
category under Dev/Network
(for some weird reason), enter the following command.
girok mvcat Career Dev/Network
If you want to move a category to the root category
, then pass /
as the second argument. Let's move Dev/Network/Career
back to the topmost category.
girok mvcat Dev/Network/Career /
5.4 rmcat
command
Of course, you want to delete a category. In that case, enter the following command.
girok rmcat <full path of category>
Let's add a dummy category named Dummy
under Dev
then remove it.
As you already know, enter
girok addcat Career/Dummy
Now, let's delete it with the following command.
[WARNING] If you delete a category, all its sub-categories and tasks will be DELETED. I'll consider adding an option for users to preserve all the orphan tasks in the future. Please let me know in the issue if you need this feature!
girok rmcat Career/Dummy
Then, you'll be asked to confirm the deletion. Enter y
.
5.5 rncat
command
To rename an existing category,
girok rncat <category path> <new name>
Great job! Now let's move on to the task commands.
๐ 6. Task commands
Girok provides powerful task scheduling operations. You can perform different operations that would've taken a long time in other schedulers like Notion and Google Calendar in less than 10 seconds (If you get used to the commands).
6.1 addtask
command
girok addtask <task name> [One of deadline date options] [-c | --category <category path>] [-p | --priority <priority>] [-t | --time <deadline time>] [-T | --tag <tag name>]
6.1.1 addtask
rules
<task name>
(Argument / Required) - If the task name has no space you can omit double quotes""
. If it does, enclose the task name by double quotes""
<One of date options>
(Option / required) - You must specify a deadline "date" of a task. There're many ways to add a deadline. Note that ONLY ONE DATE OPTION is allowed.-d <yyyy/mm/dd | mm/dd>
- Specify an exact date delimited by
/
. You can enter the full date in the form ofyyyy/mm/dd
. Or, you can omit the year likemm/dd
then the deadline year will be set to the current year. - You don't have to enter the exact form filled with
0
s. If the month is May, then just enter5/23
or05/23
.
- Specify an exact date delimited by
-t1 ~ -t7 | --thismon ~ --thissun
- Sometimes, you're not aware of the exact date. If the date is some weekday of this week, you can just pass
-t{1-7}
referrting to this monday to this sunday (monday indexed as1
). - For example, if the deadline is this friday, enter
girok addtask "dummy" -t5
- Sometimes, you're not aware of the exact date. If the date is some weekday of this week, you can just pass
-n1 ~ -n7 | --nextmon ~ --nextsun
- Similar to the above but referring to next week.
-a <# days>
- Sometimes, you process the deadline in your mind like "it's due 5 days later".
- In this case, pass the number of days a task is due after.
- For example, if the deadline is 5 days later, enter
girok addtask "dummy" -a 5
--tdy
- Set the deadline to today.
--tmr
- Set the deadline to tomorrow.
-t | --time <hh:mm>
(Option, Optional) - You can also set the specific deadline time.- You must provide the full time format in 24 hour scale such as
07:23
or21:59
.
- You must provide the full time format in 24 hour scale such as
-c | --category <category full path>
(Option / Optional) - Your tasks might belong to a specific category you have previously defined.- Provide the full category path.
- For example, if your task belongs to
Career/Resume
, then entergirok addtask "dummy task 1" --tmr -c Career/Resume
. - If you specify a category, then the task color will be automatically linked to that category's color.
- If no category is provided, the task will belong to
No Category
category.
-p | --priority <priority (1~5)>
(Option, Optional) - You can set the priority of a task so that you can filter out by priority when you query your tasks.- For example, to set the priority of a task as
5
, entergirok addtask "dummy task 1" -c Career/Resume -p 5
.
- For example, to set the priority of a task as
-T | --tag <tag name>
(Option, Optional) - You can set the tag(or type) of a task such asassignment
andmeeting
. With tags, you can more efficiently query your tasks with different types.- Unlike category, tag doesn't allow nested tags and you don't have to pre-define them.
- For example, if you want to set the tag of a task as
assignment
, entergirok addtask "assignment 4" -c HKU/COMP3234 -d 4/24 --tag assignment
In summary, keep the following rules in mind.
- Always provide task name and one of date options.
- Although not required, I think it's better to provide category to manage your tasks more effectively.
- Other options are up to you!
For example, the following command is a typical command that I use on everyday basis.
girok addtask "Implement tag filtering feature" -c Dev/Girok -a 3 -p 5
It looks quite complicated, but you'll get used to it quickly after playing out little bit.
6.1.2 addtask
demonstration
Now let's play around with addtask
command.
Recall our category list is
In the demonstration, I will add several tasks and show how it works.
Let's add a task named go over resume again
whose category is Career/Resume
and I will do it by next thursday
. This is a quite important task, so I will assign the priority
of 5
.
girok addtask "go over resume again" -c Career/Resume -n4 -p 5
When adding it, you will see the same category tree with tasks attached to the belonged category. (Priority is now shown by default. You can see the priority with girok showtask
command we'll talk about very soon).
Now I'll add another task named Midterm exam
with the category HKU/COMP3234
and the deadline is 4/18 09:30
. Hmm.. I think I have plenty of time so I will not provide the priority. However, I will assign the tag exam
.
girok addtask "Midterm exam" -c HKU/COMP3234 -d 4/18 -t 09:30 --tag exam
In the tree view, priority and tag are not shown to avoid complexity. Don't worry! You can view all the information when we go into girok showtask
command.
Lastly, I'll add a task named Hangout with Jason
and the appointment date is tomorrow
. This time, I will not provide any option.
girok addtask "Hangout with Jason" --tmr
Notice that the newly added task is highlighted with green color.
6.2 showtask
command.
girok showtask [--tree] Deadline date options] [-c | --category <category path>] [-p | --priority <priority>] [-T | --tag <tag name>]
Girok provides powerful commands to effectively query your schedule with many different options. You can filter tasks by category, priority, deadline, and tag.
6.2.1 View options
You can type girok showtask
command with no parameter. The default view of the command is list view.
Note that I've added some more tasks to make the visualization rich.
girok showtask
By default, all tasks will be shown in a nice table format.
If you want to view your tasks in a categorized manner, then provide --tree
flag.
girok showtask --tree
6.2.2 Filter by category
To query tasks under a specific category, use the following command,
girok showtask -c <category path>
For example, to query tasks only for the HKU
category. Enter the following command.
girok showtask -c HKU
or
girok showtask -c HKU --tree # tree view
6.2.3 Filter by date options
You can query your tasks filtering by many different date options. Notice that all the options for showtask
command are OPTIONAL.
-e | --exact <yyyy/mm/dd | mm/dd>
- To view tasks due to a specific day, provide the exact date after the flag
-d | --day <# days>
- To view tasks due within
n
days, provide the number of daysn
after the flag
- To view tasks due within
-w | --week <# days>
- To view tasks due within
n
weeks, provide the number of weeksn
after the flag
- To view tasks due within
-m | --month <# days>
- To view tasks due within
n
months, provide the number of monthsn
after the flag
- To view tasks due within
--tdy
- To view tasks due today.
--tmr
- To view tasks due within tomorrow (today && tomorrow)
--tw
,--nw
- To view tasks due within this week and next week, respectively
--tm
,--nm
- To view tasks due within this month and next month, respectively
-t1 ~ -t7 | --thismon ~ --thissun
- To view tasks due exactly the weekday of this week
- Monday is indexed as
1
-n1 ~ -n7 | --nextmon ~ --nextsun
- To view tasks due exactly the weekday of next week
- Monday is indexed as
1
-u | --urgent
- To view urgent tasks that are within
3 days
by default
6.2.4 Filter by priority
girok showtask -p <priority (1~5)>
To view tasks with a specific priority, provide -p
option followed by the priority number between 1
and 5
.
For example, to view tasks with priority 5, enter the following command
girok showtask -p 5
To view tasks with priority 5, but with tree view, enter the following command.
girok showtask -p 5 --tree
6.2.5 Filter by tag
girok showtask [-T | --tag <tag name>]
6.3 done
command
To complete(delete) a task, provide the done
command followed by the task ID.
Optionally, you can pass -y
or --yes
flag if you don't want to see the confirmation message.
girok done <task ID> [-y | --yes]
[IMPORTANT] The TASK ID is the IDs you can see when you perform showtask
operations. Note that the ONLY the Task IDs of the LATEST showtask operation are valid. In other words, if you consecutively type girok showtask
and girok showtask -p 5
but try to delete a task with the task IDs shown in the table of the first girok showtask
command, you might delete an unexpected task!!
For example, suppose you enter girok showtask
command.
If you completed the task Migrate DB to RDS
under Dev/Girok
category, provide the task ID at the leftmost column.
girok done 5
Notice that the task is now striked out.
6.4 chdate
command
To change the date of an existing task, enter the following command.
girok chdate <taskID> <Deadline options>
The deadline option group is the same as addtask
command.
6.5 chpri
command
To change the priority of an existing task, enter the following command.
girok chpri <taskID> <priority (1~5)>
6.6 chtag
command
To change the tag of an existing task, enter the following command.
girok chtag <taskID> <tag name>
6.7 chname
command
To change the name of an existing task, enter the following command.
girok chname <taskID> <new task name enclosed with "">
6.8 showtag
command
To view all the tags you have created so far, enter the following command.
girok showtag
๐ 7. Calendar Commands
The beauty of Girok is the beautiful and responsive full calendar GUI.
To fire up the calendar, enter the following command
girok cal
Then you'll be prompted to the calendar GUI.
girokcal offers a beautiful but minimalistic GUI in which you can move around with (not exactly same but similar) VIM key bindings.
Notice that all the categories and tags we have created so far are linked to the sidebar.
7.1 Calendar Key Bindings
Upon girok cal
command, the starting "focus" is the category tree.
- Select a category/tag
o
- select the current category/tag
- Move inside category tree or tag tree
j
- downk
- up
- Move from category tree to tag tree
ctrl + j
- Move from tag tree to *_category tree
ctrl + k
- Moving from category tree or tag tree to calendar
e
- Moving from calendar to back sidebar (to category tree by default)
w
- Move inside the calendar
h
- leftj
- downk
- upl
- right
- Select a calendar cell (day) to view details
o
- select the currently focused calendar cell
- Next month
i
- Previous month
u
- Direct to the current month
y
- Toggle side bar
f
- Close calendar
q
7.2 Calendar Demonstrations
When you click on a category, then the category title will change accordingly at the left-bottom corner of the calendar. All the tasks belonging to the selected category will be shown.
Let's select HKU
category by pressing alphabet o
key.
Notice that only the tasks with the yellow dots (HKU category color) are shown.
Now let's select All Categories
and change our focus from the category tree to the tag tree by pressing ctrl+j
key. Then, select exam
tag.
Yay! I don't have any exams this month.
But.. do I have exams next month? To check it out, let's press i
to move to the next month.
Lastly, let's press f
to close the sidebar to have make the calendar bigger.
Great job! Now, it's time to explore all the features of Girok on your own!!
๐ Report Bugs
The first version of Girok was released just a couple days ago so you might encounter some bugs and errors.
If so, I'd greatly appreciate if you report them as raising issues
then I will respond and update as soon as possible!!
๐ญ Uninstall
I'm sorry that there's no way to uninstall this package.
Just kidding. Enter pip uninstall girok
in your terminal. Bye..๐ข
๐ Contribute to the project
-
If you have any new features that would make your life easier, please don't hesitate to raise issues.
-
If you wish to contribute to the project as a programmer, please first open an issue with the
feature
tag (title prefixed with[Feat] description
) describing your suggested features. After getting approval from the maintainer, you can drop pull requests and I will review each of them carefully. -
p.s) I'm currently looking for team members to join me to build a web/app version of Girok. Also, if you're a strong Python programmer, you can join me scale it up to build a more robust "Girok"! Drop me an email to changjin9792@gmail.com if you're interested.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file girok-0.2.1.tar.gz
.
File metadata
- Download URL: girok-0.2.1.tar.gz
- Upload date:
- Size: 61.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3c87403cf521ca1bc20c9924d80df524cd244b493b4565be0b73c870ea9771d |
|
MD5 | 90b6e73ce9c3ac8d743c9e5dc33568b2 |
|
BLAKE2b-256 | c06a421cc8cf4d8e46c7b9fc9f389b386c8fe622dc72121703a96929d1c1e3e4 |
File details
Details for the file girok-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: girok-0.2.1-py3-none-any.whl
- Upload date:
- Size: 62.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7758f66a7525e10f349e94bb6e48c3c805a1cb7ce22f408bfb576ea39857c156 |
|
MD5 | 68cf4294a9b1787b7cc988d4d7b6dfb5 |
|
BLAKE2b-256 | e71964d1c759390696c0a2fb70ce2c6c49b4c16d5ec81592d1d1ebdccf87ada3 |