{"id":19413023,"url":"https://github.com/buildless/sample-turbo-nextjs","last_synced_at":"2026-01-06T22:51:15.812Z","repository":{"id":212726253,"uuid":"661492743","full_name":"buildless/sample-turbo-nextjs","owner":"buildless","description":"Sample codebase using Turbo, Next.js, and Buildless","archived":false,"fork":false,"pushed_at":"2024-07-18T05:07:54.000Z","size":358,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-10T12:41:39.290Z","etag":null,"topics":["build-cache","buildless","next-js","nextjs","remote-build-cache","turbo","turborepo","vercel"],"latest_commit_sha":null,"homepage":"https://docs.less.build/docs/turborepo","language":"CSS","has_issues":false,"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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-03T02:07:05.000Z","updated_at":"2023-12-15T20:57:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"07667e50-d3ce-45c1-b27c-26e17cb1dc91","html_url":"https://github.com/buildless/sample-turbo-nextjs","commit_stats":null,"previous_names":["buildless/sample-turbo-nextjs"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-turbo-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-turbo-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-turbo-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-turbo-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildless","download_url":"https://codeload.github.com/buildless/sample-turbo-nextjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232902856,"owners_count":18594353,"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":["build-cache","buildless","next-js","nextjs","remote-build-cache","turbo","turborepo","vercel"],"created_at":"2024-11-10T12:30:07.527Z","updated_at":"2026-01-06T22:51:15.769Z","avatar_url":"https://github.com/buildless.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buildless for TurboRepo\n\nThis is a [Buildless](https://less.build)-enhanced [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app), using the TurboRepo support provided by [Buildless](https://less.build) for remote caching.\n\n## Getting Started\n\nAfter installing dependencies, you can use the `turbo` (`npx turbo`) command to run your tasks, and they will be automatically stored in the remote cache:\n\n```bash\n# Link the project to enable remote caching, note that the API endpoint is different than for builds\nnpx turbo link --api=\"https://turbo.less.build\" --token=\"$BUILDLESS_API_KEY\"\n\n# Run the 'build' script for the first time\nnpx turbo build --api=\"https://turbo.less.build/cache/turbo\" --token=\"$BUILDLESS_API_KEY\" --team=\"my-team\"\n```\n\nIf we run the task again, it will be fetched from the local cache:\n\n```bash \n# clear the Next.js outputs\nrm -fr ./.next\n\n# run the cached task\nnpx turbo build --api=\"https://turbo.less.build/cache/turbo\" --token=\"$BUILDLESS_API_KEY\" --team=\"my-team\"\n\u003e  Tasks:   1 successful, 1 total\n\u003e Cached:   1 cached, 1 total\n\u003e   Time:   14ms \u003e\u003e\u003e FULL TURBO\n```\n\nTo see Buildless in action, delete the local cache and re-run the build:\n\n```bash\n# clear the Next.js outputs and the local Turbo cache\nrm -fr ./.next\nrm -fr ./node_modules/.cache/turbo\n\n# run the cached task, it will be fetched from Buildless!\nnpx turbo build --api=\"https://api.less.build/cache/turbo\" --token=\"$BUILDLESS_API_KEY\" --team=\"my-team\"\n\u003e  Tasks:   1 successful, 1 total\n\u003e Cached:   1 cached, 1 total\n\u003e   Time:   63ms \u003e\u003e\u003e FULL TURBO\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildless%2Fsample-turbo-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildless%2Fsample-turbo-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildless%2Fsample-turbo-nextjs/lists"}