Bookmark Keeper
A productivity toolkit for managing bookmarks, plans, tasks, and reviews — all from the command line with timestamped local logging, tagging, archiving, and weekly review workflows.
Commands
| Command | Description |
|---|
| INLINECODE0 | Add a new bookmark or item. Without args, shows recent add entries |
| INLINECODE1 |
Record a plan or goal. Without args, shows recent plans |
|
bookmark-keeper track <input> | Track progress on an item. Without args, shows recent tracking entries |
|
bookmark-keeper review <input> | Log a review or assessment. Without args, shows recent reviews |
|
bookmark-keeper streak <input> | Record a streak or consistency milestone. Without args, shows recent streaks |
|
bookmark-keeper remind <input> | Set a reminder note. Without args, shows recent reminders |
|
bookmark-keeper prioritize <input> | Record a prioritization decision. Without args, shows recent priorities |
|
bookmark-keeper archive <input> | Archive a completed or inactive item. Without args, shows recent archives |
|
bookmark-keeper tag <input> | Add tags or categorize an item. Without args, shows recent tag entries |
|
bookmark-keeper timeline <input> | Record a timeline entry or milestone. Without args, shows recent timeline entries |
|
bookmark-keeper report <input> | Generate and log a report. Without args, shows recent reports |
|
bookmark-keeper weekly-review <input> | Record a weekly review summary. Without args, shows recent weekly reviews |
|
bookmark-keeper stats | Show summary statistics across all entry types |
|
bookmark-keeper search <term> | Search across all log entries for a keyword |
|
bookmark-keeper recent | Show the 20 most recent activity entries |
|
bookmark-keeper status | Health check — version, data dir, entry count, disk usage, last activity |
|
bookmark-keeper export <fmt> | Export all data in json, csv, or txt format |
|
bookmark-keeper help | Show all available commands |
|
bookmark-keeper version | Print version (v2.0.0) |
Each command (add, plan, track, etc.) works the same way:
- - With arguments: saves the entry with a timestamp to its dedicated
.log file and records it in activity history - Without arguments: displays the 20 most recent entries from that command's log
Data Storage
All data is stored locally in plain-text log files:
CODEBLOCK0
Each entry is stored as YYYY-MM-DD HH:MM|<value> for easy parsing and export.
Requirements
- - Bash 4.0+ (uses
set -euo pipefail) - Standard UNIX utilities:
date, wc, du, grep, head, tail, INLINECODE28 - No external dependencies or API keys required
- Works offline — all data stays on your machine
When to Use
- 1. Research link collection — Use
add to save URLs with notes as you research a topic, then tag to categorize them and search to find them later - Weekly productivity reviews — Run
weekly-review every Sunday to summarize what you accomplished, what's pending, and what to focus on next week - Goal tracking with streaks — Set goals with
plan, track daily progress with track, and celebrate consistency milestones with INLINECODE35 - Reading list management — Add articles and resources with
add, prioritize what to read next, and archive items once consumed - Project milestone tracking — Use
timeline to record key milestones, report to generate progress summaries, and remind to set follow-up notes
Examples
Build a bookmark collection
CODEBLOCK1
Weekly review workflow
CODEBLOCK2
Plan, remind, and archive
CODEBLOCK3
Export and status
CODEBLOCK4
Output
All commands print confirmation to stdout. Data is persisted in ~/.local/share/bookmark-keeper/. Use bookmark-keeper stats for an overview, bookmark-keeper search <term> to find specific entries, or bookmark-keeper export <fmt> to extract all data as JSON, CSV, or plain text.
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
书签管家
一款用于管理书签、计划、任务和复盘的生产力工具包——全部通过命令行操作,支持带时间戳的本地日志记录、标签分类、归档以及每周复盘工作流。
命令
| 命令 | 描述 |
|---|
| bookmark-keeper add <输入> | 添加新书签或项目。无参数时显示最近添加的条目 |
| bookmark-keeper plan <输入> |
记录计划或目标。无参数时显示最近的计划 |
| bookmark-keeper track <输入> | 追踪项目进度。无参数时显示最近的追踪记录 |
| bookmark-keeper review <输入> | 记录复盘或评估。无参数时显示最近的复盘记录 |
| bookmark-keeper streak <输入> | 记录连续打卡或坚持里程碑。无参数时显示最近的连续记录 |
| bookmark-keeper remind <输入> | 设置提醒备忘。无参数时显示最近的提醒 |
| bookmark-keeper prioritize <输入> | 记录优先级决策。无参数时显示最近的优先级记录 |
| bookmark-keeper archive <输入> | 归档已完成或非活跃项目。无参数时显示最近的归档记录 |
| bookmark-keeper tag <输入> | 添加标签或分类项目。无参数时显示最近的标签记录 |
| bookmark-keeper timeline <输入> | 记录时间线条目或里程碑。无参数时显示最近的时间线记录 |
| bookmark-keeper report <输入> | 生成并记录报告。无参数时显示最近的报告 |
| bookmark-keeper weekly-review <输入> | 记录每周复盘摘要。无参数时显示最近的每周复盘 |
| bookmark-keeper stats | 显示所有条目类型的汇总统计 |
| bookmark-keeper search <关键词> | 在所有日志条目中搜索关键词 |
| bookmark-keeper recent | 显示最近20条活动记录 |
| bookmark-keeper status | 健康检查——版本、数据目录、条目数量、磁盘占用、最近活动 |
| bookmark-keeper export <格式> | 以json、csv或txt格式导出所有数据 |
| bookmark-keeper help | 显示所有可用命令 |
| bookmark-keeper version | 打印版本号(v2.0.0) |
每个命令(add、plan、track等)的工作方式相同:
- - 带参数时:将条目连同时间戳保存到对应的.log文件中,并记录到活动历史
- 无参数时:显示该命令日志中最近的20条记录
数据存储
所有数据以纯文本日志文件形式存储在本地:
~/.local/share/bookmark-keeper/
├── add.log # 添加的书签和项目
├── plan.log # 计划和目标
├── track.log # 进度追踪记录
├── review.log # 复盘和评估
├── streak.log # 连续打卡/坚持记录
├── remind.log # 提醒备忘
├── prioritize.log # 优先级决策
├── archive.log # 已归档项目
├── tag.log # 标签和分类记录
├── timeline.log # 时间线里程碑
├── report.log # 生成的报告
├── weekly-review.log # 每周复盘摘要
└── history.log # 统一活动日志(含时间戳)
每条记录存储格式为YYYY-MM-DD HH:MM|<值>,便于解析和导出。
系统要求
- - Bash 4.0+(使用set -euo pipefail)
- 标准UNIX工具:date、wc、du、grep、head、tail、cat
- 无需外部依赖或API密钥
- 支持离线使用——所有数据保留在本地机器上
使用场景
- 1. 研究链接收集——使用add保存带备注的URL,用tag分类,用search后续查找
- 每周效率复盘——每周日运行weekly-review总结完成事项、待办事项和下周重点
- 带连续打卡的目标追踪——用plan设定目标,用track记录每日进度,用streak庆祝坚持里程碑
- 阅读清单管理——用add添加文章和资源,用prioritize决定阅读顺序,用archive归档已读内容
- 项目里程碑追踪——用timeline记录关键里程碑,用report生成进度摘要,用remind设置跟进备忘
示例
构建书签收藏集
bash
添加带备注的书签
bookmark-keeper add https://example.com/rust-guide — 全面的Rust教程
bookmark-keeper add https://arxiv.org/abs/2401.12345 — 注意力机制综述论文
添加标签进行分类
bookmark-keeper tag rust-guide: #编程 #rust #教程
bookmark-keeper tag attention-paper: #机器学习 #研究 #论文
后续搜索
bookmark-keeper search rust
设定阅读优先级
bookmark-keeper prioritize rust-guide — 高优先级,当前项目需要
每周复盘工作流
bash
记录每日进度
bookmark-keeper track 完成Rust书籍3章,构建了第一个CLI工具
bookmark-keeper track 审阅5篇研究论文,总结关键发现
记录连续打卡
bookmark-keeper streak 每日编程练习第14天
进行每周复盘
bookmark-keeper weekly-review 第12周:完成Rust基础,开始异步章节。阅读5篇论文。下周:用Rust构建REST API。
生成报告
bookmark-keeper report 三月进度:添加20个书签,审阅12个,归档8个
计划、提醒和归档
bash
设定计划
bookmark-keeper plan Q2阅读目标:15篇技术文章,3本书
设置提醒
bookmark-keeper remind 跟进机器学习论文讨论——周五
记录时间线里程碑
bookmark-keeper timeline 2024-04-01:开始Rust学习路径
归档已完成项目
bookmark-keeper archive rust-guide — 已完成,笔记保存至Wiki
查看统计和最近活动
bookmark-keeper stats
bookmark-keeper recent
导出和状态检查
bash
导出为JSON格式
bookmark-keeper export json
导出为CSV格式用于电子表格分析
bookmark-keeper export csv
健康检查
bookmark-keeper status
输出
所有命令在标准输出打印确认信息。数据持久化存储在~/.local/share/bookmark-keeper/。使用bookmark-keeper stats查看概览,bookmark-keeper search <关键词>查找特定条目,或bookmark-keeper export <格式>以JSON、CSV或纯文本格式导出所有数据。
由BytesAgain提供 | bytesagain.com | hello@bytesagain.com