[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116506":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":28,"discoverSource":29},116506,"broke","nextwork-projects\u002Fbroke","nextwork-projects","A private money app on your own bank data and your own AI. No API keys.",null,"TypeScript",61,17,3,1,0,2,4,8,50.09,"MIT License",false,"main",[],"2026-11-16 17:15:28","2026-11-23 19:31:26","# broke\n\nSee where your money goes, get a plan for it, and ask your own AI about it. Your bank data stays in your own database.\n\nNext.js 15, Supabase, Plaid. Free to run. AI uses the app you already pay for, with no API keys.\n\n## Run it on your computer\n\nThe easiest way. Needs [Node.js](https:\u002F\u002Fnodejs.org) and [git](https:\u002F\u002Fgit-scm.com\u002Fdownloads). On Mac or Linux:\n\n```bash\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fnextwork-projects\u002Fbroke\u002Fmain\u002Finstall.sh | sh\n```\n\nThis puts broke in `~\u002Fbroke` and opens a setup page. Paste in your keys there, one step at a time:\n\n1. **Supabase** (free): your database and sign-in.\n2. **Plaid** (free for test banks): your bank connection.\n3. **AI** (optional): broke finds Claude Code, Codex, Gemini CLI, opencode or a local model on your computer. Or connect OpenRouter in one click.\n\nTo start it again: open a new Terminal window and type `broke`.\n\nOn Windows: `git clone https:\u002F\u002Fgithub.com\u002Fnextwork-projects\u002Fbroke`, then `npm run app` in that folder.\n\n## Put it online\n\nUse it from your phone, on a site only you own.\n\n[![Deploy with Vercel](https:\u002F\u002Fvercel.com\u002Fbutton)](https:\u002F\u002Fvercel.com\u002Fnew\u002Fclone?repository-url=https%3A%2F%2Fgithub.com%2Fnextwork-projects%2Fbroke&project-name=broke&repository-name=broke&env=NEXT_PUBLIC_SUPABASE_URL%2CNEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY%2CSUPABASE_SERVICE_ROLE_KEY%2CSUPABASE_DB_URL%2CPLAID_CLIENT_ID%2CPLAID_SECRET%2CPLAID_ENV&envDescription=Your+Supabase+project+and+Plaid+keys.+Only+your+copy+of+broke+sees+them.&envLink=https%3A%2F%2Fgithub.com%2Fnextwork-projects%2Fbroke%23put-it-online&envDefaults=%7B%22PLAID_ENV%22%3A%22sandbox%22%7D)\n\n1. Create a free [Supabase](https:\u002F\u002Fsupabase.com\u002Fdashboard\u002Fnew) project and get [Plaid keys](https:\u002F\u002Fdashboard.plaid.com\u002Fdevelopers\u002Fkeys).\n2. Press the button and paste them in. `SUPABASE_DB_URL` is under Supabase, Connect, Session pooler. broke creates its tables as it builds.\n3. Open your new site. It shows one step to do in Supabase before your first sign-in.\n4. Sign in once, then turn off \"Allow new users to sign up\" under Authentication, Sign In \u002F Providers, so nobody else can use your copy.\n\n**AI on an online copy:** connect OpenRouter in one click. Or, to use your Claude or opencode plan, press **Connect my computer** on Connect your AI and run the command it gives you. Your AI login stays on your computer. AI answers while that command is running.\n\n## Improve it\n\nbroke is yours to change. Open the folder and tell your AI app what you want:\n\n```bash\ncd ~\u002Fbroke && claude\n```\n\n`CLAUDE.md` tells it the privacy rules. Run `npm run dev` to see changes as they happen. On an online copy, `git push` publishes them.\n\n**Get the latest broke:** it updates itself each time you start it (`broke`, or the install command), as long as you haven't changed its code. With your own changes, run `npm run update`. To turn auto-update off, start it with `BROKE_NO_AUTO_UPDATE=1`. On an online copy there's nothing to install: in your GitHub repo open Actions, Update broke, Run workflow, and Vercel rebuilds your site. Your changes stay either way.\n\nIf you make something others would want, send a pull request.\n\n## Banks\n\n**Banks in other countries (all optional, keys on the Setup page):** Plaid (US, Canada), Akahu (New Zealand), Enable Banking (UK, Europe), Basiq (Australia), Belvo (Brazil). Each shows only for that country. Enable Banking, Basiq and Belvo are built from their public docs and tested against stand-ins, so test against the vendor's sandbox before relying on them. Anywhere else, people import a CSV, OFX, QIF or PDF statement.\n\nIn test mode, press **Use a test bank**, or pick any bank in Plaid Link with username `user_good` and password `pass_good`.\n\n## How AI stays private\n\nEvery AI path goes through one gate. A cloud model gets a summary: rounded amounts, names replaced by tokens. Full detail goes only to a local model. You can turn AI off in Settings. Each answer runs with no way to change your data.\n\n## Scripts\n\n- `npm run migrate`: apply database changes now. They also apply on start.\n- `node --env-file=.env --env-file-if-exists=.env.local scripts\u002Fe2e-sandbox.mjs`: throwaway user, test bank, every page, user deleted.\n- `node src\u002Flib\u002Fformat.test.ts` and `node src\u002Flib\u002Fllm\u002Fconfig.test.ts`: unit checks.\n\n## Licence\n\nMIT.\n","broke 是一款个人财务分析与管理应用，允许用户基于自有银行数据和本地\u002F自有AI模型进行支出追踪、预算规划与财务问答。核心特点是端到端数据私有化——银行数据存储于用户自建的 Supabase 数据库，AI 推理可调用本地运行的 Claude Code、Gemini CLI、Ollama 等模型，全程无需上传敏感数据或配置第三方 API 密钥。技术栈基于 Next.js 15、Supabase 和 Plaid，支持一键本地部署（Mac\u002FLinux 脚本）或 Vercel 在线托管。适用于注重隐私的个人用户对自身消费行为进行自主分析、生成个性化理财建议及自动化账单解读。","2026-11-24 04:53:42","CREATED_QUERY"]