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

Add the ability to easily share links to code snippets #23

Open
certik opened this issue Aug 17, 2022 · 0 comments
Open

Add the ability to easily share links to code snippets #23

certik opened this issue Aug 17, 2022 · 0 comments

Comments

@certik
Copy link
Contributor

certik commented Aug 17, 2022

One idea:

  • one has to upload the code somewhere (say a GitHub gist, or a github repository), so that one can download using wget
  • one goes to dev.lfortran.org and enters the link to the code, it downloads to your browser and runs as usual (locally)
  • Then one shares a short link such as https://dev.lfortran.org/snippet/XXX where XXX is base64 encoded link to the download

That way no server is required.

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