[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108770":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":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":34,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":16,"starSnapshotCount":16,"syncStatus":38,"lastSyncTime":39,"discoverSource":40},108770,"geeknative","GeekyAnts\u002Fgeeknative","GeekyAnts","One prompt, three native apps: your coding agent builds SwiftUI, Jetpack Compose and TanStack Start apps from one spec.","https:\u002F\u002Fgeekyants.github.io\u002Fgeeknative\u002F",null,"TypeScript",70,5,55,4,0,15,43.83,"Apache License 2.0",false,"main",true,[24,25,26,27,28,29,30,31,32,33],"agents-md","ai-agents","claude-code","cli","codegen","design-tokens","jetpack-compose","native-apps","swiftui","tanstack-start","2026-11-23 10:25:45","2026-11-13 10:44:33","\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgeekyants.github.io\u002Fgeeknative\u002F\">\n    \u003Cpicture>\n      \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\".github\u002Fassets\u002Flogo-dark.png\">\n      \u003Cimg src=\".github\u002Fassets\u002Flogo-light.png\" alt=\"geeknative\" width=\"420\">\n    \u003C\u002Fpicture>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">One prompt. Three native apps.\u003C\u002Fh1>\n\n[![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fgeeknative?color=CA0515)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fgeeknative)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache%202.0-0B0B0B)](LICENSE)\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\".github\u002Fassets\u002Fshowcase.png\" alt=\"The geeknative starter app on iOS (SwiftUI), the web (TanStack Start) and Android (Jetpack Compose)\" width=\"900\">\n\u003C\u002Fp>\n\ngeeknative is a project template and CLI that lets a coding agent build the same app natively for iOS (SwiftUI), Android (Kotlin + Jetpack Compose) and the web (React + TanStack Start), from one spec, with no cross-platform runtime.\n\nYou talk to your agent normally (\"add a notes list\", \"make it feel warmer\", \"the app crashes when...\"). The project's AGENTS.md teaches any agent to work out what kind of request it is, update the shared spec and contracts first, build the change in all three apps, and verify it.\n\n```sh\nnpm create geeknative@latest my-app -- --name \"My App\" --id com.acme.myapp\ncd my-app\nmake doctor    # checks Xcode, the Android SDK, Java and Node; FIX=1 installs what's missing\nmake check     # builds and tests all three apps\n```\n\nThen open the folder in Claude Code, Codex, Cursor, Gemini CLI or any agent that reads AGENTS.md, and describe your app.\n\n**Documentation:** [geekyants.github.io\u002Fgeeknative](https:\u002F\u002Fgeekyants.github.io\u002Fgeeknative\u002F)\n\n## How it works\n\nThe apps share no code. They stay consistent through three layers:\n\n1. **One source of truth, read by agents.** PRODUCT.md (what and for whom), DESIGN.md (look and feel, and what adapts per platform), and spec\u002Ffeatures\u002F*.md (behavior, with numbered acceptance criteria).\n2. **Contracts compiled into every app.** contracts\u002F holds the app identity, design tokens, copy and icon mappings. `make gen` turns them into Swift, Kotlin, Android resources, TypeScript and Tailwind theme code, so names, colors and strings can't drift.\n3. **The same architecture, with the same names.** A feature `notes` is `NotesScreen`, `NotesViewModel` and `NotesRepository` on every platform, built with each platform's own idioms.\n\nOn top of that, AGENTS.md gives the agent:\n\n- **Triage.** Every request is classified (product, feature, design, copy, bug, platform-specific, engineering, question) and routed to the right source of truth and playbook.\n- **One loop.** Update the source of truth, regenerate, implement on each platform (in parallel where the agent supports sub-agents), verify with `make check`, record status, report.\n- **Parity tracking.** Tests carry acceptance criteria IDs. `make parity` shows which criteria each platform covers.\n\n### Stack\n\n| | iOS | Android | Web |\n|---|---|---|---|\n| UI | SwiftUI | Jetpack Compose, Material 3 | React 19, Tailwind CSS v4 |\n| State | `@Observable` view models | ViewModel + StateFlow | TanStack Query + view model hooks |\n| Navigation | NavigationStack | Navigation 3 | TanStack Router (TanStack Start) |\n| Dependencies | `AppContainer` | `AppContainer` | `AppContainer` in router context |\n| Tests | Swift Testing | JUnit + coroutines-test | Vitest |\n| Minimum | iOS 17 | Android 7.0 (API 24) | Safari 16.4, Chrome 111, Firefox 128 |\n\nEach minimum is the lowest version the architecture allows: Observation on iOS, Navigation 3 on Android, Tailwind v4 on web.\n\nThere's no backend: features use repository interfaces with local implementations, so a backend can be added later without touching screens.\n\n### Agents\n\n- **Any agent:** AGENTS.md at the root and in each app is the canonical instruction set.\n- **Claude Code:** reads AGENTS.md through one-line CLAUDE.md imports, and gets `ios-engineer`, `android-engineer` and `web-engineer` subagents for parallel work, a hook that regenerates code when contracts change, and a stop hook that flags changes made to some apps but not others.\n- **Gemini CLI:** .gemini\u002Fsettings.json points it at AGENTS.md.\n\n## File ownership and upgrades\n\nEvery file in a generated project has one owner:\n\n| Owner | Files | On upgrade |\n|---|---|---|\n| Framework | .geeknative\u002F (playbooks, templates, hooks, framework.mk), the `geeknative:begin\u002Fend` blocks in AGENTS.md and CLAUDE.md files, .claude\u002Fagents\u002F | Replaced |\n| Project | Everything else: docs, spec, contracts, app code, your sections of AGENTS.md | Never touched |\n| Generated | `Generated\u002F`, `generated\u002F`, `generated_*.xml`, identity files | Rebuilt by `make gen` |\n\n`create` writes .geeknative\u002Flock.json with the framework version and a hash of each framework-owned file, so a future `geeknative upgrade` can replace untouched files and merge edited ones.\n\n## This repo\n\n| Path | Contents |\n|---|---|\n| template\u002F | The project that `create` copies. It's a working project: run `make check` inside it. |\n| packages\u002Fgeeknative\u002F | The CLI and codegen (dependency-free Node), with its tests in test\u002F. |\n| packages\u002Fcreate-geeknative\u002F | `npm create geeknative` |\n| website\u002F | The landing page and docs (Next.js, static export), deployed to GitHub Pages. |\n| scripts\u002Fsmoke.js | Creates a fresh project in a temp folder and runs its checks. |\n\n### Tests\n\n| Command | What it runs |\n|---|---|\n| `npm test` | The CLI test suite (`node --test`): codegen for every platform, contract validation, `gen`, `create`, `parity`, file ownership, the Claude Code hooks and template consistency |\n| `npm run smoke` | Creates a fresh project and runs `make check` in it (add `-- web` to limit platforms) |\n| `cd template && make check` | Builds and tests the template's iOS, Android and web apps |\n\nThe CI workflow (`.github\u002Fworkflows\u002Fci.yml`) runs all of these: the CLI tests, a smoke test, and the template's web (Ubuntu), Android (Ubuntu) and iOS (macOS) builds and tests.\n\n## Roadmap\n\n1. **Foundation** (this release): three apps building from the CLI, contracts and codegen, the agent instructions, Claude Code integration, `create`, `doctor`, `check`, `parity`, `run`.\n2. **Upgrades and evals:** `geeknative upgrade` with three-way merges and migrations (scripted and agent-applied); a set of real prompts run through several agents to tune AGENTS.md.\n3. **Visual and end-to-end parity:** per-screen screenshots from all three apps, shared Maestro flows for iOS and Android, Playwright for web, and a CI workflow for generated projects.\n4. **Backends:** an API contract in contracts\u002F, generated clients, remote repositories.\n\n## License\n\n[Apache 2.0](LICENSE). Built by [GeekyAnts](https:\u002F\u002Fgeekyants.com).\n","geeknative 是一个支持 AI 编程代理的跨平台原生应用生成框架，通过单一自然语言需求描述（如 '添加笔记列表'），同步生成 SwiftUI（iOS）、Jetpack Compose（Android）和 TanStack Start（Web）三个平台的原生应用。其核心采用‘一份规范、三套实现’架构：共享 PRODUCT.md\u002FDESIGN.md\u002Ffeature 规格文档作为唯一事实源，自动生成各平台的设计令牌、接口契约与标准化组件命名；AGENTS.md 提供代理可执行的请求分类、工作流与一致性验证机制。适用于需快速验证产品概念、保持多端 UI\u002FUX\u002F功能高度一致、且拒绝跨平台运行时（如 React Native 或 Flutter）的技术团队或 AI 编程工作流。",2,"2026-11-24 04:35:11","CREATED_QUERY"]