AdiRishi / turborepo-remote-cache-cloudflare

An implementation of the turborepo-remote-cache server custom made for Cloudflare Workers
https://adirishi.github.io/turborepo-remote-cache-cloudflare/
MIT License
144 stars 44 forks source link

[Feature]: Add a UI element to this project #537

Open AdiRishi opened 5 months ago

AdiRishi commented 5 months ago

Idea

Reference UIs

Vercel Turbo docs

image

Vercel Insights

TODO Get photos

Turbocache.build

image

shunkakinoki commented 3 months ago

This will be awesome to see!!

Btw, does this method support running on Vercel?

Having issues getting it run on Vercel here

AdiRishi commented 3 months ago

Btw, does this method support running on Vercel?

@shunkakinoki I'm not entirely sure what you mean by this. Are you trying to run this remote cache server on Vercel? If so, that won't work, this is designed to run specifically on Cloudflare workers. The data stores we use (R2 and KV) are Cloudflare products.

Did I misunderstand your question?

shunkakinoki commented 3 months ago

Oh sorry @AdiRishi

I meant to enable the remote cache on Vercel builds. Followed your instructions but vercel seems to inject their own teamId overwriting the specified env TURBO_TEAM, disabling access to the cloudflare cache

AdiRishi commented 3 months ago

Ahh I see, I've never tried this on Vercel builds, I'll spend some time investigating this weekend 👍 Since that is unrelated to this UI feature task, I'm making a new bug report - https://github.com/AdiRishi/turborepo-remote-cache-cloudflare/issues/651, will post updates there @shunkakinoki