Skip to content
项目

关于

Local-first, self-hostable, end-to-end encrypted ZBB app

商业与金融

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Budgero

Budgero is a local-first personal budgeting application: envelope-style budgets, transaction tracking, goals, recurring payments, rules, multi-currency support, and financial analytics. Data lives in SQLite on the client (browser, via WASM) and syncs end-to-end encrypted through a Go backend.

This is Budgero's primary repository. Development, reviews, and merges happen here, and issues and pull requests are welcome — see CONTRIBUTING.md.

Deploy on Railway

Releases

Find version notes and downloads on GitHub Releases. Maintainers: see the release procedure.

License

Budgero is open source under the GNU Affero General Public License, version 3 (AGPL-3.0-only), an OSI-approved license:

  • You may use, study, modify, self-host, and redistribute the software — including commercially.
  • If you offer a modified version to others over a network, you must make your modified source available to them under the same license.

The Python SDK (packages/sdk-python) is separately licensed under MIT so that client applications embedding it are not affected by the AGPL. Releases prior to the relicense were published under FSL-1.1-ALv2.

Repository layout

Package Description
packages/app React frontend (Vite, TailwindCSS, PWA)
packages/core Shared TypeScript domain logic: SQLite schema, migrations, services
packages/runtime Local-first runtime: sync transport, mutation execution, encryption
packages/ops Op-code registry: how every mutation executes, undoes and invalidates; shared by the app and non-browser clients
packages/server Go API server (Echo, SQLite)
packages/sdk-python Python SDK for the Push API
packages/eslint-config Shared ESLint configuration

Each package has its own README with details. User documentation (docs/user) and the release changelog (docs/changelog) also live here; the budgero.app website that publishes them is kept in a separate repository.

Builds

Budgero ships in exactly two flavors:

  • Cloud (SaaS) — the hosted service at budgero.app, built with app.Dockerfile (Clerk authentication, subscriptions).
  • Self-host — a single binary with the frontend embedded, or a Docker image built with selfhost.Dockerfile (local authentication, no cloud dependencies). See docs/selfhost-cli.md.

Development setup

Prerequisites: Node.js 22+, pnpm 11+, Go 1.26+.

pnpm install
pnpm run setup:dev        # one-time setup (package builds, Air for Go hot-reload)

pnpm run dev:selfhost     # frontend + Go backend in self-host mode

The app is served at http://localhost:5173, the API at http://localhost:3001.

Self-host mode is the flavor that works out of the box. The cloud (SaaS) flavor (pnpm run dev:cloud) requires a Clerk development instance of your own — set VITE_CLERK_PUBLISHABLE_KEY in packages/app/.env.local.

Quality gates

pnpm run type-check:all   # tsc across core, runtime, app
pnpm run lint:app         # eslint (also :core, :runtime, :server)
pnpm run test:core        # domain logic tests (also test:app, test:server)
pnpm run build:all        # full production build
pnpm run security         # osv-scanner + govulncheck

Documentation

Document Topic
docs/selfhost-cli.md Self-host CLI reference
docs/build-flags.md Build and runtime flags
docs/STYLEGUIDE.md Code conventions
docs/data-format-versioning.md Sync wire-format versioning

Support

Supporting the project

Self-hosting Budgero is free, with the full feature set, and always will be. If it saves you money, you can sponsor it on GitHub or simply star this repository. Both genuinely help.

探索相关项目

加载中…