Skip to content

Personal

Use Bun 1.4 or newer, the Personal project, and the SDK next to it in a directory named JuliusMoneySdk. Run the commands from the Personal project. The inbox and credentials belong in private local storage.

Terminal window
bun install --frozen-lockfile
export JULIUS_SOURCE=fixture
export JULIUS_INBOX_PATH="$(mktemp -d)/inbox.sqlite"
bun --no-env-file run src/cli.ts budget summary
bun --no-env-file run src/cli.ts check
bun --no-env-file run src/cli.ts inbox

Use the numeric ID shown in your inbox. For example, if item 1 is the charge you reviewed:

Terminal window
bun --no-env-file run src/cli.ts answer 1 ack "Reviewed this charge"

For a category suggestion, use answer <id> suggest <category> <rationale>. Answers persist locally and suppress delivery of the answered item. Make budget edits directly in YNAB. The fixture follows the current calendar month. Repeating check with the same source and database keeps the existing check-in IDs.

Open a fresh shell after the fixture exercise. Copy the Personal project’s .env.example to a private file such as $HOME/.julius-money/personal.env with permissions 0600. Set JULIUS_SOURCE=ynab, JULIUS_YNAB_PLAN_ID to the plan UUID, and JULIUS_YNAB_TOKEN to an authorized token. Use read-only OAuth access where available. Use a persistent JULIUS_INBOX_PATH or the default ~/.julius-money/inbox.sqlite.

Terminal window
bun --env-file="$HOME/.julius-money/personal.env" run src/cli.ts budget summary
bun --env-file="$HOME/.julius-money/personal.env" run src/cli.ts check
bun --env-file="$HOME/.julius-money/personal.env" run src/cli.ts inbox

To include renewals, set JULIUS_YNAB_SCHEDULE_IDS to a comma-separated list of selected schedule UUIDs. An empty list skips renewal reads. JULIUS_RENEWAL_LEAD_DAYS defaults to seven days. For an earlier cancellation deadline, set JULIUS_YNAB_CUTOFFS to a JSON object keyed by schedule-UUID:charge-date with the cutoff as its value. Use YYYY-MM-DD for both dates. Manage schedules and cancellations in YNAB or with the merchant.

Configure your machine’s scheduler to run the same check command from the project directory, with the same environment file and database. Set JULIUS_TIME_ZONE to your IANA time zone. For Telegram delivery, set JULIUS_TELEGRAM_TOKEN and JULIUS_TELEGRAM_CHAT_ID, then pass check --telegram. Defaults pause Telegram from 22:00 until 08:00. Change that with JULIUS_QUIET_HOURS=HH:MM-HH:MM or off. Record replies using answer in the CLI.

For interactive chat, install and sign in to Claude Code or Codex and ensure its executable is on PATH. Use the same environment that selects your source and run bun run src/cli.ts chat claude or bun run src/cli.ts chat codex in a terminal. The selected CLI can retain recent spending and category facts in session history. Start with the fixture to see what the flow shares. See provider data handling.