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
136 stars 40 forks source link

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

Open AdiRishi opened 4 months ago

AdiRishi commented 4 months ago

Idea

Reference UIs

Vercel Turbo docs

image

Vercel Insights

TODO Get photos

Turbocache.build

image

shunkakinoki commented 2 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 2 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 2 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 2 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