← 返回
开发者工具 中文

Personal Bookkeeper

Record double-entry bookkeeping for personal finances. Use when logging transactions, categorizing accounts, balancing ledgers, trending expenses.
记录个人财务的复式记账,包括交易记录、账户分类、账本平衡和费用趋势分析。
ckchzh ckchzh 来源
开发者工具 clawhub v2.0.1 3 版本 99877.1 Key: 无需
★ 0
Stars
📥 813
下载
💾 8
安装
3
版本
#latest

概述

Personal Bookkeeper

A command-line finance toolkit for individuals and freelancers. Personal Bookkeeper provides 12 dedicated commands for recording transactions, categorizing expenses, checking balances, tracking trends, forecasting budgets, generating reports, and managing tax notes — all backed by simple timestamped log files.

Commands

CommandDescription
----------------------
personal-bookkeeper record Record a financial transaction (income, expense, transfer). Without args, shows recent record entries.
personal-bookkeeper categorize Categorize a transaction (food, rent, transport, entertainment). Without args, shows recent entries.
personal-bookkeeper balance Log a balance snapshot (account balance, net worth checkpoint). Without args, shows recent balance entries.
personal-bookkeeper trend Record a spending or income trend observation. Without args, shows recent trend entries.
personal-bookkeeper forecast Log a budget forecast or projection. Without args, shows recent forecast entries.
personal-bookkeeper export-report Save a report entry (monthly summary, quarterly review). Without args, shows recent export-report entries.
personal-bookkeeper budget-check Record a budget check (over/under budget notes). Without args, shows recent budget-check entries.
personal-bookkeeper summary Log a financial summary (weekly recap, category totals). Without args, shows recent summary entries.
personal-bookkeeper alert Record a financial alert (overspending, low balance, due date). Without args, shows recent alert entries.
personal-bookkeeper history Log a history note or view recent history entries.
personal-bookkeeper compare Record period-over-period comparisons (this month vs last). Without args, shows recent compare entries.
personal-bookkeeper tax-note Save tax-related notes (deductible expenses, filing reminders). Without args, shows recent tax-note entries.
personal-bookkeeper statsShow summary statistics across all categories — entry counts per log file, total entries, and data size.
personal-bookkeeper export Export all data to a file. Supported formats: json, csv, txt.
personal-bookkeeper search Search across all log files for a keyword (case-insensitive).
personal-bookkeeper recentShow the 20 most recent entries from the activity history log.
personal-bookkeeper statusHealth check — version, data directory, total entries, disk usage, last activity.
personal-bookkeeper helpDisplay the full help message with all available commands.
personal-bookkeeper versionPrint the current version (v2.0.0).

Data Storage

All data is stored as plain-text log files in ~/.local/share/personal-bookkeeper/:

  • Each command writes to its own log file (e.g. record.log, categorize.log, tax-note.log)
  • Every action is also recorded in history.log with a timestamp
  • Entries use the format YYYY-MM-DD HH:MM| (pipe-delimited)
  • Export produces files at ~/.local/share/personal-bookkeeper/export.{json,csv,txt}
  • No database required — all data is grep-friendly and human-readable

Requirements

  • Bash 4+ (uses set -euo pipefail)
  • Standard Unix utilities: date, wc, du, head, tail, grep, cat, cut
  • No external dependencies — pure bash, no Python, no API keys
  • Works on Linux and macOS

When to Use

  1. Daily expense tracking — Use record every time you make a purchase, then categorize to tag it (food, transport, entertainment) for end-of-month analysis.
  2. Monthly budget reviews — Run budget-check to note whether you're over or under budget, summary to log category totals, and compare to see this month vs. last.
  3. Tax season preparation — Use tax-note throughout the year to flag deductible expenses, then export csv to hand your accountant a clean spreadsheet.
  4. Financial forecasting — Log forecast entries with projected income and expenses for upcoming months, then trend to track whether actuals match your projections.
  5. Freelancer income managementrecord each invoice payment, balance to snapshot your account after deposits, and alert to flag overdue invoices or low cash reserves.

Examples

# Record a grocery expense
personal-bookkeeper record "Groceries at Costco -¥358.50"

# Categorize a transaction
personal-bookkeeper categorize "Costco receipt -> food/groceries"

# Check if you're on budget this month
personal-bookkeeper budget-check "March budget: spent ¥4200 of ¥5000 limit"

# Add a tax-deductible note
personal-bookkeeper tax-note "Home office internet bill ¥199/mo — deductible"

# Export everything to CSV for spreadsheet review
personal-bookkeeper export csv

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

版本历史

共 3 个版本

  • v2.0.1 当前
    2026-03-29 09:59 安全 安全
  • v2.4.6
    2026-03-27 21:10
  • v1.1.1
    2026-03-26 22:20

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 205 📥 66,130
data-analysis

Tavily 搜索

jacky1n7
通过 Tavily API 进行网页搜索(Brave 替代方案)。当用户要求搜索网页、查找来源或链接,且 Brave 网页搜索不可用时使用。
★ 272 📥 99,826
professional

Legal Advisor

ckchzh
生成劳动、消费、租赁及交通纠纷法律模板,适用于撰写纠纷信函、审查租户权利、准备索赔等。
★ 4 📥 4,051