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

Document how to load code in the editor #3

Open
ISSOtm opened this issue May 25, 2021 · 4 comments
Open

Document how to load code in the editor #3

ISSOtm opened this issue May 25, 2021 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@ISSOtm
Copy link
Member

ISSOtm commented May 25, 2021

Apparently you can pass URLs to text files, and I think base64 is an option too? Can this be documented in the README, so that it's easier to use rgbds-live externally & programmatically?

@avivace
Copy link
Member

avivace commented Sep 13, 2023

I agree. RGBDS live already supports loading fileds from URLs (github gists)

Relevant part of the code: https://github.com/gbdev/rgbds-live/blob/master/www/js/storage.js#L32

@Rangi42 Rangi42 added the documentation Improvements or additions to documentation label Sep 19, 2024
@SelvinPL
Copy link
Contributor

SelvinPL commented Sep 24, 2024

there are 3 options

  • #https://gist.github.com/.... load all files from gist example
  • #https://link/to/file/... loads single file as main.asm example
  • #LZString.compressToEncodedURIComponent - loads hash as compressed LZString and decompress usingLZString,decompressFromEncodedURIComponent example

@avivace
Copy link
Member

avivace commented Sep 24, 2024

Should we have a mini rgbds-live website? or put this in some kind of help dialog?

@SelvinPL
Copy link
Contributor

maybe redesign about menu to show a dialog with tabs like info uses help

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

No branches or pull requests

4 participants