{"id":13817743,"url":"https://github.com/chinanf-boy/taskbook-zh","last_synced_at":"2026-01-16T00:39:22.159Z","repository":{"id":90548559,"uuid":"143367582","full_name":"chinanf-boy/taskbook-zh","owner":"chinanf-boy","description":"🇨🇳翻译: taskbook 📓命令行的任务，板块 和 笔记 ❤️ 校对 ✅","archived":false,"fork":false,"pushed_at":"2019-03-29T04:57:06.000Z","size":147,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T08:47:11.847Z","etag":null,"topics":["cli","docs","taskbook","zh"],"latest_commit_sha":null,"homepage":"https://github.com/klauscfhq/taskbook","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chinanf-boy.png","metadata":{"files":{"readme":"readme.en.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-08-03T02:30:31.000Z","updated_at":"2019-03-29T04:57:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf370cc2-54eb-4434-8641-4fdb4936e2a4","html_url":"https://github.com/chinanf-boy/taskbook-zh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Ftaskbook-zh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Ftaskbook-zh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Ftaskbook-zh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Ftaskbook-zh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chinanf-boy","download_url":"https://codeload.github.com/chinanf-boy/taskbook-zh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246866100,"owners_count":20846496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","docs","taskbook","zh"],"created_at":"2024-08-04T06:00:54.548Z","updated_at":"2026-01-16T00:39:22.119Z","avatar_url":"https://github.com/chinanf-boy.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  Taskbook\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n  📓 Tasks, boards \u0026 notes for the command-line habitat\n\u003c/h4\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"Boards\" width=\"60%\" src=\"media/header-boards.png\"/\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.com/klauscfhq/taskbook\"\u003e\n    \u003cimg alt=\"Build Status\" src=\"https://travis-ci.com/klauscfhq/taskbook.svg?branch=master\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Description\n\nBy utilizing a simple and minimal usage syntax, that requires a flat learning curve, taskbook enables you to effectively manage your tasks and notes across multiple boards from within your terminal. All data are written atomically to the storage in order to prevent corruptions, and are never shared with any third party entities. Deleted items are automatically archived and can be inspected or restored at any moment.\n\nVisit the [contributing guidelines](https://github.com/klauscfhq/taskbook/blob/master/contributing.md#translating-documentation) to learn more on how to translate this document into more languages.\n\nCome over to [Gitter](https://gitter.im/klauscfhq/taskbook) or [Twitter](https://twitter.com/klauscfhq) to share your thoughts on the project.\n\n## Highlights\n\n- Organize tasks \u0026 notes to boards\n- Board \u0026 timeline views\n- Priority \u0026 favorite mechanisms\n- Search \u0026 filter items\n- Archive \u0026 restore deleted items\n- Lightweight \u0026 fast\n- Data written atomically to storage\n- Custom storage location\n- Progress overview\n- Simple \u0026 minimal usage syntax\n- Update notifications\n- Configurable through `~/.taskbook.json`\n- Data stored in JSON file at `~/.taskbook/storage`\n\nView highlights in a [taskbook board](https://raw.githubusercontent.com/klauscfhq/taskbook/master/media/highlights.png).\n\n## Contents\n\n- [Description](#description)\n- [Highlights](#highlights)\n- [Install](#install)\n- [Usage](#usage)\n- [Views](#views)\n- [Configuration](#configuration)\n- [Flight Manual](#flight-manual)\n- [Development](#development)\n- [Related](#related)\n- [Team](#team)\n- [License](#license)\n\n## Install\n\n```bash\nnpm install --global taskbook\n```\n\n## Usage\n\n```\n$ tb --help\n\n  Usage\n    $ tb [\u003coptions\u003e ...]\n\n    Options\n        none             Display board view\n      --task, -t         Create task\n      --note, -n         Create note\n      --timeline, -i     Display timeline view\n      --delete, -d       Delete item\n      --check, -c        Check/uncheck task\n      --star, -s         Star/unstar item\n      --list, -l         List items by attributes\n      --find, -f         Search for items\n      --edit, -t         Edit item description\n      --move, -m         Move item between boards\n      --priority, -p     Update priority of task\n      --archive, -a      Display archived items\n      --restore, -r      Restore items from archive\n      --help, -h         Display help message\n      --version, -v      Display installed version\n\n    Examples\n      $ tb\n      $ tb --task Make some buttercream\n      $ tb --task @coding Improve documentation\n      $ tb --task @coding @reviews Review PR #42\n      $ tb --note @coding Mergesort worse-case O(nlogn)\n      $ tb --check 1 2\n      $ tb --delete 4\n      $ tb --star 2\n      $ tb --priority @3 2\n      $ tb --timeline\n      $ tb --edit @3 Merge PR #42\n      $ tb --move @1 cooking\n      $ tb --find documentation\n      $ tb --list pending coding\n      $ tb --archive\n      $ tb --restore 4\n```\n\n## Views\n\n### Board View\n\nInvoking taskbook without any options will display all saved items grouped into their respective boards.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"Boards\" width=\"60%\" src=\"media/header-boards.png\"/\u003e\n\u003c/div\u003e\n\n### Timeline View\n\nIn order to display all items in a timeline view, based on their creation date, the `--timeline`/`-i` option can be used.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"Timeline View\" width=\"62%\" src=\"media/timeline.png\"/\u003e\n\u003c/div\u003e\n\n## Configuration\n\nTo configure taskbook navigate to the `~/.taskbook.json` file and modify any of the options to match your own preference. To reset back to the default values, simply delete the config file from your home directory.\n\nThe following illustrates all the available options with their respective default values.\n\n```json\n{\n  \"taskbookDirectory\": \"\",\n  \"displayCompleteTasks\": true,\n  \"displayProgressOverview\": true\n}\n```\n\n### In Detail\n\n##### `taskbookDirectory`\n\n- Type: `String`\n- Default: `~`\n\nFull filesystem path where the storage will be initialized, i.e; `/home/username/the-cloud`\n\nIf left undefined the home directory `~` will be used and taskbook will be set-up under `~/.taskbook/`.\n\n##### `displayCompleteTasks`\n\n- Type: `Boolean`\n- Default: `true`\n\nDisplay tasks that are marked as complete.\n\n##### `displayProgressOverview`\n\n- Type: `Boolean`\n- Default: `true`\n\nDisplay progress overview below the timeline and board views.\n\n## Flight Manual\n\nThe following is a minor walkthrough containing a set of examples on how to use taskbook.\nIn case you spotted an error or think that an example is not to clear enough and should be further improved, please feel free to open an [issue](https://github.com/klauscfhq/taskbook/issues/new/choose) or [pull request](https://github.com/klauscfhq/taskbook/compare).\n\n### Create Task\n\nTo create a new task use the `--task`/`-t` option with your task's description following right after. \n\n```\n$ tb -t Improve documentation\n```\n\n### Create Note\n\nTo create a new note use the `--note`/`-n` option with your note's body following right after. \n\n```\n$ tb -n Mergesort worse-case O(nlogn)\n```\n\n### Create Board\n\nBoards are automatically initialized when creating a new task or note. To create one or more boards, include their names, prefixed by the `@` symbol, in the description of the about-to-be created item. As a result the newly created item will belong to all of the given boards. By default, items that do not contain any board names in their description are automatically added to the general purpose; `My Board`.\n\n```\n$ tb -t @coding @docs Update contributing guidelines\n```\n\n### Check task\n\nTo mark a task as complete/incomplete, use the `--check`/`-c` option followed by the ids of the target tasks. Note that the option will update to its opposite the `complete` status of the given tasks, thus checking a complete task will render it as pending and a pending task as complete. Duplicate ids are automatically filtered out.\n\n```\n$ tb -c 1 3\n```\n\n### Star Item\n\nTo mark one or more items as favorite, use the `--star`/`-s` option followed by the ids of the target items. The functionality of this option is the same as the one of the above described `--check` option.\n\n```\n$ tb -s 1 2 3\n```\n\n### Display Boards\n\nInvoking taskbook without any options will display all of saved items grouped into their respective boards.\n\n```\n$ tb\n```\n\n### Display Timeline\n\nIn order to display all items in a timeline view, based on their creation date, the `--timeline`/`-i` option can be used.\n\n```\n$ tb -i\n```\n\n### Set Priority\n\nTo set a priority level for a task while initializing it, include the `p:x` syntax in the task's description, where x can be an integer of value `1`, `2` or `3`. Note that all tasks by default are created with a normal priority - `1`.\n \n- `1` - Normal priority \n- `2` - Medium priority\n- `3` - High priority\n\n```\n$ tb -t @coding Fix issue `#42` p:3\n```\n\nTo update the priority level of a specific task after its creation, use the `--priority`/`-p` option along with the id the target task, prefixed by the `@` symbol, and an integer of value `1`, `2` or `3`. Note that the order in which the target id and priority level are placed is not significant.\n\n```\n$ tb -p @1 2\n```\n\n### Move Item\n\nTo move an item to one or more boards, use the `--move`/`-m` option, followed by the target item id, prefixed by the `@` symbol, and the name of the destination boards. The default `My board` can be accessed through the `myboard` keyword. The order in which the target id and board names are placed is not significant.\n\n```\n$ tb -m @1 myboard reviews\n```\n\n### Delete Item\n\nTo delete one or more items, use the `--delete`/`-d` options followed by the ids of the target items. Note that deleted items are automatically archived, and can be inspected or restored at any moment. Duplicate ids are automatically filtered out.\n\n```\n$ tb -d 1 2\n```\n\n### Display Archive\n\nTo display all archived items, use the `--archive`/`-a` option. Note that all archived items are displayed in timeline view, based on their creation date.\n\n```\n$ tb -a\n```\n\n### Restore Items\n\nTo restore one or more items, use the `--restore`/`-r` option followed by the ids of the target items. Note that the ids of all archived items can be seen when invoking the `--archive`/`-a` option. Duplicate ids are automatically filtered out.\n\n```\n$ tb -r 1 2\n```\n\n### List Items\n\nTo list a group of items where each item complies with a specif number of attributes, use the `--list`/`-l` option followed by the desired attributes. Board names along with item traits can be considered valid listing attributes. For example to list all items that belong to the default `myboard` and are pending tasks, the following could be used;\n\n```\n$ tb -l myboard pending\n```\n\nThe by default supported listing attributes, together with their respective aliases, are the following;\n\n- `myboard` - Items that belong to `My board`\n- `task`, `tasks`, `todo` - Items that are tasks.\n- `note`, `notes` - Items that are notes.\n- `pending`, `unchecked`, `incomplete` - Items that are pending tasks.\n- `done`, `checked`, `complete` - Items that complete tasks.\n- `star`, `starred` - Items that are starred.\n\n### Search Items\n\nTo search for one of more items, use the `--find`/`-f` option, followed by your search terms. \n\n```\n$ tb -f documentation\n```\n\n## Development\n\nFor more info on how to contribute to the project, please read the [contributing guidelines](https://github.com/klauscfhq/taskbook/blob/master/contributing.md).\n\n- Fork the repository and clone it to your machine\n- Navigate to your local fork: `cd taskbook`\n- Install the project dependencies: `npm install` or `yarn install`\n- Lint the code for errors: `npm test` or `yarn test`\n\n## Related\n\n- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right\n- [signale](https://github.com/klauscfhq/signale) - Hackable console logger\n\n## Team\n\n- Klaus Sinani [(@klauscfhq)](https://github.com/klauscfhq)\n\n## License\n\n[MIT](https://github.com/klauscfhq/taskbook/blob/master/license.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinanf-boy%2Ftaskbook-zh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchinanf-boy%2Ftaskbook-zh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinanf-boy%2Ftaskbook-zh/lists"}