|
1 |
| -# geek-task |
2 |
| -Todo List Manager for Geeks |
| 1 | +geek-life - The CLI Task Manager for Geeks :technologist: |
| 2 | +========= |
| 3 | + |
| 4 | +[](https://opensource.org/licenses/MIT) |
| 5 | +[](https://goreportcard.com/report/github.com/ajaxray/geek-life) |
| 6 | + |
| 7 | + |
| 8 | +:superhero: Command Line hero? |
| 9 | +:computer: Live with the dark terminal? |
| 10 | +:memo: Think in Markdown? |
| 11 | + |
| 12 | +**Finally!** A full featured task manager for YOU! |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | +### Highlights |
| 17 | + |
| 18 | +- For ninjas - do things faster with keyboard shortcuts |
| 19 | +- Markdown lovers, feel at :house:! You'll see markdown everywhere. |
| 20 | +- Full featured (almost) - Projects, Tasks, due-dates, task notes... |
| 21 | +- A <4MB app that takes <1% CPU and ~7MB memory <sup>1</sup> - how much lighter you can think? |
| 22 | +- Task note editor with markdown syntax highlighting<sup>2</sup> |
| 23 | +- Full mouse support |
| 24 | + |
| 25 | +### Roadmap |
| 26 | +- [x] Create Project |
| 27 | +- [x] Delete Project |
| 28 | +- [ ] Edit Project |
| 29 | +- [x] Create Task (under project) |
| 30 | +- [x] Set Task due date (as `dd-mm-yyyy`) with shortcut |
| 31 | +- [x] Set Task due date with quick input buttons (today, +1 day, -1 day) |
| 32 | +- [x] Tasklist items should indicate status (done, pending, overdue) using colors |
| 33 | +- [x] Shortcut for Adding new Project and Task |
| 34 | +- [x] Global shortcuts for jumping to Projects or Tasks panel anytime |
| 35 | +- [x] Cleanup all completed tasks of project |
| 36 | +- [x] Task note editor should syntax highlight (markdown) and line numbers |
| 37 | +- [x] Status bar for common shortcuts |
| 38 | +- [x] Status bar should display success/error message of actions |
| 39 | +- [x] Status bar may display quick tips based on focused element |
| 40 | +- [ ] Dynamic lists |
| 41 | + - Today - Due Today and overdue |
| 42 | + - Upcoming - Due in one week |
| 43 | + - Someday - No due date |
| 44 | +- [ ] [Havitica](https://habitica.com/)<sup>3</sup> integration - Use it as Habitica client or use Habitica for cloud backup |
| 45 | +- [ ] Time tracking |
| 46 | + |
| 47 | +### Ready for action (installing and running) |
| 48 | + |
| 49 | +It's just a single binary file, **no external dependencies**. |
| 50 | +Just download the appropriate version of [executable from latest release](https://github.com/ajaxray/geek-life/releases) for your OS. |
| 51 | +Then rename and give it permission to execute. For example |
| 52 | +```bash |
| 53 | +mv geek-life_linux-amd64 geek-life |
| 54 | +sudo chmod +x geek-life |
| 55 | +``` |
| 56 | + |
| 57 | +If you want to install it globally (run from any directory of your system), put it in your systems $PATH directory. |
| 58 | +```bash |
| 59 | +sudo mv geek-life /usr/local/bin/geek-life |
| 60 | +``` |
| 61 | +Done! |
| 62 | + |
| 63 | +## Keyboard shortcuts |
| 64 | + |
| 65 | +Some shortcuts are global, some are contextual. |
| 66 | +Contextual shortcuts will be applied according to focused pane/element. |
| 67 | +You'll see a currently focused pane bordered with double line. |
| 68 | + |
| 69 | +In case writing in a text input (e,g, new project/task, due date), you have to `Enter` to submit/save. |
| 70 | + |
| 71 | +| Context | Shortcut | Action | |
| 72 | +|---|:---:|---| |
| 73 | +| Global | `p` | Go to Project list | |
| 74 | +| Global | `t` | Go to Task list | |
| 75 | +| Projects | `n` | New Project | |
| 76 | +| Tasks | `n` | New Task | |
| 77 | +| Tasks | `Esc` | Go back to Projects Pane | |
| 78 | +| Task Detail | `Esc` | Go back to Tasks Pane | |
| 79 | +| Task Detail | `Space` | Toggle task as done/pending | |
| 80 | +| Task Detail | `d` | Set Due date | |
| 81 | +| Task Detail | `↓`/`↑` | Scroll Up/Down the note editor | |
| 82 | +| Task Detail | `e` | Activate note editor for modification | |
| 83 | +| Active Note Editor | `Esc` | Deactivate note editor and save content | |
| 84 | + |
| 85 | +*Tips about using shortcuts efficiently:* |
| 86 | + |
| 87 | +- `Esc` will bring you a step back - to previous pane in most cases. |
| 88 | +- When you're in Project or Task list, use `↓`/`↑` to navigate the list. |
| 89 | +- When you're in Project or Task list `Enter` will load currently selected Project/Task. |
| 90 | +- After creating new Project, focus will automatically move to Tasks. Start adding tasks immediately by pressing `n`. |
| 91 | +- After creating new Task, focus will stay in "new task" input. So that you can add tasks quickly one after another. |
| 92 | +- After creating new Task, Press `Esc` when you're done creating tasks. |
| 93 | + |
| 94 | +## Building blocks |
| 95 | + |
| 96 | +- Made with :love: and [golang](https://golang.org/) 1.14 *(you don't need golang to run it)* |
| 97 | +- Designed with [tview](https://github.com/rivo/tview) - interactive widgets for terminal-based UI |
| 98 | +- Task Note editor made with [femto](https://github.com/pgavlin/femto) |
| 99 | +- Datastore is [storm](https://github.com/asdine/storm) - a powerful toolkit for [BoltDB](https://github.com/etcd-io/bbolt) |
| 100 | + |
| 101 | +### Contribute |
| 102 | + |
| 103 | +If you fix a bug or want to add/improve a feature, |
| 104 | +and it's alligned with the focus (merging with ease) of this tool, |
| 105 | +I will be glad to accept your PR. :) |
| 106 | + |
| 107 | +## You may ask... |
| 108 | + |
| 109 | +#### Where is the data stored? Can I change the location? |
| 110 | + |
| 111 | +By default, it will try to create a db file in you home directory. |
| 112 | + |
| 113 | +But as a geek, you may try to put it different location (e,g, in you dropbox for syncing). |
| 114 | +In that case, just mention `DB_FILE` as an environment variable. |
| 115 | + |
| 116 | +```bash |
| 117 | +DB_FILE=~/dropbox/geek-life/default.db geek-life |
| 118 | +``` |
| 119 | + |
| 120 | +#### How can I suggest a feature? |
| 121 | + |
| 122 | +Just [post an issue](https://github.com/ajaxray/geek-life/issues/new) describing your desired feature/enhancement |
| 123 | +and select `feature` label. |
| 124 | + |
| 125 | +Also, incomplete features in the current roadmap will be found in issue list. |
| 126 | +You may :thumbsup: issues if you want to increase priority of a feature. |
| 127 | + |
| 128 | +--- |
| 129 | +### Footnotes |
| 130 | +1. In my Macbook Air, 1.6 GHz Dual-Core Intel Core i5, RAM: 8 GB 1600 MHz DDR3 |
| 131 | +2. Use [monakai](https://github.com/sickill/vim-monokai) color scheme for markdown syntax |
| 132 | +3. Habitica is a free habit and productivity app that treats your real life like a game |
| 133 | + |
| 134 | +--- |
| 135 | +> "This is the Book about which there is no doubt, a guidance for those conscious of Allah" - [Al-Quran](http://quran.com) |
0 commit comments