Bucksley / website · bucksley.ai / tools / build-site.py
| 1 | #!/usr/bin/env python3 |
| 2 | """Writes the bucksley-site pages (index, download, mcp, help, privacy, 404) and llms.txt on the house |
| 3 | app-site template, with one shared head, header and footer. tools/family.html is the template's |
| 4 | home-page tail (community and newsletter callouts, </main>, the block), kept |
| 5 | unchanged apart from the app name. |
| 6 | |
| 7 | Two states. Until the first signed Mac build ships, every page says "Coming soon" and the JSON-LD |
| 8 | offer is PreOrder. tools/set-release.sh VERSION BUILD SHA256 BYTES runs this script with |
| 9 | --release, which switches the site to the real download (InStock offer, downloadUrl, install guide). |
| 10 | After that, the current release is read back from the download page, so a plain rerun keeps it. |
| 11 | |
| 12 | Not deployed (tools/ is left out of the Pages build). Run from anywhere: python3 tools/build-site.py |
| 13 | """ |
| 14 | import json, os, re, sys |
| 15 | |
| 16 | ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |
| 17 | SITE = "https://bucksley.ai" |
| 18 | GSC = "7iIXr-PMFJ_aGS43oSrPEZ5DRntgBF09yLD61lN2gac" # google-site-verification token for the home page, once Search Console has one |
| 19 | BING = "E2001B47E91F72A19BB1E8E642B26928" # account-wide msvalidate.01 token |
| 20 | V = "mono1" # cache-buster for the icon, favicon and social card |
| 21 | FAMILY = open(os.path.join(ROOT, "tools", "family.html")).read() |
| 22 | |
| 23 | |
| 24 | def current_release(): |
| 25 | """--release VERSION BUILD SHA SIZE from set-release.sh, else what the download page already shows, else None.""" |
| 26 | if "--release" in sys.argv: |
| 27 | version, build, sha, size = sys.argv[sys.argv.index("--release") + 1:][:4] |
| 28 | return {"version": version, "build": build, "sha": sha, "size": size} |
| 29 | try: |
| 30 | page = open(os.path.join(ROOT, "download", "index.html")).read() |
| 31 | except FileNotFoundError: |
| 32 | return None |
| 33 | rel = {} |
| 34 | for key in ("version", "build", "size", "sha"): |
| 35 | m = re.search(rf'data-release="{key}">([^<]*)<', page) |
| 36 | if m: |
| 37 | rel[key] = m.group(1) |
| 38 | return rel if len(rel) == 4 else None |
| 39 | |
| 40 | |
| 41 | REL = current_release() |
| 42 | LIVE = REL is not None |
| 43 | DMG = f"/downloads/Bucksley-{REL['version']}.dmg" if LIVE else None |
| 44 | |
| 45 | |
| 46 | def rel(key): |
| 47 | tag = "code" if key == "sha" else "span" |
| 48 | return f'<{tag} data-release="{key}">{REL[key]}</{tag}>' |
| 49 | |
| 50 | |
| 51 | STATUS = "Free and open source." if LIVE else "Coming soon, free and open source." |
| 52 | DESC = ("Bucksley is a free, local-first personal finance app for Mac and iPhone. It brings your bank accounts, cards " |
| 53 | "and investments into one place to track spending, budgets, recurring bills and net worth. It is read-only, " |
| 54 | "never moves money, and keeps your data on your devices and in your own iCloud, with no Bucksley server. " + STATUS) |
| 55 | TITLE = "Bucksley · Every account in one place, on your Mac and iPhone" |
| 56 | |
| 57 | ORG = {"@type": "Organization", "@id": f"{SITE}/#org", "name": "Bucksley", "url": f"{SITE}/", |
| 58 | "logo": f"{SITE}/assets/icon.png"} |
| 59 | APP = {"@type": "SoftwareApplication", "@id": f"{SITE}/#app", "name": "Bucksley", "url": f"{SITE}/", "description": DESC, |
| 60 | "applicationCategory": "FinanceApplication", "applicationSubCategory": "Personal finance and budgeting", |
| 61 | "operatingSystem": "macOS 15 or later, iOS 18 or later", "isAccessibleForFree": True, |
| 62 | "image": f"{SITE}/assets/icon.png?v={V}", |
| 63 | "featureList": ["Net worth, accounts and transactions in one place", "Bank connections through SimpleFIN Bridge or your own Plaid keys", |
| 64 | "Apple Card, Apple Cash and Savings on iPhone through FinanceKit", "CSV import from other finance apps", |
| 65 | "Categories, groups and rules", "Budgets with rollover and pace", "Recurring bills and subscriptions", |
| 66 | "Ask Bucksley, with Apple's on-device model by default", "iPhone review inbox synced through your private iCloud", |
| 67 | "Read-only: never moves money", "Built-in MCP server with 18 tools for Claude Code, Codex and Claude chat"], |
| 68 | "author": {"@id": f"{SITE}/#org"}, "publisher": {"@id": f"{SITE}/#org"}} |
| 69 | if LIVE: |
| 70 | APP.update({"softwareVersion": REL["version"], "downloadUrl": SITE + DMG, "installUrl": f"{SITE}/download/"}) |
| 71 | |
| 72 | APPLE = '<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"/></svg>' |
| 73 | ICON_ARROW = '<svg width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4"/></svg>' |
| 74 | ICON_CHART = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 3v18h18"/><path d="m7 15 4-4 3 3 5-6"/></svg>' |
| 75 | ICON_BELL = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"/><path d="M10.3 21a1.94 1.94 0 0 0 3.4 0"/></svg>' |
| 76 | TESTFLIGHT = "https://testflight.apple.com/join/F4wS5fF3" |
| 77 | TF_NOTE = "iPhone and iPad companion beta. Pairs with the Mac app." |
| 78 | TF_BUTTON = f'<a class="button secondary testflight-button" href="{TESTFLIGHT}" target="_blank" rel="noopener noreferrer">{APPLE} Join the TestFlight beta <span aria-hidden="true">↗</span></a>' |
| 79 | ICON_PLUG = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 22v-5"/><path d="M15 8V2"/><path d="M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z"/><path d="M9 8V2"/></svg>' |
| 80 | ICON_BOOK = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 7v14"/><path d="M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/></svg>' |
| 81 | ICON_CHAT = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"/></svg>' |
| 82 | ICON_HOME = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"/><path d="M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg>' |
| 83 | ICON_HELP = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/><path d="M12 17h.01"/></svg>' |
| 84 | ICON_ACTION = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762"/></svg>' |
| 85 | NEWSLETTER = "/download/" |
| 86 | |
| 87 | NAV = [("/#features", "Features", "nav-hide"), ("/#connect", "Connect", "nav-hide"), ("/#iphone", "iPhone", "nav-hide"), ("/mcp/", "MCP setup", "nav-hide-sm")] |
| 88 | FOOT_NAV = [("/download/", "Download" if LIVE else "Coming soon"), ("/mcp/", "MCP setup"), ("/help/", "Help"), ("/privacy/", "Privacy"), ("/research/", "Research"), ("/app-notices/", "App notices")] |
| 89 | |
| 90 | |
| 91 | def ld(graph): |
| 92 | return '<script type="application/ld+json">' + json.dumps({"@context": "https://schema.org", "@graph": graph}, ensure_ascii=False, separators=(",", ":")) + "</script>" |
| 93 | |
| 94 | |
| 95 | def head(path, title, desc, graph, noindex=False, home=False): |
| 96 | url = SITE + path |
| 97 | meta = [] |
| 98 | if noindex: |
| 99 | meta.append(' <meta name="robots" content="noindex">') |
| 100 | else: |
| 101 | meta.append(f' <meta name="description" content="{desc}">') |
| 102 | meta += [' <meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)">', |
| 103 | ' <meta name="theme-color" content="#101010" media="(prefers-color-scheme: dark)">'] |
| 104 | if not noindex: |
| 105 | meta += [ |
| 106 | f' <link rel="canonical" href="{url}">', |
| 107 | ' <meta property="og:type" content="website">', ' <meta property="og:site_name" content="Bucksley">', |
| 108 | ' <meta property="og:locale" content="en_US">', |
| 109 | f' <meta property="og:title" content="{title}">', f' <meta property="og:description" content="{desc}">', |
| 110 | f' <meta property="og:url" content="{url}">', f' <meta property="og:image" content="{SITE}/social-card.png?v={V}">', |
| 111 | ' <meta property="og:image:type" content="image/png">', |
| 112 | ' <meta property="og:image:width" content="1200">', ' <meta property="og:image:height" content="630">', |
| 113 | ' <meta property="og:image:alt" content="Bucksley. Every account, one honest picture. Personal finance for Mac and iPhone. Free and open source.">', |
| 114 | ' <meta name="twitter:card" content="summary_large_image">', |
| 115 | f' <meta name="twitter:title" content="{title}">', f' <meta name="twitter:description" content="{desc}">', |
| 116 | f' <meta name="twitter:image" content="{SITE}/social-card.png?v={V}">', |
| 117 | ' <meta name="author" content="Bucksley">'] |
| 118 | if home: |
| 119 | if GSC: |
| 120 | meta.append(f' <meta name="google-site-verification" content="{GSC}">') |
| 121 | meta.append(f' <meta name="msvalidate.01" content="{BING}">') |
| 122 | meta += [f' <link rel="icon" href="/favicon.png?v={V}" type="image/png">', f' <link rel="apple-touch-icon" href="/assets/apple-touch-icon.png?v={V}">', |
| 123 | ' <link rel="stylesheet" href="/assets/site.css?v=20261201">', |
| 124 | ' <script src="/assets/site.js" defer></script>' if home else None, |
| 125 | ' <script src="/assets/share.js" defer></script>' if home else None, |
| 126 | ' <link rel="stylesheet" href="/assets/visitor-odometer.v1.css">' if home else None, |
| 127 | ' <script defer src="/assets/visitor-odometer.v1.js"></script>' if home else None, |
| 128 | f' <title>{title}</title>', (' ' + ld(graph)) if graph else None] |
| 129 | return '<!doctype html>\n<html lang="en">\n<head>\n <meta charset="utf-8">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n' + "\n".join(m for m in meta if m) + "\n <!-- no-orphans --><link rel=\"stylesheet\" href=\"/no-orphans.css\"><script src=\"/no-orphans.js\" defer></script><!-- /no-orphans -->\n</head>\n" |
| 130 | |
| 131 | |
| 132 | def header(current=None, body_class=None): |
| 133 | current_attr = ' aria-current="page"' |
| 134 | links = "\n".join(f' <a class="{c}" href="{h}"{current_attr if h == current else ""}>{t}</a>' for h, t, c in NAV) |
| 135 | if LIVE and current == "/download/": |
| 136 | cta = f'<a class="nav-cta" href="#install">{ICON_BOOK}Install guide</a>' |
| 137 | links = "" |
| 138 | elif LIVE: |
| 139 | cta = f'<a class="nav-cta mac-download" href="/download/">{APPLE} Download for Mac</a>' |
| 140 | else: |
| 141 | cta = f'<a class="nav-cta" href="/download/"{current_attr if current == "/download/" else ""}>Coming soon</a>' |
| 142 | body = f'<body class="{body_class}">' if body_class else "<body>" |
| 143 | return f'''{body} |
| 144 | <a class="skip" href="#main">Skip to content</a> |
| 145 | <header class="site-header"> |
| 146 | <div class="shell nav"> |
| 147 | <a class="wordmark" href="/" aria-label="Bucksley home"><img src="/assets/icon.png?v={V}" alt="" width="30" height="30">Bucksley</a> |
| 148 | <nav aria-label="Main"> |
| 149 | {links + chr(10) if links else ""} {cta} |
| 150 | </nav> |
| 151 | </div> |
| 152 | </header> |
| 153 | ''' |
| 154 | |
| 155 | |
| 156 | def footer(family=False): |
| 157 | nav = "".join(f'<a href="{h}">{t}</a>' for h, t in FOOT_NAV) |
| 158 | return (FAMILY if family else "") + f''' <footer> |
| 159 | <div class="shell footer"> |
| 160 | <nav aria-label="Footer">{nav}</nav> |
| 161 | </div> |
| 162 | <div class="shell footer-credit"> |
| 163 | <span>Bucksley</span> |
| 164 | </div> |
| 165 | </footer> |
| 166 | <script src="/assets/pm-year.js" defer></script> |
| 167 | </body> |
| 168 | </html> |
| 169 | ''' |
| 170 | |
| 171 | |
| 172 | def crumbs(name, path): |
| 173 | return {"@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Bucksley", "item": SITE + "/"}, |
| 174 | {"@type": "ListItem", "position": 2, "name": name, "item": SITE + path}]} |
| 175 | |
| 176 | |
| 177 | def webpage(path, name, desc): |
| 178 | return {"@type": "WebPage", "@id": f"{SITE}{path}#webpage", "url": SITE + path, "name": name, "description": desc, |
| 179 | "isPartOf": {"@id": f"{SITE}/#website"}, "inLanguage": "en-US", "publisher": {"@id": f"{SITE}/#org"}, |
| 180 | "about": {"@id": f"{SITE}/#app"}} |
| 181 | |
| 182 | |
| 183 | def write(rel_path, text): |
| 184 | p = os.path.join(ROOT, rel_path) |
| 185 | os.makedirs(os.path.dirname(p) or ROOT, exist_ok=True) |
| 186 | open(p, "w").write(text) |
| 187 | |
| 188 | |
| 189 | # Made-up sample accounts for the preview. Never real numbers. [id, name, balance text, class, spark class] |
| 190 | ACCOUNTS = [("checking", "Everyday Checking", "$4,812", "", "c3"), ("savings", "High-Yield Savings", "$28,450", "", "c3"), |
| 191 | ("card", "Rewards Card", "−$1,236", "neg", "c5"), ("brokerage", "Brokerage", "$142,381", "", "c1"), |
| 192 | ("crypto", "Crypto", "$9,640", "", "c2")] |
| 193 | |
| 194 | |
| 195 | def window(): |
| 196 | side = "\n".join(f''' <button type="button" class="acct" data-acct="{i}" aria-pressed="false"><span class="acct-text"><span>{n}</span><b class="fig {c}">{b}</b></span><span class="spark {k}" aria-hidden="true"></span></button>''' for i, n, b, c, k in ACCOUNTS) |
| 197 | return f''' <div class="stage"> |
| 198 | <div class="gw" data-theme="ah" data-appearance="dark" role="group" aria-label="Working preview of the Bucksley window, with sample data"> |
| 199 | <div class="gw-title"> |
| 200 | <span class="lights" aria-hidden="true"><i></i><i></i><i></i></span> |
| 201 | <span class="tabs" role="group" aria-label="View"> |
| 202 | <button type="button" data-view="home" aria-pressed="true">Home</button> |
| 203 | <button type="button" data-view="spending" aria-pressed="false">Spending</button> |
| 204 | <button type="button" data-view="budgets" aria-pressed="false">Budgets</button> |
| 205 | </span> |
| 206 | <span class="grow"></span> |
| 207 | <span class="sync"><i></i><span>Synced to iCloud</span></span> |
| 208 | </div> |
| 209 | <div class="gw-body"> |
| 210 | <div class="gw-side"> |
| 211 | <span class="side-label">Accounts</span> |
| 212 | <button type="button" class="acct all" data-acct="all" aria-pressed="true"><span class="acct-text"><span>All accounts</span><b class="fig" data-k="nw-side">$183,047</b></span></button> |
| 213 | {side} |
| 214 | </div> |
| 215 | <div class="gw-main"> |
| 216 | <div class="view" data-pane="home"> |
| 217 | <div class="nw-head"> |
| 218 | <div><div class="lbl" data-k="nw-label">Net worth</div><div class="big fig" data-k="nw">–</div><span class="chip fig" data-k="nw-chip"></span></div> |
| 219 | <span class="seg" role="group" aria-label="Range"> |
| 220 | <button type="button" data-range="30" aria-pressed="false">1M</button> |
| 221 | <button type="button" data-range="90" aria-pressed="false">3M</button> |
| 222 | <button type="button" data-range="365" aria-pressed="true">1Y</button> |
| 223 | <button type="button" data-range="730" aria-pressed="false">All</button> |
| 224 | </span> |
| 225 | </div> |
| 226 | <div class="keys" data-k="keys"></div> |
| 227 | <div class="nw-chart"><svg viewBox="0 0 640 200" role="img" aria-label="Stacked area chart of net worth by investments, cash and crypto"></svg><span class="readout fig" aria-live="polite"></span></div> |
| 228 | <div class="sech"><b>Recent activity</b><span data-k="tx-scope">All accounts</span></div> |
| 229 | <ul class="txs" data-k="txs"></ul> |
| 230 | </div> |
| 231 | <div class="view" data-pane="spending" hidden> |
| 232 | <div class="sech top"><b>Spending · November</b><span>Excludes transfers</span></div> |
| 233 | <div class="donutrow"> |
| 234 | <div class="donut"><svg viewBox="0 0 42 42" aria-hidden="true"></svg><div><b class="fig" data-k="spend-total">–</b><span data-k="spend-label">This month</span></div></div> |
| 235 | <ul class="legend" data-k="legend"></ul> |
| 236 | </div> |
| 237 | </div> |
| 238 | <div class="view" data-pane="budgets" hidden> |
| 239 | <div class="sech top"><b>Budgets · November</b><span data-k="pace">Day 24 of 30</span></div> |
| 240 | <ul class="rings" data-k="rings"></ul> |
| 241 | </div> |
| 242 | <form class="ask" data-k="ask"> |
| 243 | <label class="visually-hidden" for="ask-q">Ask Bucksley</label> |
| 244 | <select id="ask-q" data-k="ask-q"> |
| 245 | <option value="dining">How much did I spend on dining this month?</option> |
| 246 | <option value="subs">Which subscriptions went up?</option> |
| 247 | <option value="budget">Am I on pace with my budgets?</option> |
| 248 | </select> |
| 249 | <button type="submit" class="ask-go">Ask</button> |
| 250 | </form> |
| 251 | <p class="answer" data-k="answer" aria-live="polite" hidden></p> |
| 252 | </div> |
| 253 | </div> |
| 254 | </div> |
| 255 | <div class="stage-note"> |
| 256 | <span>A working preview with sample data. Switch views, pick an account or a range, hover the chart, or ask a question.</span> |
| 257 | <span class="chooser"><span id="theme-label">Theme</span> |
| 258 | <span class="opts" role="group" aria-labelledby="theme-label"> |
| 259 | <button type="button" data-theme-to="ah" aria-pressed="true">Afterhours</button> |
| 260 | <button type="button" data-theme-to="ev" aria-pressed="false">Evergreen</button> |
| 261 | <button type="button" data-theme-to="al" aria-pressed="false">Almanac</button> |
| 262 | </span> |
| 263 | </span> |
| 264 | <span class="chooser"><span id="look-label">Appearance</span> |
| 265 | <span class="opts" role="group" aria-labelledby="look-label"> |
| 266 | <button type="button" data-look="light" aria-pressed="false">Light</button> |
| 267 | <button type="button" data-look="dark" aria-pressed="true">Dark</button> |
| 268 | </span> |
| 269 | </span> |
| 270 | </div> |
| 271 | </div> |
| 272 | ''' |
| 273 | |
| 274 | |
| 275 | def phone(): |
| 276 | return ''' <figure class="phone"> |
| 277 | <div class="phone-frame"> |
| 278 | <div class="phone-screen" data-theme="ah" data-appearance="light" data-review> |
| 279 | <div class="ph-head"><h4>Review</h4><span class="count fig" data-k="count">1 of 5</span></div> |
| 280 | <div class="deck"> |
| 281 | <div class="dcard"> |
| 282 | <div class="dtop"><i class="av c3" data-k="av">HB</i><span class="tag c3" data-k="cat">Home</span></div> |
| 283 | <div class="dm" data-k="merchant">Hardware Barn</div> |
| 284 | <div class="da fig" data-k="amount">−$146.83</div> |
| 285 | <div class="dmeta"><span data-k="date">Sun, Nov 22</span><span data-k="acct">Everyday Checking</span></div> |
| 286 | <div class="dnote" data-k="note">About $60 more than your usual Hardware Barn visit.</div> |
| 287 | </div> |
| 288 | </div> |
| 289 | <div class="dbtn"> |
| 290 | <button type="button" class="pbtn ghost" data-act="category">Change category</button> |
| 291 | <button type="button" class="pbtn pri" data-act="reviewed">Reviewed</button> |
| 292 | </div> |
| 293 | <p class="hint" data-k="hint">Swipe right to mark reviewed.</p> |
| 294 | <h5 class="up">Up next</h5> |
| 295 | <ul class="next" data-k="next"></ul> |
| 296 | </div> |
| 297 | </div> |
| 298 | <figcaption>iPhone and iPad beta on TestFlight · sample data</figcaption> |
| 299 | </figure> |
| 300 | ''' |
| 301 | |
| 302 | |
| 303 | TOOLS = [("get_status", "Which connections are set up, how many accounts and transactions there are, and when each last synced."), |
| 304 | ("list_accounts · get_net_worth", "Accounts with balances, and net worth over time by what it is made of."), |
| 305 | ("list_transactions", "Search and filter transactions by date, account, category, amount, tag or review state."), |
| 306 | ("get_spending", "Spending by category or group for any period."), |
| 307 | ("list_categories · list_rules", "Your categories, groups and the rules that file transactions."), |
| 308 | ("list_budgets · list_recurring", "Budgets with spent, left and pace, and recurring bills and subscriptions."), |
| 309 | ("get_review_queue", "Transactions waiting for review."), |
| 310 | ("mark_reviewed · set_category · set_note · rename_transaction · set_tags", "Tidy up transactions. Off until you allow changes."), |
| 311 | ("create_rule · set_budget", "Add a categorization rule or set a budget. Off until you allow changes."), |
| 312 | ("sync_now", "Fetch new transactions from your connections now. Off until you allow changes.")] |
| 313 | |
| 314 | |
| 315 | def index(): |
| 316 | graph = [{"@type": "WebSite", "@id": f"{SITE}/#website", "url": SITE + "/", "name": "Bucksley", "description": DESC, "inLanguage": "en-US", |
| 317 | "publisher": {"@id": f"{SITE}/#org"}}, |
| 318 | {**webpage("/", TITLE, DESC), "mainEntity": {"@id": f"{SITE}/#app"}}, APP, ORG] |
| 319 | share = ('<button type="button" class="pm-share-btn bk-share" data-pm-share data-share-url="https://bucksley.ai/" data-share-title="Bucksley" ' |
| 320 | 'data-share-text="Every account, one honest picture. Free personal finance for Mac and iPhone." aria-haspopup="menu" aria-label="Share Bucksley">' |
| 321 | '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">' |
| 322 | '<path d="M12 3v12"/><path d="m7.5 7.5 4.5-4.5 4.5 4.5"/><path d="M5 12v6.5A2.5 2.5 0 0 0 7.5 21h9a2.5 2.5 0 0 0 2.5-2.5V12"/></svg><span data-pm-share-label>Share</span></button>') |
| 323 | if LIVE: |
| 324 | pill = "Mac app · Free · Open source" |
| 325 | primary = f'<a class="button mac-download" href="/download/">{APPLE} Download for Mac</a>' |
| 326 | fine = f'Free · Open source · macOS 15 or later · Version {rel("version")} · iPhone and iPad beta on TestFlight' |
| 327 | else: |
| 328 | pill = "Mac and iPhone · Free · Coming soon" |
| 329 | primary = f'<a class="button" href="{NEWSLETTER}" target="_blank" rel="noopener noreferrer">{ICON_BELL}Get launch news</a>' |
| 330 | fine = "Free · Open source · macOS 15 and iOS 18 or later · In development" |
| 331 | h = head("/", TITLE, DESC, graph, home=True) + header() |
| 332 | h += f''' |
| 333 | <main id="main"> |
| 334 | <section class="hero" aria-labelledby="hero-title"> |
| 335 | <div class="shell"> |
| 336 | <p class="pill"><i></i>{pill}</p> |
| 337 | <div class="visitor-welcome" data-visitor-odometer data-visitor-site="bucksley"></div> |
| 338 | <h1 id="hero-title">Every account. <em>One honest picture.</em></h1> |
| 339 | <p class="lead">Bucksley brings your bank accounts, cards and investments together on your Mac and iPhone: spending, budgets, recurring bills and net worth in one place. It only reads, it never moves money, and your data stays on your devices and in your own iCloud. <strong>There is no Bucksley server.</strong></p> |
| 340 | <div class="actions"> |
| 341 | {primary} |
| 342 | <a class="button secondary" href="#features">{ICON_CHART}See what it does</a> |
| 343 | {share} |
| 344 | </div> |
| 345 | <p class="fineprint">{fine}</p> |
| 346 | |
| 347 | {window()} |
| 348 | <dl class="facts"> |
| 349 | <div><dt>0</dt><dd>Bucksley servers. Your finances stay on your devices</dd></div> |
| 350 | <div><dt>4</dt><dd>ways in: SimpleFIN, your own Plaid keys, Apple Wallet and CSV</dd></div> |
| 351 | <div><dt>18</dt><dd>MCP tools for the agent you connect</dd></div> |
| 352 | <div><dt>100%</dt><dd>free and open source</dd></div> |
| 353 | </dl> |
| 354 | </div> |
| 355 | </section> |
| 356 | |
| 357 | <section id="features" class="section"> |
| 358 | <div class="shell"> |
| 359 | <div class="section-head"> |
| 360 | <span class="mark">features</span> |
| 361 | <h2>Know where it went. <em>Decide where it goes.</em></h2> |
| 362 | <p class="lead">Bucksley does the everyday work of a paid finance app without the subscription or the account: it pulls in your transactions, files them, and shows you how the month is going at a glance.</p> |
| 363 | </div> |
| 364 | <figure class="native-demo-shot"> |
| 365 | <img src="/assets/screens/bucksley-mac-overview.webp" width="1440" height="900" loading="lazy" decoding="async" alt="Bucksley’s Mac Overview with account balances on the left and a net worth chart, budgets, and recent transactions on the right."> |
| 366 | <figcaption>The Bucksley Mac app, shown with sample accounts from the SimpleFIN demo bank.</figcaption> |
| 367 | </figure> |
| 368 | <div class="bento"> |
| 369 | <article class="card wide"> |
| 370 | <h3>Transactions you can actually tidy</h3> |
| 371 | <p>Search and filter everything. Rename a merchant, change a category, split a purchase, add a note or tags, and mark it reviewed. Fix one and Bucksley offers a rule so the next one files itself.</p> |
| 372 | <div class="visual"><div class="mini" aria-hidden="true"> |
| 373 | <div class="mini-row"><span class="lbl">Rule</span><span class="val">Merchant contains <b>“bean there”</b> → <b>Dining</b></span><span class="end">12 matched</span></div> |
| 374 | <div class="mini-row"><span class="lbl">Split</span><span class="val"><b>Big Box Store</b> $182.40 → Groceries $121.15 · Home $61.25</span><span class="end">2 parts</span></div> |
| 375 | </div></div> |
| 376 | </article> |
| 377 | <article class="card wide"> |
| 378 | <h3>Budgets that keep pace with you</h3> |
| 379 | <p>Set a budget per category or group. Leftovers can roll into next month, a pace marker shows whether you’re ahead of the calendar, and Bucksley can suggest budgets from what you really spend.</p> |
| 380 | <div class="visual"><div class="mini" aria-hidden="true"> |
| 381 | <div class="mini-row"><span class="lbl">Groceries</span><span class="val"><b>$486</b> of $600 · on pace</span><span class="end">81%</span></div> |
| 382 | <div class="mini-row"><span class="lbl">Dining</span><span class="val"><b>$312</b> of $300 · $12 over</span><span class="end">104%</span></div> |
| 383 | </div></div> |
| 384 | </article> |
| 385 | <article class="card"> |
| 386 | <h3>Net worth, by what it’s made of</h3> |
| 387 | <p>Cash, investments, crypto and debt stacked over time, with every account’s balance and trend in the sidebar.</p> |
| 388 | </article> |
| 389 | <article class="card"> |
| 390 | <h3>Recurring, spotted for you</h3> |
| 391 | <p>Bills and subscriptions are found automatically, with what’s due next and which ones quietly went up.</p> |
| 392 | <div class="visual"><ul class="chips"><li>Weekly</li><li>Monthly</li><li>Yearly</li></ul></div> |
| 393 | </article> |
| 394 | <article class="card"> |
| 395 | <h3>Ask Bucksley</h3> |
| 396 | <p>Ask about your money in plain words. Answers come from Apple’s on-device model by default, or from your own Claude or OpenAI key if you add one.</p> |
| 397 | </article> |
| 398 | </div> |
| 399 | </div> |
| 400 | </section> |
| 401 | |
| 402 | <section id="connect" class="section band" aria-labelledby="connect-title"> |
| 403 | <div class="shell"> |
| 404 | <div class="section-head"> |
| 405 | <span class="mark">connect</span> |
| 406 | <h2 id="connect-title">Bring your accounts. <em>Keep the keys.</em></h2> |
| 407 | <p class="lead">Bucksley talks to your banks through services you sign up for yourself, so the connection belongs to you. Every connection is read-only, and its secret is kept in the Keychain on your device.</p> |
| 408 | </div> |
| 409 | <div class="connect"> |
| 410 | <article><h3>SimpleFIN Bridge</h3><p>Link thousands of US banks and cards through your own SimpleFIN Bridge account. Paste its setup token and Bucksley does the rest.</p></article> |
| 411 | <article><h3>Plaid, with your keys</h3><p>Already have Plaid developer keys? Add them and connect institutions through Plaid’s own sign-in. Bucksley never sees your bank password.</p></article> |
| 412 | <article><h3>Apple Wallet</h3><p>On iPhone, Bucksley reads Apple Card, Apple Cash and Savings through Apple’s FinanceKit, with your permission.</p></article> |
| 413 | <article><h3>CSV import</h3><p>Moving from another finance app? Import its transaction export, categories and tags included, and keep your history.</p></article> |
| 414 | </div> |
| 415 | </div> |
| 416 | </section> |
| 417 | |
| 418 | <section id="iphone" class="section"> |
| 419 | <div class="shell split"> |
| 420 | <div> |
| 421 | <span class="mark">iphone and ipad · testflight beta</span> |
| 422 | <h2>Review it <em>in a spare minute.</em></h2> |
| 423 | <p class="lead">The iPhone app turns new transactions into a short review inbox. Swipe through them while you wait for coffee, and everything you mark syncs back to your Mac through your private iCloud.</p> |
| 424 | <ul class="ticks"> |
| 425 | <li><span><strong>Your iCloud, not ours.</strong> Your workspace syncs through your own private iCloud database. Bucksley has no server to send it to.</span></li> |
| 426 | <li><span><strong>Widgets and Shortcuts.</strong> Net worth, budgets and what’s left to spend on your Home Screen, plus App Intents for Shortcuts and Siri.</span></li> |
| 427 | <li><span><strong>Apple Wallet on board.</strong> Apple Card, Apple Cash and Savings come in straight from FinanceKit on your iPhone.</span></li> |
| 428 | </ul> |
| 429 | <div class="actions actions-left"> |
| 430 | {TF_BUTTON} |
| 431 | </div> |
| 432 | <p class="fineprint">{TF_NOTE}</p> |
| 433 | </div> |
| 434 | {phone()} </div> |
| 435 | </section> |
| 436 | |
| 437 | <section id="agents" class="section band"> |
| 438 | <div class="shell agent"> |
| 439 | <div> |
| 440 | <span class="mark">agents</span> |
| 441 | <h2>Let your agent <em>do the bookkeeping.</em></h2> |
| 442 | <p class="lead">Bucksley has an MCP server built in. Connect Claude Code, Codex or Claude chat and it can answer questions about your money, clear the review queue and write rules. Agents can only look until you allow changes, and every change is logged in the app.</p> |
| 443 | <div class="clients"> |
| 444 | <a href="/mcp/#claude-code">{ICON_PLUG}Claude Code <span aria-hidden="true">→</span></a> |
| 445 | <a href="/mcp/#codex">{ICON_PLUG}Codex <span aria-hidden="true">→</span></a> |
| 446 | <a href="/mcp/#claude-chat">{ICON_PLUG}Claude chat <span aria-hidden="true">→</span></a> |
| 447 | </div> |
| 448 | <div class="actions"><a class="button secondary" href="/mcp/">{ICON_BOOK}How agent setup works</a></div> |
| 449 | </div> |
| 450 | <div class="session" data-mode="write"> |
| 451 | <div class="session-bar"> |
| 452 | <span id="mode-label">Bucksley › Settings › Agents</span> |
| 453 | <span class="chooser"><span class="opts" role="group" aria-labelledby="mode-label"> |
| 454 | <button type="button" data-mode-to="read" aria-pressed="false">View only</button> |
| 455 | <button type="button" data-mode-to="write" aria-pressed="true">Can make changes</button> |
| 456 | </span></span> |
| 457 | </div> |
| 458 | <div class="session-body"> |
| 459 | <p class="say you">File my coffee runs under Dining and make it stick. Then tell me how dining looks this month.</p> |
| 460 | <ul class="calls"> |
| 461 | <li><div><b>list_transactions</b><span>“Bean There” · 4 unreviewed · filed as Shopping</span></div></li> |
| 462 | <li class="only-read blocked"><div><b>set_category</b><span>Agents can view only. Turn on “Let agents make changes” in Settings → Agents.</span></div></li> |
| 463 | <li class="only-write"><div><b>set_category</b><span>4 transactions → Dining</span></div></li> |
| 464 | <li class="only-write"><div><b>create_rule</b><span>Merchant contains “bean there” → Dining</span></div></li> |
| 465 | <li><div><b>get_spending</b><span>Dining · November · $312 of $300</span></div></li> |
| 466 | </ul> |
| 467 | <p class="say agent-says only-write">Done. Four coffee runs moved to Dining and a rule will file the next ones. Dining is at $312, $12 over its $300 budget.</p> |
| 468 | <p class="say agent-says only-read">I found four coffee runs filed as Shopping. Bucksley is set to view only, so I haven’t changed them. Dining is at $312 of $300.</p> |
| 469 | </div> |
| 470 | </div> |
| 471 | </div> |
| 472 | </section> |
| 473 | |
| 474 | <section id="privacy" class="section" aria-labelledby="privacy-title"> |
| 475 | <div class="shell"> |
| 476 | <div class="section-head"> |
| 477 | <span class="mark">privacy</span> |
| 478 | <h2 id="privacy-title">Your money stays <em>yours.</em></h2> |
| 479 | </div> |
| 480 | <div class="trio"> |
| 481 | <div><h3>Read-only, always</h3><p>Bucksley reads balances and transactions. It can’t move money, pay bills or make transfers, and it never asks for your bank password.</p></div> |
| 482 | <div><h3>No Bucksley server</h3><p>Your data lives on your devices and in your own iCloud. There’s no account to make and nothing for us to store.</p></div> |
| 483 | <div><h3>Agents on your terms</h3><p>The MCP server runs on your Mac. Agents can only look until you allow changes, and keys are never handed to them. <a href="/privacy/#mcp">How agent access works</a></p></div> |
| 484 | </div> |
| 485 | </div> |
| 486 | </section> |
| 487 | ''' |
| 488 | if LIVE: |
| 489 | steps = "\n".join(f' <li><span><strong>{a}</strong> {b}</span></li>' for a, b in INSTALL_STEPS) |
| 490 | h += f''' |
| 491 | <section id="download" class="section band" aria-labelledby="download-title"> |
| 492 | <div class="shell split install"> |
| 493 | <div> |
| 494 | <span class="mark">download</span> |
| 495 | <h2 id="download-title">Bucksley for <em>Mac.</em></h2> |
| 496 | <p class="lead">Free for Macs running macOS 15 or later. Code signed, notarized by Apple, and kept up to date automatically. The iPhone and iPad app is in beta on TestFlight.</p> |
| 497 | <div class="actions"> |
| 498 | <a class="button mac-download" href="/download/">{APPLE} Download and install</a> |
| 499 | <a class="button secondary" href="/mcp/">{ICON_PLUG}MCP setup</a> |
| 500 | {TF_BUTTON} |
| 501 | </div> |
| 502 | <p class="fineprint">{TF_NOTE}</p> |
| 503 | </div> |
| 504 | <ol class="install-steps" aria-label="Getting started"> |
| 505 | {steps} |
| 506 | </ol> |
| 507 | </div> |
| 508 | </section> |
| 509 | ''' |
| 510 | else: |
| 511 | h += f''' |
| 512 | <section class="section closing" aria-labelledby="closing-title"> |
| 513 | <div class="shell"> |
| 514 | <span class="mark">coming soon</span> |
| 515 | <h2 id="closing-title">Free and <em>open source.</em></h2> |
| 516 | <p class="lead">Bucksley is in development for Mac and iPhone. Check back here for news.</p> |
| 517 | <div class="actions actions-left"> |
| 518 | <a class="button" href="{NEWSLETTER}" target="_blank" rel="noopener noreferrer">{ICON_BELL}Get launch news</a> |
| 519 | <a class="button secondary" href="/download/">What’s coming {ICON_ARROW}</a> |
| 520 | </div> |
| 521 | </div> |
| 522 | </section> |
| 523 | ''' |
| 524 | # Community and newsletter callouts, </main> and the block come from the template. |
| 525 | h += footer(family=True) |
| 526 | write("index.html", h) |
| 527 | |
| 528 | |
| 529 | INSTALL_STEPS = [("Open the disk image", "and drag Bucksley into Applications."), |
| 530 | ("Connect your accounts", "with SimpleFIN Bridge or your own Plaid keys, or import a CSV."), |
| 531 | ("Review and budget.", "Bucksley files your transactions; you set budgets and check the month at a glance.")] |
| 532 | |
| 533 | FIRST_RELEASE = [("Mac app", "Home, accounts, transactions, categories and rules, budgets, recurring and net worth", "now", "In development"), |
| 534 | ("iPhone app", "Review inbox, budgets and balances, synced through your private iCloud", "now", "In development"), |
| 535 | ("Connections", "SimpleFIN Bridge, your own Plaid keys, Apple Card, Cash and Savings (iPhone), CSV import", "now", "In development"), |
| 536 | ("Ask Bucksley", "Questions about your money, on Apple’s on-device model or your own Claude or OpenAI key", "now", "In development"), |
| 537 | ("Widgets and Shortcuts", "Home Screen widgets and App Intents for Shortcuts and Siri", "now", "In development"), |
| 538 | ("MCP server", "18 tools for Claude Code, Codex and Claude chat, view only until you allow changes", "now", "In development")] |
| 539 | |
| 540 | WHATS_NEW = [("Home", "Net worth stacked by cash, investments and crypto, every account’s balance and trend, and recent activity."), |
| 541 | ("Transactions", "Search, filter, rename, recategorize, split, notes, tags and mark reviewed."), |
| 542 | ("Categories and rules", "Groups of categories, and rules that file new transactions for you."), |
| 543 | ("Budgets", "Per category or group, with rollover, a pace marker and suggested amounts."), |
| 544 | ("Recurring", "Bills and subscriptions found automatically, with what’s due next."), |
| 545 | ("Connections", "SimpleFIN Bridge, your own Plaid keys and CSV import. Read-only; secrets kept in the Keychain."), |
| 546 | ("Ask Bucksley", "Plain-language questions, on Apple’s on-device model or your own Claude or OpenAI key."), |
| 547 | ("MCP server", "18 tools for Claude Code, Codex and Claude chat, view only until you allow changes, with a log of every agent change."), |
| 548 | ("Automatic updates", "Signed updates through Sparkle. Bucksley checks for new versions and installs them for you.")] |
| 549 | |
| 550 | |
| 551 | def download(): |
| 552 | if not LIVE: |
| 553 | d = "Bucksley for Mac and iPhone is in development. See what the first release includes and how to hear when it ships." |
| 554 | graph = [webpage("/download/", "Coming soon · Bucksley", d), crumbs("Coming soon", "/download/"), APP, ORG] |
| 555 | tr = "\n".join(f' <tr><td>{a}</td><td>{b}</td><td><span class="status {c}">{s}</span></td></tr>' for a, b, c, s in FIRST_RELEASE) |
| 556 | h = head("/download/", "Coming soon · Bucksley", d, graph) + header("/download/") + f''' <main id="main"> |
| 557 | <div class="shell page-head"> |
| 558 | <span class="mark">coming soon</span> |
| 559 | <h1>Bucksley is on its way.</h1> |
| 560 | <p class="lead">{d}</p> |
| 561 | <div class="actions actions-left"> |
| 562 | <a class="button" href="{NEWSLETTER}" target="_blank" rel="noopener noreferrer">{ICON_BELL}Get launch news</a> |
| 563 | </div> |
| 564 | </div> |
| 565 | <div class="shell doc single"> |
| 566 | <div class="prose"> |
| 567 | <section> |
| 568 | <h2>The first release</h2> |
| 569 | <div class="table-wrap"> |
| 570 | <table class="tide-table"> |
| 571 | <thead><tr><th>Part</th><th>What it does</th><th>Status</th></tr></thead> |
| 572 | <tbody> |
| 573 | {tr} |
| 574 | </tbody> |
| 575 | </table> |
| 576 | </div> |
| 577 | </section> |
| 578 | <section> |
| 579 | <h2>What you’ll need</h2> |
| 580 | <ul> |
| 581 | <li>A Mac running macOS 15 or later. The iPhone app needs iOS 18 or later and the same iCloud account.</li> |
| 582 | <li>A way in for your accounts: a SimpleFIN Bridge account, your own Plaid developer keys, Apple Wallet on iPhone, or a CSV export.</li> |
| 583 | <li>For Ask Bucksley on-device, a Mac or iPhone with Apple Intelligence. Otherwise, your own Claude or OpenAI key.</li> |
| 584 | </ul> |
| 585 | <p>Bucksley will be free, with no account and nothing to unlock. The source will be available on GitHub.</p> |
| 586 | </section> |
| 587 | </div> |
| 588 | </div> |
| 589 | </main> |
| 590 | ''' + footer() |
| 591 | write("download/index.html", h) |
| 592 | return |
| 593 | d = "Download Bucksley for Mac. Free, signed and notarized, with automatic updates. Install it, connect your accounts and see the whole picture." |
| 594 | graph = [webpage("/download/", "Download and install Bucksley for Mac", d), crumbs("Download", "/download/"), APP, ORG] |
| 595 | rows = "\n".join(f' <tr><td>{a}</td><td>{b}</td></tr>' for a, b in WHATS_NEW) |
| 596 | big_apple = APPLE.replace('width="16" height="16"', 'width="20" height="20"') |
| 597 | h = head("/download/", "Download and install Bucksley for Mac", d, graph) + header("/download/") + f''' <main id="main"> |
| 598 | <div class="hero download-intro shell"> |
| 599 | <div class="download-head"> |
| 600 | <h1>Download Bucksley <em>for Mac.</em></h1> |
| 601 | <p class="lead">Every account, one honest picture. Every feature is free.</p> |
| 602 | </div> |
| 603 | <div class="download-get"> |
| 604 | <a class="button download-button mac-download" href="{DMG}" download>{big_apple}<span>Download Bucksley {rel("version")}</span></a> |
| 605 | <p class="fineprint">macOS 15 or later · Version {rel("version")} (build {rel("build")}) · {rel("size")}</p> |
| 606 | <p class="fineprint">Code signed · Notarized by Apple · Signed automatic updates</p> |
| 607 | <div class="testflight-get"> |
| 608 | {TF_BUTTON} |
| 609 | <p class="fineprint">{TF_NOTE}</p> |
| 610 | </div> |
| 611 | </div> |
| 612 | </div> |
| 613 | <section class="shell download-guide" id="install" aria-labelledby="install-title"> |
| 614 | <h2 id="install-title">How to install Bucksley</h2> |
| 615 | <ol class="install-steps"> |
| 616 | <li><div><strong>Open the disk image.</strong><p>Open <code>Bucksley-{REL["version"]}.dmg</code> in Downloads. Drag Bucksley into Applications, then eject the disk image.</p></div></li> |
| 617 | <li><div><strong>Launch Bucksley from Applications.</strong><p>If macOS asks for confirmation, choose Open.</p></div></li> |
| 618 | <li><div><strong>Connect your accounts.</strong><p>Use your SimpleFIN Bridge setup token or your own Plaid keys, or import a CSV from another finance app. Connection secrets are saved in the Keychain.</p></div></li> |
| 619 | <li><div><strong>Review and budget.</strong><p>Bucksley files new transactions by category. Mark them reviewed, add rules and set budgets. Or connect an agent and let it help: see <a href="/mcp/">MCP setup</a>.</p></div></li> |
| 620 | </ol> |
| 621 | <figure class="native-demo-shot"> |
| 622 | <img src="/assets/screens/bucksley-mac-transactions.webp" width="1440" height="900" loading="lazy" decoding="async" alt="The Transactions screen in Bucksley for Mac, with its account sidebar and a list of categorized transactions."> |
| 623 | <figcaption>After setup, open Transactions to review your activity. The Mac app is shown here with demo bank data.</figcaption> |
| 624 | </figure> |
| 625 | <p><strong>Automatic updates.</strong> Bucksley checks for new versions and installs signed updates for you. You can also choose <strong>Check for Updates</strong> from the Bucksley menu.</p> |
| 626 | <details class="download-verification"> |
| 627 | <summary>Verify your download</summary> |
| 628 | <p>In Terminal, run <code>shasum -a 256 ~/Downloads/Bucksley-{REL["version"]}.dmg</code> and compare the result with this SHA-256 checksum.</p> |
| 629 | {rel("sha")} |
| 630 | </details> |
| 631 | </section> |
| 632 | <section class="shell download-guide" id="whats-new" aria-labelledby="whats-new-title"> |
| 633 | <h2 id="whats-new-title">What’s in Bucksley</h2> |
| 634 | <div class="table-wrap"> |
| 635 | <table class="tide-table"> |
| 636 | <thead><tr><th>Part</th><th>What it does</th></tr></thead> |
| 637 | <tbody> |
| 638 | {rows} |
| 639 | </tbody> |
| 640 | </table> |
| 641 | </div> |
| 642 | <p>The iPhone and iPad companion app, with the review inbox, Apple Wallet accounts and widgets, is in beta on <a href="{TESTFLIGHT}" target="_blank" rel="noopener noreferrer">TestFlight</a>. It pairs with the Mac app.</p> |
| 643 | </section> |
| 644 | </main> |
| 645 | ''' + footer() |
| 646 | write("download/index.html", h) |
| 647 | |
| 648 | |
| 649 | def mcp(): |
| 650 | d = "How Bucksley’s built-in MCP server lets Claude Code, Codex and Claude chat answer questions about your money, review transactions and write rules." |
| 651 | graph = [webpage("/mcp/", "MCP setup · Bucksley", d), crumbs("MCP setup", "/mcp/"), APP, ORG] |
| 652 | tools = "\n".join(f' <tr><td><code>{n}</code></td><td>{t}</td></tr>' for n, t in TOOLS) |
| 653 | intro = ("Bucksley’s MCP server runs on your Mac, on the same data as the app. Install Bucksley, add it to your agent, and ask." |
| 654 | if LIVE else "Bucksley’s MCP server runs on your Mac, on the same data as the app. Here’s how it will connect and what your agent can do. It works once the Mac app ships.") |
| 655 | h = head("/mcp/", "MCP setup · Bucksley", d, graph) + header("/mcp/") + f''' <main id="main"> |
| 656 | <div class="shell page-head"> |
| 657 | <span class="mark">mcp setup</span> |
| 658 | <h1>Connect an agent to Bucksley.</h1> |
| 659 | <p class="lead">{intro}</p> |
| 660 | </div> |
| 661 | <div class="shell doc"> |
| 662 | <nav class="toc" aria-label="On this page"> |
| 663 | <strong>On this page</strong> |
| 664 | <a href="#how">How it works</a> |
| 665 | <a href="#claude-code">Claude Code</a> |
| 666 | <a href="#codex">Codex</a> |
| 667 | <a href="#claude-chat">Claude chat</a> |
| 668 | <a href="#tools">Tools</a> |
| 669 | <a href="#try">Try it</a> |
| 670 | </nav> |
| 671 | <div class="prose"> |
| 672 | <section id="how"> |
| 673 | <h2>How it works</h2> |
| 674 | <p>The Bucksley app runs as an MCP server when your agent starts it with <code>--mcp</code>. It talks over standard input and output, on your Mac only, and works on the same local workspace the app shows. Changes appear in the app right away and are listed under <strong>Settings → Agents</strong>.</p> |
| 675 | <p class="note"><strong>You stay in control.</strong> Agents can only read until you turn on <strong>Let agents make changes</strong> in Settings → Agents, and every change they make is logged in the app. Bank secrets and AI keys stay in the Keychain and are never passed to an agent as tool arguments. Bucksley is read-only with your banks, so no tool can move money.</p> |
| 676 | </section> |
| 677 | <section id="claude-code"> |
| 678 | <h2>Claude Code</h2> |
| 679 | <p>Add Bucksley as a local server for your user or project:</p> |
| 680 | <p class="prompt">claude mcp add bucksley -- /Applications/Bucksley.app/Contents/MacOS/Bucksley --mcp</p> |
| 681 | </section> |
| 682 | <section id="codex"> |
| 683 | <h2>Codex</h2> |
| 684 | <p>Add this to <code>~/.codex/config.toml</code>:</p> |
| 685 | <p class="prompt">[mcp_servers.bucksley]<br>command = "/Applications/Bucksley.app/Contents/MacOS/Bucksley"<br>args = ["--mcp"]</p> |
| 686 | </section> |
| 687 | <section id="claude-chat"> |
| 688 | <h2>Claude chat</h2> |
| 689 | <p>In the Claude desktop app, open <strong>Settings → Developer → Edit Config</strong> and add a <code>bucksley</code> entry under <code>mcpServers</code> with the same command and the <code>--mcp</code> argument. Restart Claude.</p> |
| 690 | </section> |
| 691 | <section id="tools"> |
| 692 | <h2>Tools</h2> |
| 693 | <p>Ten tools read. Eight make changes, and stay off until you allow them.</p> |
| 694 | <div class="table-wrap"> |
| 695 | <table class="tide-table"> |
| 696 | <thead><tr><th>Tool</th><th>What it does</th></tr></thead> |
| 697 | <tbody> |
| 698 | {tools} |
| 699 | </tbody> |
| 700 | </table> |
| 701 | </div> |
| 702 | </section> |
| 703 | <section id="try"> |
| 704 | <h2>Try it</h2> |
| 705 | <p class="prompt">What did I spend on dining this month, and how does that compare with last month?</p> |
| 706 | <p class="prompt">Go through my review queue, fix any obvious categories and make rules for the merchants you fixed.</p> |
| 707 | <p class="prompt">Which subscriptions went up this year, and what do they cost me in total?</p> |
| 708 | </section> |
| 709 | </div> |
| 710 | </div> |
| 711 | </main> |
| 712 | ''' + footer() |
| 713 | write("mcp/index.html", h) |
| 714 | |
| 715 | |
| 716 | def faq(): |
| 717 | get = (("How do I get it?", "Download the signed and notarized disk image from bucksley.ai/download, open it and drag Bucksley into Applications. It needs macOS 15 or later.") |
| 718 | if LIVE else ("When can I get it?", "Bucksley is in development for Mac and iPhone. Check back here for news.")) |
| 719 | items = [("What is Bucksley?", "Bucksley is a free personal finance app for Mac and iPhone. It brings your bank accounts, cards and investments into one place to track spending, budgets, recurring bills and net worth. It is read-only and has no server: your data stays on your devices and in your own iCloud."), |
| 720 | get, |
| 721 | ("Is it free?", "Yes. Bucksley is free and open source, with no account, no trial and nothing to unlock."), |
| 722 | ("How does it connect to my bank?", "Through services you sign up for yourself: SimpleFIN Bridge, or Plaid with your own developer keys. On iPhone it can also read Apple Card, Apple Cash and Savings through Apple’s FinanceKit. You can also import a CSV export from another finance app."), |
| 723 | ("Can Bucksley move my money?", "No. Bucksley only reads balances and transactions. It cannot make payments or transfers, and it never asks for your bank password."), |
| 724 | ("Where is my data kept?", "On your devices, and in your own private iCloud database so your Mac and iPhone stay in sync. Bucksley has no server. Connection secrets and AI keys are kept in the Keychain."), |
| 725 | ("How does Ask Bucksley work?", "By default it uses Apple’s on-device model, so your question and your data stay on your device. If you add your own Claude or OpenAI key, questions you ask go to that provider."), |
| 726 | ("Which AI agents can work with Bucksley?", "Claude Code, Codex and Claude chat, through a local MCP server with 18 tools. Agents can only read until you turn on Let agents make changes, and every change is logged.")] |
| 727 | if LIVE: |
| 728 | items.insert(3, ("How does it update?", "Bucksley checks for new versions and installs signed updates automatically. You can also choose Check for Updates from the Bucksley menu.")) |
| 729 | items.insert(4, ("Is there an iPhone app?", f"Yes, in beta. Join the iPhone and iPad beta on TestFlight at {TESTFLIGHT}. It syncs with your Mac through your own private iCloud database.")) |
| 730 | return items |
| 731 | |
| 732 | |
| 733 | def help_page(): |
| 734 | d = ("Answers about Bucksley for Mac and iPhone: installing, updates, bank connections, privacy and agents, and how to reach us." if LIVE |
| 735 | else "Answers about Bucksley for Mac and iPhone: bank connections, privacy, Ask Bucksley and agents, and how to reach us.") |
| 736 | qs = faq() |
| 737 | fq = {"@type": "FAQPage", "@id": f"{SITE}/help/#faq", "url": f"{SITE}/help/", |
| 738 | "mainEntity": [{"@type": "Question", "name": q, "acceptedAnswer": {"@type": "Answer", "text": a}} for q, a in qs]} |
| 739 | graph = [webpage("/help/", "Help · Bucksley", d), fq, crumbs("Help", "/help/"), APP, ORG] |
| 740 | qa = "\n".join(f" <h3>{q}</h3>\n <p>{a}</p>" for q, a in qs) |
| 741 | h = head("/help/", "Help · Bucksley", d, graph) + header() + f''' <main id="main"> |
| 742 | <div class="shell page-head"> |
| 743 | <span class="mark">help</span> |
| 744 | <h1>Bucksley Help</h1> |
| 745 | <p class="lead">{d}</p> |
| 746 | </div> |
| 747 | <div class="shell doc"> |
| 748 | <nav class="toc" aria-label="On this page"> |
| 749 | <strong>On this page</strong> |
| 750 | <a href="#questions">Common questions</a> |
| 751 | <a href="#contact">Get in touch</a> |
| 752 | </nav> |
| 753 | <div class="prose"> |
| 754 | <section id="questions"> |
| 755 | <h2>Common questions</h2> |
| 756 | {qa} |
| 757 | </section> |
| 758 | </div> |
| 759 | </div> |
| 760 | </main> |
| 761 | ''' + footer() |
| 762 | write("help/index.html", h) |
| 763 | |
| 764 | |
| 765 | def privacy(): |
| 766 | d = "How Bucksley, its bank connections, Ask Bucksley, agent connections and this website handle information." |
| 767 | graph = [webpage("/privacy/", "Privacy · Bucksley", d), crumbs("Privacy", "/privacy/"), ORG] |
| 768 | updates = ("\n <p>To check for updates, the Mac app downloads a small feed from bucksley.ai. The request carries the app and macOS version, as any web request does, and none of your financial data.</p>" if LIVE else "") |
| 769 | h = head("/privacy/", "Privacy · Bucksley", d, graph) + header() + f''' <main id="main"> |
| 770 | <div class="shell page-head"> |
| 771 | <span class="mark">privacy</span> |
| 772 | <h1>Privacy</h1> |
| 773 | <p class="lead">Your financial data stays on your devices and in your own iCloud. We never see it. Updated November 27, 2026.</p> |
| 774 | </div> |
| 775 | <div class="shell doc single"> |
| 776 | <div class="prose"> |
| 777 | <section> |
| 778 | <h2>The app</h2> |
| 779 | <p>Bucksley stores your workspace (accounts, balances, transactions, categories, rules, budgets, notes and tags) on your device. It has no account, and it sends none of your financial data to us.</p> |
| 780 | <p>Bucksley is read-only. It reads balances and transactions and cannot make payments, transfers or any other change at your bank.</p>{updates} |
| 781 | </section> |
| 782 | <section id="connections"> |
| 783 | <h2>Bank connections</h2> |
| 784 | <p>Bucksley connects to financial institutions only through services you set up yourself. With SimpleFIN Bridge or Plaid, your device fetches balances and transactions directly from that service under your own account and keys; their privacy terms apply to what they hold. Bucksley never sees your bank password. On iPhone, Apple Card, Apple Cash and Savings are read through Apple’s FinanceKit only with your permission. CSV files you import are read on your device.</p> |
| 785 | <p>For Coinbase, you can paste your own API key, or sign in with Coinbase. Sign-in passes through connect.bucksley.ai, a small relay that adds our app secret to the sign-in request and passes it on to Coinbase. It stores nothing. Your Coinbase sign-in is kept in your Mac’s Keychain, and balances are read straight from Coinbase.</p> |
| 786 | <p>Connection secrets (such as a SimpleFIN access URL, Plaid access token or Coinbase sign-in) and your Plaid keys are kept in the Keychain, never in the synced workspace.</p> |
| 787 | </section> |
| 788 | <section> |
| 789 | <h2>iCloud sync</h2> |
| 790 | <p>To keep your Mac and iPhone in step, Bucksley syncs your workspace through your own private iCloud database. Only you can read it. Apple’s iCloud terms apply. Keychain items sync only if you use iCloud Keychain.</p> |
| 791 | </section> |
| 792 | <section id="ask"> |
| 793 | <h2>Ask Bucksley</h2> |
| 794 | <p>By default, Ask Bucksley uses Apple’s on-device model, so your questions and the data used to answer them stay on your device. If you add your own Claude or OpenAI key, your question and the relevant transactions are sent to that provider to answer it, under your account and their privacy terms. Your key is kept in the Keychain.</p> |
| 795 | </section> |
| 796 | <section id="mcp"> |
| 797 | <h2>Local agent connections</h2> |
| 798 | <p>The MCP server runs on your Mac when an agent starts it, and works on the same local workspace. Agents can only read until you turn on Let agents make changes, and every change an agent makes is logged in Settings → Agents. Keys are never passed to agents.</p> |
| 799 | <p>Your chosen agent may send information it retrieves to its AI provider. Review that provider’s privacy terms before connecting.</p> |
| 800 | </section> |
| 801 | <section> |
| 802 | <h2 id="hosting">Where we host</h2> |
| 803 | <p>This site runs on <a href="https://www.cloudflare.com/">Cloudflare</a>. Cloudflare serves every page and manages our traffic, so it handles standard request details such as your IP address and browser to deliver the site and protect it from abuse. Our images and downloads are stored in Cloudflare R2. Cloudflare handles that data under its <a href="https://www.cloudflare.com/privacypolicy/">privacy policy</a>.</p> |
| 804 | <p>We’re not a Cloudflare sponsor. We chose them because we think they’re the best value and the best service, and we’ll keep using them for as long as that stays true.</p> |
| 805 | </section> |
| 806 | <section id="contact"> |
| 807 | <h2>Questions and changes</h2> |
| 808 | <p>We don’t sell your information, and we don’t use it for advertising. To ask what we hold, or to have it corrected or deleted, email <a href="mailto:hello@bucksley.ai">hello@bucksley.ai</a>. We answer within 30 days.</p> |
| 809 | <p>If this page changes, the date at the top changes with it.</p> |
| 810 | </section> |
| 811 | </div> |
| 812 | </div> |
| 813 | </main> |
| 814 | ''' + footer() |
| 815 | write("privacy/index.html", h) |
| 816 | |
| 817 | |
| 818 | def app_notices(): |
| 819 | t = "App notices · Bucksley" |
| 820 | d = "Bucksley software license, connected services, and financial information notices." |
| 821 | graph = [webpage("/app-notices/", t, d), crumbs("App notices", "/app-notices/"), ORG] |
| 822 | h = head("/app-notices/", t, d, graph) + header() + ''' <main id="main"> |
| 823 | <div class="shell page-head"> |
| 824 | <span class="mark">notices</span> |
| 825 | <h1>App notices</h1> |
| 826 | <p class="lead">Licensing, connected services, and financial information. Updated November 27, 2026.</p> |
| 827 | </div> |
| 828 | <div class="shell doc single"> |
| 829 | <div class="prose"> |
| 830 | <section> |
| 831 | <h2>Using Bucksley</h2> |
| 832 | <p>Bucksley is a free app for Mac and iPhone. There is no account to make, nothing to buy and no ads. We share it as a signed download for Mac and through Apple’s TestFlight, and Apple’s own terms apply to anything you get through Apple.</p> |
| 833 | </section> |
| 834 | <section id="license"> |
| 835 | <h2>Public domain</h2> |
| 836 | <p>Bucksley’s code is free and open source, released into the public domain under the <a href="https://unlicense.org/">Unlicense</a>. Anyone may copy, change, share or sell it, for any purpose, without asking. We claim no copyright in it. Parts made by others, such as open source libraries, keep their own licenses.</p> |
| 837 | </section> |
| 838 | <section> |
| 839 | <h2>Your work is yours</h2> |
| 840 | <p>Your accounts, budgets, notes and everything else in your workspace belong to you. We don’t claim any rights in them, and using Bucksley doesn’t give us any.</p> |
| 841 | </section> |
| 842 | <section> |
| 843 | <h2>Use it kindly</h2> |
| 844 | <p>Please don’t use Bucksley to break the law, to harm, harass or deceive anyone, to send spam, or to get around the security of Bucksley or any other service.</p> |
| 845 | </section> |
| 846 | <section> |
| 847 | <h2>Services you connect</h2> |
| 848 | <p>Some features work with services you choose, such as iCloud, SimpleFIN Bridge, Plaid, Coinbase, Claude, OpenAI or an AI agent on your Mac. Each of them has its own terms and privacy policy, and they apply when you use them through Bucksley.</p> |
| 849 | </section> |
| 850 | <section> |
| 851 | <h2>No warranty</h2> |
| 852 | <p>We build Bucksley with care, but it comes as is, with no warranty of any kind. We can’t promise it will always work, be available, or be free of mistakes. Bucksley is not financial, tax or investment advice, and the numbers it shows can be late or wrong, so check anything important with your bank. To the fullest extent the law allows, we aren’t liable for any loss or damage that comes from using it, including lost data, so keep backups of anything that matters to you. Nothing here takes away rights the law gives you that can’t be waived.</p> |
| 853 | </section> |
| 854 | <section> |
| 855 | <h2>Changes and contact</h2> |
| 856 | <p>If these notices change, the date at the top changes with them. For privacy questions, email <a href="mailto:hello@bucksley.ai">hello@bucksley.ai</a>. Our <a href="/privacy/">privacy page</a> explains how Bucksley handles information.</p> |
| 857 | </section> |
| 858 | </div> |
| 859 | </div> |
| 860 | </main> |
| 861 | ''' + footer() |
| 862 | write("app-notices/index.html", h) |
| 863 | |
| 864 | |
| 865 | def notfound(): |
| 866 | h = head("/404", "Page not found · Bucksley", "", None, noindex=True) + header(body_class="missing-page") + f''' <main id="main" class="hero missing-hero shell"> |
| 867 | <img src="/assets/icon.png?v={V}" width="66" height="66" alt=""> |
| 868 | <h1>Page <em>not found.</em></h1> |
| 869 | <p class="lead">The page may have moved. You can still get back to Bucksley or find help.</p> |
| 870 | <div class="actions"> |
| 871 | <a class="button" href="/">{ICON_HOME}Back to Home</a> |
| 872 | <a class="button secondary" href="/help/">{ICON_HELP}Get Help</a> |
| 873 | </div> |
| 874 | </main> |
| 875 | ''' + footer() |
| 876 | write("404.html", h) |
| 877 | |
| 878 | |
| 879 | def llms(): |
| 880 | if LIVE: |
| 881 | platform = f"- Platform: Mac, macOS 15 or later. The iPhone and iPad companion app (iOS 18 or later) is in beta on TestFlight ({TESTFLIGHT}) and pairs with the Mac app. It is not on the App Store." |
| 882 | install = (f"- Install: a signed and notarized disk image from {SITE}/download/ with signed automatic updates (Sparkle).\n" |
| 883 | f"- Download: {SITE}{DMG}\n" |
| 884 | f"- Current release: Bucksley {REL['version']} (build {REL['build']}), {REL['size']}. SHA-256: {REL['sha']}") |
| 885 | status = "Bucksley for Mac is available. The iPhone and iPad companion app is in beta on TestFlight." |
| 886 | else: |
| 887 | platform = "- Platform: Mac (macOS 15 or later) and iPhone (iOS 18 or later). Both are in development and not available yet." |
| 888 | install = "- Status: coming soon. There is no download yet and it is not on the App Store." |
| 889 | status = "Bucksley is in development and coming soon for Mac and iPhone." |
| 890 | text = f"""# Bucksley |
| 891 | |
| 892 | > Bucksley is a free, local-first personal finance app for Mac and iPhone. It brings bank accounts, cards and investments into one place to track spending, budgets, recurring bills and net worth. It is read-only and never moves money. Data stays on the user's devices and in their own private iCloud; there is no Bucksley server and no account. A built-in MCP server lets AI agents such as Claude Code, Codex and Claude chat work with it. {status} |
| 893 | |
| 894 | Bucksley's website is {SITE}. Other products with similar names are not related to it. |
| 895 | |
| 896 | Key facts: |
| 897 | |
| 898 | - License: free and open source (public domain). |
| 899 | {platform} |
| 900 | {install} |
| 901 | - Connections: SimpleFIN Bridge (the user's own account), Plaid with the user's own developer keys, Apple Card, Apple Cash and Savings through Apple FinanceKit on iPhone, and CSV import from other finance apps. All read-only. |
| 902 | - Features: net worth stacked by what it is made of, accounts, transactions (search, filter, rename, recategorize, split, notes, tags, mark reviewed), categories and groups with rules, budgets with rollover, pace and suggested amounts, recurring bills and subscriptions, Ask Bucksley, an iPhone review inbox that syncs back to the Mac, widgets and App Intents. |
| 903 | - Ask Bucksley: Apple's on-device model by default; optionally the user's own Claude or OpenAI key. |
| 904 | - Privacy: the workspace is stored on the user's devices and synced through their private iCloud database. Connection secrets and AI keys are kept in the Keychain, never on a server and never in agent tool arguments. |
| 905 | - Agents: the Mac app runs as a local MCP server with `Bucksley --mcp` (18 tools: 10 read, 8 that make changes). Agents can only read until the user turns on Let agents make changes; every agent change is logged in Settings → Agents. |
| 906 | |
| 907 | ## Pages |
| 908 | |
| 909 | - [Bucksley]({SITE}/): what it does, the working preview, connections, the iPhone app, agents and privacy |
| 910 | - [{"Download and install" if LIVE else "Coming soon"}]({SITE}/download/): {"the Mac installer, install steps and the SHA-256 checksum" if LIVE else "what the first release includes and what you will need"} |
| 911 | - [MCP setup]({SITE}/mcp/): connecting Claude Code, Codex and Claude chat, and the tool list |
| 912 | - [Help]({SITE}/help/): common questions |
| 913 | - [Privacy]({SITE}/privacy/): how the app, bank connections, Ask Bucksley, agent connections and the website handle information |
| 914 | |
| 915 | ## Common questions |
| 916 | |
| 917 | - What is Bucksley? A free, read-only personal finance app for Mac and iPhone with no Bucksley server. |
| 918 | - Is Bucksley free? Yes. It is free and open source, with no account, no trial and nothing to unlock. |
| 919 | - Can it move money? No. It only reads balances and transactions. |
| 920 | - How does it connect to banks? SimpleFIN Bridge or the user's own Plaid keys, Apple FinanceKit on iPhone, or CSV import. |
| 921 | - Which agents work with Bucksley? Claude Code, Codex and Claude chat, through its local MCP server. |
| 922 | """ |
| 923 | write("llms.txt", text) |
| 924 | |
| 925 | |
| 926 | index(); download(); mcp(); help_page(); privacy(); app_notices(); notfound(); llms() |
| 927 | print("ok", REL or "coming soon") |