[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-78485":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":15,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":16,"rankGlobal":10,"rankLanguage":10,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},78485,"myapi","myapihq\u002Fmyapi","myapihq","The unified API for autonomous companies. Ship a real business — website, backend, payments — from one terminal.","https:\u002F\u002Fmyapihq.com\u002F",null,"TypeScript",106,1,117,0,0.9,"Apache License 2.0",false,"main",true,[22,23,24,25,26],"ai","ai-agents","autonomous","company","saas","2026-06-12 02:03:47","# MyAPI\n\n**The unified API for autonomous companies.** Ship a real business — website, backend, payments — from one terminal.\n\n[![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@myapihq\u002Fcli?label=%40myapihq%2Fcli)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@myapihq\u002Fcli)\n[![license](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache--2.0-blue)](.\u002FLICENSE)\n\nMost platforms give you one piece — a host, a payment processor, a database. MyAPI gives you the whole company behind a single key: register a domain, publish a site, run backend functions, take payments, send email, store data. One CLI, one SDK, one auth model — built so a person *or an AI agent* can operate the entire thing end to end.\n\nThis repo is the client half of the platform: the CLI, the TypeScript SDK, and the agent skills. It all runs on your machine.\n\n---\n\n## See it\n\nThis runs right now — copy, paste, done:\n\n```bash\nnpm i -g @myapihq\u002Fcli\nmyapi auth setup\necho '\u003Ch1>We are live\u003C\u002Fh1>' | myapi funnel push \u002F\n```\n\n```\n✓ Pushed page to \u002F\nPreview: https:\u002F\u002Fswift-fox-42.makeautonomous.com\n```\n\nA real, public website in 30 seconds. No config, no deploy step, no account form — `auth setup` creates an anonymous account, an org, and a site for you.\n\nThen give it a backend and a checkout:\n\n```bash\nmyapi fn deploy \u003Cid> .\u002Fapi.js        # edge function\nmyapi payments charge --amount 19    # Stripe checkout link\n```\n\nRun `myapi --help` for the full command surface.\n\n---\n\n## What you can build\n\n### → You're an indie hacker\n\nGo from idea to a paid product without standing up infrastructure:\n\n```bash\nmyapi funnel publish .\u002Fsite                    # your landing page, live\nmyapi fn create --name api                     # an edge function\nmyapi fn deploy \u003Cid> .\u002Fapi.js                  # ship its code\nmyapi payments connect --stripe-key sk_live_…  # link your Stripe\nmyapi payments charge --amount 29 --every month --description \"Pro plan\"\n```\n\nThe funnel is your site, the function is your backend, `payments` hands you a hosted Stripe Checkout URL. No servers to manage.\n\nFunctions are plain JavaScript that run on the edge, with the MyAPI SDK built in.\n\n### → You're building an AI agent\n\nEvery capability is in the SDK, typed, behind one key — so an agent can take real-world actions without juggling five vendor APIs:\n\n```ts\nimport { funnel, payments } from '@myapihq\u002Fsdk';\n\nawait funnel.publishFiles(key, orgId, funnelId, files);\nconst charge = await payments.createCharge(key, orgId, {\n  amount_cents: 1900,\n  description: 'Pro plan',\n});\nconsole.log(charge.checkout_url);\n```\n\nAnd `skills\u002F` holds drop-in skill definitions that teach an AI coding agent (Claude, Gemini, Cursor) to drive MyAPI directly:\n\n```bash\nmyapi install-skills\n```\n\n---\n\n## The platform\n\nOne key, one CLI, one SDK — across every capability a company needs:\n\n- **Web** — `funnel` (sites & landing pages), `domain` (registration + DNS), `url` (short links)\n- **Backend** — `fn` (edge functions), `workflow` (event automations), `database` (KV store), `storage` (assets)\n- **Payments** — `payments` (Stripe Checkout: one-off & recurring)\n- **Comms** — `email` (send + verify), `webhook` (inbound events)\n- **Data & AI** — `llm`, `image`, `crm`, `people`, `company`, `audience`, `pixel`\n\n> **Coming soon — payments with no Stripe account of your own.** Today `payments` connects *your* Stripe account. Managed payments — take real money without your own Stripe account or a registered company — is on the way. The goal: anyone, or any agent, can run a business end to end.\n\nMaturity varies by service — `myapi status` shows the live picture. Today, roughly:\n\n| Status | Services |\n|---|---|\n| ✅ Stable | hq · domain · funnel · email-verify · image · webhook · crm · storage · database · workflow · llm |\n| 🧪 Preview | email · url · functions · payments · people · company · audience |\n| 🔜 Planned | pixel |\n\n---\n\n## What's in this repo\n\n```\npackages\u002Fcli      @myapihq\u002Fcli  — the myapi command-line tool\npackages\u002Fsdk      @myapihq\u002Fsdk  — the TypeScript SDK\nskills\u002F           agent skill definitions (Claude, Gemini, Cursor)\npackages\u002Fn8n      n8n community node          (experimental)\npackages\u002Fmake     Make (Integromat) modules   (experimental)\n```\n\nThe experimental packages work but aren't published to their marketplaces yet — PRs welcome.\n\n## SDK\n\n```bash\nnpm install @myapihq\u002Fsdk\n```\n\n```ts\nimport { hq, funnel } from '@myapihq\u002Fsdk';\n\nconst orgs = await hq.listOrgs('hq_live_…');\nconst funnels = await funnel.listFunnels('hq_live_…', orgs[0].id);\n```\n\n## Development\n\n```bash\n# Build (SDK first — the CLI depends on it)\ncd packages\u002Fsdk && npm install && npm run build\ncd ..\u002Fcli && npm install && npm run build\nnode dist\u002Findex.js --help\n```\n\nThe CLI test suite runs in tiers:\n\n```bash\ncd packages\u002Fcli\nnpm test            # fast unit tests — no build, no network\nnpm run test:smoke  # builds, then exercises every --help \u002F error path — the push gate\nnpm run test:online # mutating tests against a real test account (skipped if unconfigured)\n```\n\nTier 1 runs against an isolated `HOME`, so it never touches your real `~\u002F.myapi\u002Fconfig.json`. Service base URLs can be pointed at a local backend via `MYAPI_*_URL` env vars — see `packages\u002Fsdk\u002Fsrc\u002Fconfig.ts`.\n\nCutting a release? See [RELEASING.md](.\u002FRELEASING.md).\n\n## Engineering principles\n\n**Zero third-party dependencies.** The CLI and SDK pull in no third-party runtime code — the CLI's only dependency is the MyAPI SDK, which is ours. JavaScript's package ecosystem gets compromised regularly, and a globally-installed CLI that holds your API key must not inherit that risk. Zero dependencies means you can audit the whole client yourself. The same standard applies to the infrastructure behind the API.\n\n**Built for agents.** Two numbers decide how good an agent tool is: tokens spent reading its output, and latency per call. We optimize both. A lean CLI beats MCP on each — MCP adds schema and per-call overhead the agent pays every time. We may ship an MCP server if there's demand; the CLI stays the primary surface.\n\n**No lock-in.** Every MyAPI service is optional. Use one, use all of them, or use none and bring your own. Where we can, we give you a second option — you are never trapped in our ecosystem.\n\n## Contributing\n\nIssues and PRs welcome. For significant changes, open an issue first to discuss the approach.\n\n## License\n\nApache-2.0 — see [LICENSE](.\u002FLICENSE).\n","MyAPI 是一个面向自主公司的统一API平台，允许用户通过单一终端完成网站搭建、后端服务和支付处理等业务需求。其核心功能包括域名注册、网站发布、后端函数运行、支付处理及数据存储等功能，并且提供了一套统一的命令行工具（CLI）与TypeScript SDK，支持人类或AI代理从头到尾操作整个流程。特别适合独立开发者快速将想法转化为可盈利的产品，或是为构建能够执行实际任务的AI代理提供简化接口，减少多供应商API集成的复杂性。",2,"2026-06-11 03:56:53","CREATED_QUERY"]