{"repo":"BaoXuebin/beancount-gs","free":true,"listed":false,"github":"https://github.com/BaoXuebin/beancount-gs","clone":"git clone https://github.com/BaoXuebin/beancount-gs.git","description":"基于 beancount 提供个人记账财务管理的 RESTful API 服务（包含前端页面）","language":"Go","stars":414,"topics":["golang","beancount","gin-gonic","go","docker"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"beancount-gs V2 多人协作的 beancount 记账服务（SaaS 模式）：React + shadcn/ui 前端、Go 后端、 SQLite 元数据、GitHub OAuth2 登录、AI 记账助手与 MCP 接入。 仓库结构 快速开始 后端 （需要 GitHub OAuth App 与 bean-query 2.3.x） 首次启动会自动生成 config.yaml ，编辑其中的 github client id / github client secret （回调地址为 public url + /api/v2/auth/github/callback ） 与 AI 配置（可选）后重启即可。也可参考 config.example.yaml。 配置文件支持的全部字段： DeepSeek 示例： ai provider: deepseek 、 ai api key: sk-xxx 、 ai model: deepseek-chat ， ai base url 可省略（默认 https://api.deepseek.com/v1 ）。 命令行参数 -p / -db / -config 可覆盖配置文件； BGS CONFIG 环境变量可指定配置文件路径。 前端 后端端口不是默认的 10000（例如被其他程序占用而改用了 10010）时，用环境变量指定代理目标： $env:VITE PROXY TARGET='http://localhost:10010' ，再执行 pnpm dev 。 API 文档 ：后端启动后 GET /api/v2/openapi.json 返回契约；原型中的调试页见 prototype/pages/api-docs.html 。 Agent 接入（MCP） ：在「设置 → 集成与 MCP」创建 API Key 后，配置到 Claude Code / Cursor： 测试 相关链接 - 原型总览：prototype/index.html - 重构方案：docs/v2-refactor.md - API 契约：packages/contracts/openapi.yaml - v1 历史代码：legacy/","default_branch":null,"files":null,"tree":[],"storefront":"/r/BaoXuebin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BaoXuebin/beancount-gs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}