{"id":19413006,"url":"https://github.com/buildless/sample-turbo-reactnative","last_synced_at":"2025-08-05T18:28:01.272Z","repository":{"id":195102498,"uuid":"692239683","full_name":"buildless/sample-turbo-reactnative","owner":"buildless","description":"Sample codebase using Turbo, React Native, and Buildless","archived":false,"fork":false,"pushed_at":"2024-05-07T17:01:35.000Z","size":4202,"stargazers_count":5,"open_issues_count":21,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-07T18:22:26.421Z","etag":null,"topics":["android","build-cache","buildcache","buildless","ios","react-native","remote-build-cache","sccache","turbo","turborepo","typescript"],"latest_commit_sha":null,"homepage":"https://less.build","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buildless.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-15T22:21:04.000Z","updated_at":"2024-05-07T18:22:26.422Z","dependencies_parsed_at":"2023-09-16T15:02:37.520Z","dependency_job_id":"b27347a9-1c7b-499f-9c03-0a9f2093bbce","html_url":"https://github.com/buildless/sample-turbo-reactnative","commit_stats":null,"previous_names":["buildless/sample-turbo-reactnative"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-turbo-reactnative","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-turbo-reactnative/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-turbo-reactnative/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-turbo-reactnative/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildless","download_url":"https://codeload.github.com/buildless/sample-turbo-reactnative/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223952423,"owners_count":17230878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","build-cache","buildcache","buildless","ios","react-native","remote-build-cache","sccache","turbo","turborepo","typescript"],"created_at":"2024-11-10T12:29:58.902Z","updated_at":"2024-11-10T12:29:59.340Z","avatar_url":"https://github.com/buildless.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# turborepo + react native sample\n\n[Buildless][1], [Pkgst][8], [Turbo][2], and [React Native][3] with [sccache][4].\n\n\u003e See [a video preview][13] of this sample on the command line\n\n| Uncached build (**22 seconds**) | Cached build (**1.5 seconds**) |\n| -------------- | ------------ |\n| \u003cimg src=\"docs/build-cli-clean.png\" alt=\"Clean build\" /\u003e | \u003cimg src=\"docs/build-cli-repeat.png\" alt=\"Cached build\"\u003e |\n\n\n## Details about this sample\n\nTogether, these tools provide a unified cross-platform development environment, enabled with blazing-fast remote build caching. Turbo handles build caching for the web portion of the app. `sccache` kicks in for Swift builds.\n\n\n### Additional resources\n\n- [Buildless docs: Turborepo setup][7]\n- [Swift docs: Using `sccache`][5]\n- [Turbo docs: Remote caching][9]\n\n\n## Trying the sample\n\n\u003e **Before you start:** Obtain an API key for [Buildless][1], set it at `BUILDLESS_APIKEY` in your environment\n\n1) Clone the sample, install dependencies with `pnpm i`\n2) Run a build with `pnpm run build`; observe that Turbo uses Buildless\n3) Set up [`sccache`][4], and [link it to your Swift toolchain][5], configure [caching with Redis][14]\n\nThat's it! Enjoy lightning-fast builds on all platforms 🔥\n\n\n### Building and running each app\n\n\u003e To run the web app:\n```\npnpm run dev\n```\n\n\u003e To run the iOS app:\n```\npnpm run ios\n```\n\n\u003e To run the Android app:\n```\npnpm run android\n```\n\n\n## Using the sample for your own codebase\n\nThis is a [GitHub Template repository][10]; you can easily use it to create your own repo. Follow these steps to customize it\nfor use with your Buildless account:\n\n1) Update `.github/CODEOWNERS`\n2) Add a [GitHub Secret][11] called `BUILDLESS_APIKEY`, set to the API key you want to use in CI\n3) That's it!\n\n\n### Sharing an API key across an organization\n\nYou can use [Organization Secrets][12] to automatically provide a `BUILDLESS_APIKEY` to all your repos.\n\n\n## Docs from the original template\n\nThis template is a fork of [a similar Vercel-provided template][6]. The original README docs from that template are enclosed below.\n\n### What's inside?\n\nThis Turborepo includes the following packages/apps:\n\n### Apps and Packages\n\n- `native`: a [react-native](https://reactnative.dev/) app built with [expo](https://docs.expo.dev/)\n- `web`: a [Next.js](https://nextjs.org/) app built with [react-native-web](https://necolas.github.io/react-native-web/)\n- `ui`: a stub [react-native](https://reactnative.dev/) component library shared by both `web` and `native` applications\n- `tsconfig`: `tsconfig.json`s used throughout the monorepo\n\nEach package/app is 100% [TypeScript](https://www.typescriptlang.org/).\n\n### Utilities\n\nThis Turborepo has some additional tools already setup for you:\n\n- [Expo](https://docs.expo.dev/) for native development\n- [TypeScript](https://www.typescriptlang.org/) for static type checking\n- [Prettier](https://prettier.io) for code formatting\n\n\n## Video preview\n\n[![asciicast](https://asciinema.org/a/608260.svg)](https://asciinema.org/a/608260)\n\n\n[1]: https://less.build\n[2]: https://turbo.build\n[3]: https://reactnative.dev\n[4]: https://github.com/mozilla/sccache\n[5]: https://github.com/apple/swift/blob/main/docs/DevelopmentTips.md#use-sccache-to-cache-build-artifacts\n[6]: https://vercel.com/templates/next.js/turborepo-react-native\n[7]: https://docs.less.build/docs/turborepo\n[8]: https://docs.less.build/docs/pkgst\n[9]: https://turbo.build/repo/docs/core-concepts/remote-caching\n[10]: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template\n[11]: https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions\n[12]: https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-an-organization\n[13]: https://asciinema.org/a/608260\n[14]: https://docs.less.build/docs/redis\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildless%2Fsample-turbo-reactnative","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildless%2Fsample-turbo-reactnative","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildless%2Fsample-turbo-reactnative/lists"}