{"id":52051147,"url":"https://github.com/moonmao42/receiptbi","last_synced_at":"2026-08-02T13:03:13.132Z","repository":{"id":310933220,"uuid":"1041790571","full_name":"MoonMao42/ReceiptBI","owner":"MoonMao42","description":"Local-first business intelligence for files and read-only databases.","archived":false,"fork":false,"pushed_at":"2026-07-23T08:47:04.000Z","size":21896,"stargazers_count":38,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-23T09:11:34.764Z","etag":null,"topics":["business-intelligence","data-analysis","data-visualization","database","fastapi","local-first","natural-language-to-sql","nextjs","python","react","reporting","self-hosted","semantic-layer","sql","text-to-sql","text2sql"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MoonMao42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-21T02:42:02.000Z","updated_at":"2026-07-23T08:58:36.000Z","dependencies_parsed_at":"2025-09-04T18:09:26.820Z","dependency_job_id":"08c4b45e-9c5b-44bf-a85a-f128273802e3","html_url":"https://github.com/MoonMao42/ReceiptBI","commit_stats":null,"previous_names":["mky508/querygpt","moonmao42/querygpt","moonmao42/receiptbi"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/MoonMao42/ReceiptBI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonMao42%2FReceiptBI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonMao42%2FReceiptBI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonMao42%2FReceiptBI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonMao42%2FReceiptBI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoonMao42","download_url":"https://codeload.github.com/MoonMao42/ReceiptBI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonMao42%2FReceiptBI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36193575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-02T02:00:06.915Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["business-intelligence","data-analysis","data-visualization","database","fastapi","local-first","natural-language-to-sql","nextjs","python","react","reporting","self-hosted","semantic-layer","sql","text-to-sql","text2sql"],"created_at":"2026-08-02T13:03:12.445Z","updated_at":"2026-08-02T13:03:13.124Z","avatar_url":"https://github.com/MoonMao42.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"docs/images/receiptbi-icon.png\" width=\"144\" alt=\"ReceiptBI logo\"\u003e\n\n# ReceiptBI\n\n**将 CSV、Excel 和只读数据库转换为可核查、可编辑的业务报表。**\n\n[下载桌面版](https://github.com/MoonMao42/ReceiptBI/releases/latest) · [使用示例数据](#使用示例数据) · [English](README.en.md)\n\n[![CI](https://github.com/MoonMao42/ReceiptBI/actions/workflows/ci.yml/badge.svg)](https://github.com/MoonMao42/ReceiptBI/actions/workflows/ci.yml)\n[![Release](https://img.shields.io/github/v/release/MoonMao42/ReceiptBI?label=release)](https://github.com/MoonMao42/ReceiptBI/releases/latest)\n[![License](https://img.shields.io/github/license/MoonMao42/ReceiptBI)](LICENSE)\n\n\u003c/div\u003e\n\n![查看报表分页并进入编辑布局](docs/images/demo/receiptbi-report-demo.gif)\n\n\u003cp align=\"center\"\u003e\u003csub\u003e可以通过自然语言和数据库、Excel 等进行只读交互，生成图表，汇总\u003c/sub\u003e\u003c/p\u003e\n\n## 使用示例数据\n\n1. 安装 [ReceiptBI 桌面版](https://github.com/MoonMao42/ReceiptBI/releases/latest)，或从源码启动。\n2. 下载 [咖啡零售订单示例](examples/retail/orders.csv)。\n3. 在设置中配置模型服务，将示例文件加入项目。\n4. 输入以下问题：\n\n\u003e 请分析最近一个月的销售额、毛利和退款，并按地区和渠道比较。\n\n## 下载\n\n当前版本为 [ReceiptBI 1.0.0](https://github.com/MoonMao42/ReceiptBI/releases/tag/v1.0.0)。\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003emacOS 首次打开\u003c/strong\u003e\u003c/summary\u003e\n\n1. 打开 DMG，将 ReceiptBI 拖入“应用程序”文件夹。\n2. 当前 1.0.0 版本尚未签名。如果 macOS 阻止首次打开，请在终端运行：\n\n```bash\nxattr -cr /Applications/ReceiptBI.app\n```\n\n\u003c/details\u003e\n\n## 核心特性\n\n### 完整分析过程，含重点和图表\n\n![包含核心指标、关键发现和图表的数据调查](docs/images/zh/workspace-analysis.png)\n\n### 按数据源 AI 生成语义层\n\n![按数据表查看和治理业务定义](docs/images/zh/semantic-governance.png)\n\n### 转换为可编辑报表\n\n![将一次调查整理为报表前的内容确认](docs/images/zh/report-organizing.png)\n\n### 导出前预览分页\n\n![多页报表的打印预览](docs/images/zh/report-print-preview.png)\n\n\u003cdiv align=\"center\"\u003e\n\n[⭐ Star ReceiptBI](https://github.com/MoonMao42/ReceiptBI)\n\n\u003c/div\u003e\n\n## 工作流\n\n```mermaid\nflowchart LR\n    data[\"文件 / 只读数据库\"] --\u003e prep[\"准备数据\"]\n    prep --\u003e semantic[\"确认业务背景\"]\n    semantic --\u003e ask[\"提出问题\"]\n    ask --\u003e run[\"进行分析\"]\n    run --\u003e validate[\"核查依据\"]\n    validate --\u003e|还需调整| run\n    validate --\u003e report[\"可编辑报表\"]\n```\n\n已确认的数据准备步骤和业务定义会被保存。数据更新但结构未变时，可沿用原有口径重新运行分析并刷新报表。\n\n\n## 历史版本\n\n| 版本 | 基础项目 | 分支 |\n|---|---|---|\n| v2 | [gptme](https://github.com/gptme/gptme) | [v2](https://github.com/MoonMao42/ReceiptBI/tree/v2) |\n| v1 | [Open Interpreter 0.4.3](https://github.com/OpenInterpreter/open-interpreter) | [v1](https://github.com/MoonMao42/ReceiptBI/tree/v1) |\n\n## 许可证\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonmao42%2Freceiptbi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoonmao42%2Freceiptbi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonmao42%2Freceiptbi/lists"}