Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short sharable links #3

Open
rvcas opened this issue Aug 29, 2024 · 0 comments
Open

Short sharable links #3

rvcas opened this issue Aug 29, 2024 · 0 comments

Comments

@rvcas
Copy link
Member

rvcas commented Aug 29, 2024

The Problem

Currently, there is a limit to how much code can be in a share link because the the code is a brotli compressed base 64 encoded string in the query parameter.

The Solution

Since the playground is already on cloudflare, we can probably create a cloudflare worker, which uses KV to map a slug to brotli compressed bytes of code which can be loaded via fetch in the playground

We probably want to rate limit that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant