Todo Planner
Todo Planner v2.0.0 — a productivity toolkit for managing tasks, plans, and reviews from the command line. All data is stored locally in flat log files with timestamps, making it easy to review history, export records, and search across entries.
Commands
Run scripts/script.sh <command> [args] to use.
Core Operations
| Command | Description |
|---|
| INLINECODE1 | Log an add entry (e.g. add a new task, note, or action item) |
| INLINECODE2 |
Log a plan entry (e.g. create a daily/weekly plan, set goals) |
|
track <input> | Log a track entry (e.g. track progress on a task or project) |
|
review <input> | Log a review entry (e.g. review completed tasks, reflect on progress) |
|
streak <input> | Log a streak entry (e.g. record daily streaks, habit tracking) |
|
remind <input> | Log a remind entry (e.g. set reminders, note follow-ups) |
|
prioritize <input> | Log a prioritize entry (e.g. rank tasks, flag urgent items) |
|
archive <input> | Log an archive entry (e.g. archive completed tasks, move to done) |
|
tag <input> | Log a tag entry (e.g. tag tasks with categories or labels) |
|
timeline <input> | Log a timeline entry (e.g. plot tasks on a timeline, milestones) |
|
report <input> | Log a report entry (e.g. daily/weekly task summaries) |
|
weekly-review <input> | Log a weekly-review entry (e.g. end-of-week retrospectives) |
Each command without arguments shows the 20 most recent entries for that category.
Utility Commands
| Command | Description |
|---|
| INLINECODE13 | Summary statistics across all log categories with entry counts and disk usage |
| INLINECODE14 |
Export all data in
json,
csv, or
txt format |
|
search <term> | Search across all log files for a keyword (case-insensitive) |
|
recent | Show the 20 most recent entries from the global activity history |
|
status | Health check — version, data directory, total entries, disk usage, last activity |
|
help | Show full usage information |
|
version | Show version string (
todo-planner v2.0.0) |
Data Storage
All data is persisted locally under ~/.local/share/todo-planner/:
- -
<command>.log — One log file per command (e.g. add.log, plan.log, track.log) history.log — Global activity log with timestamps for every operationexport.<fmt> — Generated export files (json/csv/txt)
Each entry is stored as YYYY-MM-DD HH:MM|<input> (pipe-delimited). No external services, no API keys, no network calls — everything stays on your machine.
Requirements
- - Bash 4.0+ with INLINECODE32
- Standard Unix utilities:
date, wc, du, grep, tail, cat, sed, INLINECODE40 - No external dependencies or packages required
- No API keys or accounts needed
When to Use
- 1. Capturing tasks quickly — Use
add to log new tasks as they come to mind, building a searchable backlog you can organize later with prioritize and INLINECODE43 - Planning your day or week — Use
plan to create structured daily agendas, then track progress throughout the day as you complete items - Maintaining streaks and habits — Use
streak to record daily consistency, then search to review your habit patterns over time - Running weekly retrospectives — Use
weekly-review to log end-of-week reflections, then report to generate summaries of what was accomplished - Archiving and organizing — Use
archive to move completed work out of active view, tag to categorize tasks, and timeline to visualize milestones
Examples
CODEBLOCK0
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
待办事项规划器
待办事项规划器 v2.0.0 — 一款用于在命令行管理任务、计划和回顾的生产力工具包。所有数据均本地存储于带有时间戳的平面日志文件中,便于查看历史记录、导出记录以及跨条目搜索。
命令
运行 scripts/script.sh <命令> [参数] 即可使用。
核心操作
| 命令 | 描述 |
|---|
| add <输入> | 记录添加条目(例如添加新任务、笔记或待办事项) |
| plan <输入> |
记录计划条目(例如创建日/周计划、设定目标) |
| track <输入> | 记录追踪条目(例如追踪任务或项目进度) |
| review <输入> | 记录回顾条目(例如回顾已完成任务、反思进度) |
| streak <输入> | 记录连续记录条目(例如记录每日连续打卡、习惯追踪) |
| remind <输入> | 记录提醒条目(例如设置提醒、记录后续跟进事项) |
| prioritize <输入> | 记录优先级条目(例如排列任务优先级、标记紧急事项) |
| archive <输入> | 记录归档条目(例如归档已完成任务、移至已完成) |
| tag <输入> | 记录标签条目(例如为任务添加类别或标签) |
| timeline <输入> | 记录时间线条目(例如在时间线上规划任务、里程碑) |
| report <输入> | 记录报告条目(例如日/周任务摘要) |
| weekly-review <输入> | 记录周回顾条目(例如周末回顾总结) |
每个命令不带参数时,显示该类别最近20条记录。
实用命令
| 命令 | 描述 |
|---|
| stats | 所有日志类别的汇总统计,包含条目数量和磁盘使用情况 |
| export <格式> |
以 json、csv 或 txt 格式导出所有数据 |
| search <关键词> | 在所有日志文件中搜索关键词(不区分大小写) |
| recent | 显示全局活动历史中最近20条记录 |
| status | 健康检查 — 版本、数据目录、总条目数、磁盘使用情况、最近活动 |
| help | 显示完整使用信息 |
| version | 显示版本字符串(todo-planner v2.0.0) |
数据存储
所有数据本地持久化存储于 ~/.local/share/todo-planner/ 目录下:
- - <命令>.log — 每个命令对应一个日志文件(例如 add.log、plan.log、track.log)
- history.log — 全局活动日志,记录每次操作的时间戳
- export.<格式> — 生成的导出文件(json/csv/txt)
每条记录存储格式为 YYYY-MM-DD HH:MM|<输入>(以竖线分隔)。无需外部服务、无需API密钥、无需网络调用——一切数据保留在您的本地机器上。
系统要求
- - Bash 4.0+,支持 set -euo pipefail
- 标准Unix工具:date、wc、du、grep、tail、cat、sed、basename
- 无需外部依赖或软件包
- 无需API密钥或账户
使用场景
- 1. 快速记录任务 — 使用 add 随时记录新任务,构建可搜索的任务积压列表,后续可使用 prioritize 和 tag 进行整理
- 规划每日或每周 — 使用 plan 创建结构化的每日议程,然后使用 track 在一天中追踪完成进度
- 保持连续打卡和习惯 — 使用 streak 记录每日连续性,然后使用 search 查看长期的习惯模式
- 进行每周回顾 — 使用 weekly-review 记录周末反思,然后使用 report 生成完成事项摘要
- 归档与整理 — 使用 archive 将已完成工作移出活动视图,使用 tag 对任务进行分类,使用 timeline 可视化里程碑
示例
bash
添加新任务
todo-planner add 撰写关于生产力系统的博客文章 — 周五截止
规划一天
todo-planner plan 上午:代码审查、API文档。下午:部署测试环境、团队同步
追踪任务进度
todo-planner track 博客文章:初稿完成,需要编辑修改
排列紧急事项优先级
todo-planner prioritize P1:部署热修复。P2:更新文档。P3:重构测试
为任务添加类别标签
todo-planner tag 博客文章:写作、内容、营销
进行周回顾
todo-planner weekly-review 完成12/15项任务。延期事项:API文档、测试重构、部署脚本
搜索所有提及deploy的条目
todo-planner search deploy
导出所有数据为CSV格式
todo-planner export csv
查看汇总统计
todo-planner stats
由 BytesAgain 提供支持 | bytesagain.com | hello@bytesagain.com