Busabase
Busabase is an open-source (MIT) database and workspace for AI agents — data, docs, skills, and apps in one place. Run it locally, self-host it inside your network, or use Busabase Cloud, and turn age
Find out why your shop's numbers changed and how much each cause contributed.
DataTypeScript · CSSGitHub @user-s0maOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Ask why your shop's numbers changed. Muse Spark reads the question, a Lasso regression finds the causes.
Loading the full README.
Read the full README ↗Ask why your shop's numbers changed. "Why did orders drop last week?" gets a breakdown of the causes and how much each one contributed, with a range for each.
Live: https://anomer.magnificentrue.workers.dev — press Try the demo to use a shared demo shop with no sign-up.
Built for the Meta Global AI Developer Hackathon (Oct 27 – Nov 4, 2026), Build for Your World.
A small shop has its numbers spread across places: orders at the checkout, Meta ads, Instagram, the weather outside. When a number moves, the owner wants to know why, and how much each thing mattered.
Anomer answers two kinds of questions:
In both cases the numbers come from code. Muse Spark reads the question and explains the results; it never produces a figure itself.
src/lib/ai/question.ts). It picks the number, the period that changed and the period to compare with, and sets aside numbers that cannot be causes because they are tied to the target by arithmetic (for revenue: orders and average order value). For other questions it chooses up to four analyses. Its answer is checked in code and sent back once with the problems if it does not pass.src/lib/analysis/).
src/lib/ai/explain.ts). It gets only the computed breakdown and writes a short answer for the shop owner. Ranges that cross zero are described as possible noise.The model is muse-spark-1.3 through the Meta Model API, with structured output (a JSON schema, checked again with zod).
Each source is a plugin (src/lib/sources/) that describes its numbers (meaning, unit, how to sum a day, reporting delay) and returns daily values. The core knows nothing about any source.
| Source | Read through | Numbers |
|---|---|---|
| Orders | CSV upload (order_id, created_at, customer_id, total) | orders, revenue, average order value, new and returning customers |
| Meta ads | Marketing API Insights (Graph API v26.0) | spend, impressions, reach, clicks, CTR, CPC, CPM, purchases |
| Instagram Graph API v26.0 | reach, views, likes, comments, saves, shares, profile link taps, feed posts, reels | |
| Weather | NOAA GHCN-Daily (real data, 25 US cities) | high and low temperature, precipitation |
The demo shop uses real Portland weather and 400 days of history. Its ads, Instagram and orders are simulated with causes planted in them, so the answers can be checked: the ads are paused for a week, a reel goes viral, orders rise on paydays and fall on rainy days. The simulator answers in the same shape as the Graph API, and its orders go through the same CSV import, so the demo runs the same code a real shop would. Entering access tokens for real Meta accounts is not built yet.
src/lib/analysis/)src/lib/ai/)src/lib/sources/)Requires Node.js 22 and a Meta Model API key.
npm install
cp .dev.vars.example .dev.vars # set BETTER_AUTH_SECRET and META_MODEL_API_KEY
npm run db:migrate:local
npm run dev # http://localhost:5190
Turnstile is skipped on http://localhost. npm test runs the analysis tests. npx tsx scripts/try-demo.ts computes the demo shop's breakdown from the command line and prints the planted ad effect next to it.
To deploy to Cloudflare Workers: create the D1 database named in wrangler.jsonc, run npm run db:migrate, set BETTER_AUTH_SECRET, META_MODEL_API_KEY and TURNSTILE_SECRET_KEY with wrangler secret put, put your URL and Turnstile site key in .env.production, and run npm run deploy.