{"id":19733584,"url":"https://github.com/zwave-js/turborepo-cache","last_synced_at":"2026-06-12T17:33:35.604Z","repository":{"id":102993713,"uuid":"535410370","full_name":"zwave-js/turborepo-cache","owner":"zwave-js","description":"Self-hosted Turborepo cache based on Cloudflare KV","archived":false,"fork":false,"pushed_at":"2023-02-04T16:42:03.000Z","size":1207,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T04:08:00.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zwave-js.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["zwave-js"],"patreon":null,"open_collective":"z-wave-js","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-09-11T19:55:52.000Z","updated_at":"2022-09-11T20:44:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c774ce3-3ab5-4c50-a43b-5ced5957c8b4","html_url":"https://github.com/zwave-js/turborepo-cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zwave-js/turborepo-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwave-js%2Fturborepo-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwave-js%2Fturborepo-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwave-js%2Fturborepo-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwave-js%2Fturborepo-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zwave-js","download_url":"https://codeload.github.com/zwave-js/turborepo-cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwave-js%2Fturborepo-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34256180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-12T00:31:59.853Z","updated_at":"2026-06-12T17:33:35.587Z","avatar_url":"https://github.com/zwave-js.png","language":"JavaScript","funding_links":["https://github.com/sponsors/zwave-js","https://opencollective.com/z-wave-js"],"categories":[],"sub_categories":[],"readme":"# turborepo-cache\n\nSelf-hosted remote Turborepo cache for Cloudflare Workers.\n\n## Usage\n\n1. Set up a Cloudflare account\n1. Clone this repo\n1. Create a Github Actions Secret `CLOUDFLARE_ACCOUNT_ID` and set it to your Cloudflare account ID\n1. Create an access token in Cloudflare and store it as the Github Actions Secret `CLOUDFLARE_API_TOKEN`\n1. Run `yarn`\n1. Run `yarn wrangler login` to authenticate\n1. Run `yarn wrangler kv:namespace create \"TURBO_CACHE\"` to create a KV namespace, and replace this line in `wrangler.toml`\n    ```toml\n    { binding = \"TURBO_CACHE\", id = \"fe734ad580ec407f9fec0aeba92d0407\" }\n    ```\n    with what the previous command tells you to.\n1. Generate a secret value to authenticate your requests. You can use this command for example:\n    ```\n    node -p 'require(\"crypto\").randomBytes(32).toString(\"hex\")'\n    ```\n1. Store this value as a secret in your Cloudflare Account:\n    ```\n    wrangler secret put SECRET_TOKEN\n    ```\n    and paste it when asked to.\n1. Store the same value as an Github Actions secret `TURBO_CACHE_TOKEN` in the repo you want to use Turborepo Remote Caching in.\n1. Store the address of your worker as another secret `TURBO_CACHE_SERVER` in the same repo.\n1. Configure an env variable in your workflows:\n    ```yml\n    env:\n    TURBO_FLAGS: \"--api=${{ secrets.TURBO_CACHE_SERVER }} --token=${{ secrets.TURBO_CACHE_TOKEN }} --team=\u003cyour-team-name\u003e\"\n    ```\n    and append it to every command that uses Turborepo, e.g.\n    ```yml\n    - name: Compile TypeScript code\n      run: yarn build $TURBO_FLAGS\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwave-js%2Fturborepo-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzwave-js%2Fturborepo-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwave-js%2Fturborepo-cache/lists"}