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

Support passing the code as a query param in the URL #182

Open
PIG208 opened this issue Oct 2, 2023 · 1 comment
Open

Support passing the code as a query param in the URL #182

PIG208 opened this issue Oct 2, 2023 · 1 comment

Comments

@PIG208
Copy link

PIG208 commented Oct 2, 2023

To quickly open the playground with some code, a useful feature would be passing the code text in the URL as a query parameter.

Let's say I have some python code:

num = 42
print(f"Hello {num}")

I can base64 encode this code-block programmatically, so that I can generate a link to the playground with all the code.

@raxod502
Copy link
Member

Yep, that makes sense. Just FYI, the build system for Riju has aged and it is not currently in a state where changes can be deployed, but as soon as I am able, I will be resolving that problem (which is actually a large horde of smaller problems) and making it possible to contribute again.

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

No branches or pull requests

2 participants